Last chance! 50% off unlimited learning
Sale ends in
Data on social mobility, recording the occupational category of fathers and their sons.
data(Mobility)
A 2-dimensional array resulting from cross-tabulating 2 variables for 19912 observations. The variable names and their levels are:
No | Name | Levels |
1 | Son's_Occupation}\tab \code{"UpNonMan", "LoNonMan", "UpManual", "LoManual", "Farm"}\cr
2\tab \code{Father's_Occupation | "UpNonMan", "LoNonMan", "UpManual", "LoManual", "Farm" |
Glass
,
Hauser79
,
Yamaguchi87
for other examples of mobility data.
data(Mobility)
Mobility
# independence model
MASS::loglm(~Father_Occupation + Son_Occupation, data = Mobility)
vcd::mosaic(Mobility, shade=TRUE, legend = FALSE)
Run the code above in your browser using DataLab