R Dataset / Package HSAUR / GHQ


On this Picostat.com statistics page, you will find information about the GHQ data set which pertains to General Health Questionnaire . The GHQ data set is found in the HSAUR R package. You can load the GHQ data set in R by issuing the following command at the console data("GHQ"). This will load the data into a variable called GHQ. If R says the GHQ data set is not found, you can try installing the package by issuing this command install.packages("HSAUR") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the GHQ R data set. The size of this file is about 347 bytes.

General Health Questionnaire


Data from an psychiatric screening questionnaire




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


the General Health Questionnaire score.


a factor with levels female and male


the number of diseased subjects.


the number of healthy subjects.


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.


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

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-34466.csv 347 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0