bms | R Documentation |
These data were analyzed by Goodman (1979) and concern the cross-classification of a sample of fathers and their sons according to the occupational status.
data(bms)
A data frame with 49 observations and 3 variables.
fathers
fathers'occupational status. A factor with levels from 1 to 7.
sons
sons'occupational status. A factor with levels from 1 to 7.
freq
a vector of integers representing the number of people cross-classified according to the occupational status of fathers
and sons
Goodman, L. A. (1979). Simple models for the analysis of
cross-classications having ordered categories. Journal of the
American Statistical Association, 74(367), 537-552.
data(bms)
xtabs(freq ~ fathers + sons, data=bms)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.