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

GHQ

General Health Questionnaire


Description

Data from an psychiatric screening questionnaire

Usage

data("GHQ")

Format

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

GHQ

the General Health Questionnaire score.

sex

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

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")

HSAUR

A Handbook of Statistical Analyses Using R (1st Edition)

v1.3-10
GPL
Authors
Brian S. Everitt and Torsten Hothorn
Initial release
2022-04-25

We don't support your browser anymore

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