Data are the self esteem score of 12 individuals enrolled in 2 successive short-term trials (4 weeks) - control (placebo) and special diet trials.

The self esteem score was recorded at three time points: at the beginning (t1), midway (t2) and at the end (t3) of the trials.

The same 12 participants are enrolled in the two different trials with enough time between trials.

Two-way repeated measures ANOVA can be performed in order to determine whether there is interaction between time and treatment on the self esteem score.

This data set was converted from the selfesteem2 data taken from the datarium R package.

data("selfesteem2_long")

Format

A data frame with 72 rows and 4 columns.

id

Unique ID of the person

treatment

Binary variable indicating the treatment condition: Diet or ctr.

time

A categorical variable indicating the time of measurement: beginning (t1), midway (t2) and at the end (t3)

score

Self-esteem score

Examples

data(selfesteem2_long)
selfesteem2_long
#> # A tibble: 72 × 4
#>    id    treatment time  score
#>    <fct> <fct>     <chr> <dbl>
#>  1 1     ctr       t1       83
#>  2 1     ctr       t2       77
#>  3 1     ctr       t3       69
#>  4 2     ctr       t1       97
#>  5 2     ctr       t2       95
#>  6 2     ctr       t3       88
#>  7 3     ctr       t1       93
#>  8 3     ctr       t2       92
#>  9 3     ctr       t3       89
#> 10 4     ctr       t1       92
#> # … with 62 more rows