JobSatisfaction.RdData from Petersen (1968) about the job satisfaction of 715 blue collar workers, selected from Danish Industry in 1968.
data("JobSatisfaction")A data frame with 8 observations and 4 variables.
frequency.
factor indicating quality of management (bad, good).
factor indicating supervisor's job satisfaction (low, high).
factor indicating worker's own job satisfaction (low, high).
E. B. Andersen (1991), The Statistical Analysis of Categorical Data. 2nd edition. Springer-Verlag, Berlin.
E. Petersen (1968), Job Satisfaction in Denmark. (In Danish). Mentalhygiejnisk Forlag, Copenhagen.
E. B. Andersen (1991), The Statistical Analysis of Categorical Data, Table 5.4.
data("JobSatisfaction")
structable(~ ., data = JobSatisfaction)
#> supervisor low high
#> management own
#> bad low 103 32
#> high 87 42
#> good low 59 78
#> high 109 205
mantelhaen.test(xtabs(Freq ~ own + supervisor + management,
data = JobSatisfaction))
#>
#> Mantel-Haenszel chi-squared test with continuity correction
#>
#> data: xtabs(Freq ~ own + supervisor + management, data = JobSatisfaction)
#> Mantel-Haenszel X-squared = 4.9602, df = 1, p-value = 0.02594
#> alternative hypothesis: true common odds ratio is not equal to 1
#> 95 percent confidence interval:
#> 1.060007 2.037733
#> sample estimates:
#> common odds ratio
#> 1.469698
#>