GHQ: General Health Questionnaire

Description Usage Format Details Source Examples

Description

Data from an psychiatric screening questionnaire

Usage

1
data("GHQ")

Format

A data frame with 22 observations on the following 4 variables.

GHQ

the General Health Questionnaire score.

gender

a factor with levels female and male

cases

the number of diseased subjects.

non.cases

the number of healthy subjects.

Details

The 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.

Source

D. Goldberg (1972). The Detection of Psychiatric Illness by Questionnaire, Oxford University Press, Oxford, UK.

Examples

1
2
3
4
5
6
  data("GHQ", package = "HSAUR3")
  male <- subset(GHQ, gender == "male")
  female <- subset(GHQ, gender == "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")


Search within the HSAUR3 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.