Learn R Programming

ClusterBootstrap (version 1.1.2)

medication: Medication data

Description

The medication dataframe consists of 1242 observations within 73 individuals that were part of a placebo controlled clinical trial, as reported in Tomarken, Shelton, Elkins, and Anderson (1997).

The data were retrieved from the accompanied website of Singer & Willett (2003), at https://stats.idre.ucla.edu/other/examples/alda/.

Usage

medication

Arguments

Format

the following variables are available:

  • id: subject indicator

  • treat: either placebo (0) or antidepressant (1)

  • time: number of days since trial start.

  • pos: positive affect. Higher scores indicate a more positive mood.

References

  • Singer, J.D., & Willett, J.B. (2003). Applied longitudinal data analysis. Modeling change and event occurence. NY: Oxford University Press, Inc.

  • Tomarken, A.J., Shelton, R.C., Elkins, L., & Anderson, T (1997). Sleep deprivation and anti-depressant medication: Unique effects on positive and negative affect. Poster session presented at the 9th annual meeting of the American Psychological Society, Washington, DC.