An example data set with an outcome and a grouping variable. The variables are as follows:

old_data

Format

A data frame with 9 rows and 3 variables:

outcome

An outcome of interest

year

Year the data was "collected"

group

The group associated with the outcome