depression: longitudinal study of mental depression

Description Usage Format References Examples

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

1

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

1

Example output



hmmm documentation built on May 2, 2019, 12:27 p.m.