Data from Petersen (1968) about the job satisfaction of 715 blue collar workers, selected from Danish Industry in 1968.

data("JobSatisfaction")

Format

A data frame with 8 observations and 4 variables.

Freq

frequency.

management

factor indicating quality of management (bad, good).

supervisor

factor indicating supervisor's job satisfaction (low, high).

own

factor indicating worker's own job satisfaction (low, high).

References

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.

Source

E. B. Andersen (1991), The Statistical Analysis of Categorical Data, Table 5.4.

Examples

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 
#>