Learn R Programming

mosaic (version 0.6-2)

Depression: Clinical Depression and Recurrence

Description

In the study conducted by the National Institutes of Health, 109 clinically depressed patients were separated into three groups, and each group was given one of two active drugs (imipramine or lithium) or no drug at all. For each patient, the dataset contains the treatment used, the outcome of the treatment, and several other interesting characteristics.

Usage

data(Depression)

Arguments

format

A data frame with 109 observations on the following variables.

  • Hospt
{the hospital of patient, represented by a code for each of the 5 hospitals (1, 2, 3, 5, or 6)} Treat {the treatment received by the patient (0=Lithium, 1=Imipramine, or 2=Placebo)} Outcome {whether or not a recurrence occurred during the treatment of patient (0 = No Recurrence, 1 = Recurrence)} Time {either the time in days till the first recurrence, or if a recurrence did not occur, the length (in days) of the patient's participation in the study} AcuteT {the time (in days) that the patient was depressed prior to the study} Age {the age of the patient (in years), when the patient entered the study} Gender {the gender of patient (Female or Male)}

References

Part of the Carnegie Mellon University Online Learning Initiative datasets.

Examples

Run this code
favstats(Age ~ Gender, Depression)
tally(~ Outcome | Treat, Depression)

Run the code above in your browser using DataLab