depression {hmmm}R Documentation

longitudinal study of mental depression

Description

A longitudinal study comparing a new drug with a standard drug for treatment of 340 subjects suffering mental depression (Koch et al., 1977, Agresti, 2013). The patients are classified according to the severity of the initial diagnosis (mild and severe), the treatment type they received (standard and new drugs) and the responses on the depression assessment (normal and abnormal) at three occasions: after one week (R1), two (R2), and four weeks (R3) of treatment.

Usage

data(depression)

Format

A data frame whose columns contain:

R3

A factor with levels: N as normal, A as abnormal

R2

A factor with levels: N as normal, A as abnormal

R1

A factor with levels: N as normal, A as abnormal

Treatment

A factor with levels: standard, new drug

Diagnosis

A factor with levels: mild, severe

Freq

A numeric vector of frequencies

References

Agresti A (2013) Categorical Data Analysis (third edition). Wiley.

Koch GG, Landis JR, Freeman JL, Freeman DH and Lehnen RG (1977) A general metodology for the analysis of experiments with repeated measurement of categorical data. Biometrics, 38, 563-595.

Examples

data(depression)

[Package hmmm version 1.0-5 Index]