| seizure {cold} | R Documentation |
Epileptic Seizure
Description
The dataset has the number of epileptic seizures in each of four two-week intervals, and in a baseline eight-week interval, for treatment and control groups with a total of 59 individuals.
Usage
data(seizure)
Format
A data frame with 236 observations on the following 9 variables.
ididentifies de number of the individual profile. This vector contains observations of 59 individual profiles.
ya numeric vector with the number of epileptic seizures in the four two-weeks intervals observed.
v4a numeric vector indicating the fourth visit.
timea numeric vector that identifies the number of the time points observed.
trta numeric vector indicator of treatment, whether the patient is treated with placebo (
trt=0) or progabide (trt=1)
.
basethe number of epileptic seizures in a baseline 8-week interval.
agea numeric vector of subject
age.lbaserecode the variable
baseby log(base/4).lagerecode the variable
ageby log(age).
Source
Thall, P.F., and Vail, S.C. (1990). Some covariance models for longitudinal count data with overdispersion. Biometrics, 46, 657–671.
References
Diggle, P.J., Heagerty, P., Liang, K.Y., and Zeger, S.L. (2002). Analysis of Longitudinal Data. 2nd edition. Oxford University Press.
Examples
##### data = seizure
str(seizure)
### independence
seiz0M <- cold(y ~ lage + lbase + v4 + trt + trt:lbase, data = seizure,
dependence = "ind")
summary(seiz0M)
### AR1
seiz1M <- cold(y ~ lage + lbase + v4 + trt + trt:lbase, data = seizure,
dependence = "AR1")
summary(seiz1M)
anova(seiz0M, seiz1M)