Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

depression

Treatment for severe postnatal depression


Description

These data arose from a study on the efficacy of oestrogen give transdermally for treatment of severe postnatal depression. Women with major depression were randomly assigned to either a placebo control group or estrogen patch group. Prior to the first treatment all women were assessed by self-ratings of depressive symptoms on the Edinburgh Postnatal Depression Scale (EPDS). The data on EPDS were collected monthly for six months once the treatment began. Higher scores on the EDPS are indicative of higher levels of depression.

Usage

data(depression)

Format

A data frame with 427 rows and 5 variables:

subj

a numeric vector giving the identifier of each woman .

group

a factor giving the received treatment: "placebo" or "estrogen".

visit

a numeric vector giving the number of months since the treatment began, where -1 indicates the pretreatment assessment of the EDPS.

dep

a numeric vector giving the value of the EDPS.

depressd

a numeric vector coded as 1 when the value of the EDPS is greater than or equal to 11 and coded as 0 in other cases.

Source

References

Gregoire A.J.P., Kumar R., Everitt B., Henderson A.F. and Studd J.W.W. (1996) Transdermal oestrogen for treatment of severe postnatal depression, The Lancet 347, 930-933.

Examples

boxplot(dep ~ visit, data=subset(depression,group=="placebo"), at=c(0:6)-0.2,
         col="yellow", boxwex=0.25, outline=FALSE, xaxt="n", ylab="EDPS",
         xlab="Months since the treatment began", ylim=range(na.omit(depression$dep)))
 boxplot(dep ~ visit, data=subset(depression,group=="estrogen"), add=TRUE,
         at=c(0:6)+0.2, col="blue", boxwex=0.25, outline=FALSE, xaxt="n")
 axis(1, at=0:6, labels=c(-1,1:6))
 legend(-1, 15, legend=c("placebo","estrogen"), col=c("yellow","blue"),
        pch=15, bty="n", cex=0.9, title.adj=0.2, y.intersp=0.1, x.intersp=0.3)

glmtoolbox

Set of Tools to Data Analysis using Generalized Linear Models

v0.1.0
GPL-2 | GPL-3
Authors
Luis Hernando Vanegas [aut, cre], Luz Marina Rondón [aut], Gilberto A. Paula [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.