Learn R Programming

ACSWR (version 1.0)

depression: The Hamilton Depression Scale Factor

Description

Hamilton depression scale factor IV is a measurement of mixed anxiety and depression and it is named after its inventor. In a double-blind experiment, this scale factor is obtained for 9 patients on their entry in a study, denoted by X. Post a tranquilizer T, the scale factor IV is again obtained for the same set of patients, which is denoted by Y. Here, an improvement due to tranquilizer T corresponds to a reduction in factor IV values.

Usage

data(depression)

Arguments

Format

A data frame with 9 observations on the following 3 variables.
Patient_No
Patient ID
X
measurement of depression at entry in a study
Y
measurement of depression post a tranquilizer

References

Sheshkin, D. J. (1997-2011). Handbook of Parametric and Nonparametric Statistical Procedures, 5e. Chapman and Hall/CRC.

Examples

Run this code
data(depression)
attach(depression)
names(depression)
wilcox.test(Y-X, alternative = "less")
wilcox.test(Y-X, alternative = "less",exact=FALSE,correct=FALSE)

Run the code above in your browser using DataLab