| GHQ {HSAUR} | R Documentation |
Data from an psychiatric screening questionnaire
data("GHQ")
A data frame with 22 observations on the following 4 variables.
GHQsexfemale and malecasesnon.casesThe data arise from a study of a psychiatric screening questionnaire called the GHQ (General Health Questionnaire, see Goldberg, 1972). Here the main question of interest is to see how caseness is related to gender and GHQ score.
D. Goldberg (1972). The Detection of Psychiatric Illness by Questionnaire, Oxford University Press, Oxford, UK.
data("GHQ", package = "HSAUR")
male <- subset(GHQ, sex == "male")
female <- subset(GHQ, sex == "female")
layout(matrix(1:2, ncol = 2))
barplot(t(as.matrix(male[,c("cases", "non.cases")])), main = "Male", xlab = "GHC score")
barplot(t(as.matrix(male[,c("cases", "non.cases")])), main = "Female", xlab = "GHC score")