job_satisfaction {CMHNPA} | R Documentation |
Job Satisfaction data
Description
Job satisfaction data based on income and gender.
Usage
data(job_satisfaction)
Format
A data frame with 104 rows and three columns.
- income
income level categorised
- satisfaction
the level of job satisfaction for the respondent
- gender
gender of the respondent
Details
The data relate job satisfaction and income in males and females. Gender induces two strata; the treatments are income with categories scored 3, 10, 20 and 35 while the response is job satisfaction with categories scored 1, 3, 4, and 5.
Source
Agresti (2003)
References
Agresti, A. (2003). Categorical Data Analysis. Hoboken: John Wiley & Sons.
Examples
attach(job_satisfaction)
a_ij = matrix(rep(c(3,10,20,35),2),nrow=4)
b_hj = matrix(rep(c(1,3,4,5),2),nrow=4)
unconditional_CMH(treatment = income, response = satisfaction,
strata = gender, U = 2, V = 2, a_ij = a_ij,
b_hj = b_hj)
[Package CMHNPA version 1.1.1 Index]