medication {confintROB} | R Documentation |
The medication data set
Description
Often used for didactic purposes (Singer & Willett, 2003), and originally discussed in Tomarken, Shelton, Elkins, and Anderson (1997). During seven days, three times a day (from time = 0 to time = 6.667), a sample of n = 64 adults (identified by the variable id) were randomly assigned to either a treatment group (treat=1) or a control group (treat=0) and were required to report their mood (pos).
Usage
data(medication)
Format
'medication' a data.frame with 5 columns and 1242 rows:
- obs
row number
- id
participant number
- treat
treatment assignment, 1= treatment; 0= control
- time
time from 0 to 6.667, with increments of 0.333
- pos
the positive mood score
References
Tomarken, A. J., Shelton, R. C., Elkins, L., & Anderson, T. (1997). Sleep deprivation and anti-depressant medication: unique effects on positive and negative affect. In American Psychological Society Meeting, Washington, DC.