GHQ                  package:HSAUR                  R Documentation

_G_e_n_e_r_a_l _H_e_a_l_t_h _Q_u_e_s_t_i_o_n_n_a_i_r_e

_D_e_s_c_r_i_p_t_i_o_n:

     Data from an psychiatric screening questionnaire

_U_s_a_g_e:

     data("GHQ")

_F_o_r_m_a_t:

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

     '_G_H_Q' the General Health Questionnaire score.

     '_s_e_x' a factor with levels 'female' and 'male'

     '_c_a_s_e_s' the number of diseased subjects.

     '_n_o_n._c_a_s_e_s' the number of healthy subjects.

_D_e_t_a_i_l_s:

     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.

_S_o_u_r_c_e:

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

_E_x_a_m_p_l_e_s:

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

