Description Usage Format Details Source Examples
This data set is a contingency table of job satisfaction by income for a small sample of black males from the 1996 General Social Survey, as used by Agresti (2002) for an example.
1 |
A 4 x 4 contingency table of income
by satisfaction
, with the following structure:
1 2 3 4 |
Both income
and satisfaction
are ordinal variables, and are so ordered in the
table. Measures of association, visualizations, and models should take ordinality into
account.
Agresti, A. Categorical Data Analysis John Wiley & Sons, 2002, Table 2.8, p. 57.
1 2 3 |
Loading required package: vcd
Loading required package: MASS
Loading required package: grid
Loading required package: colorspace
Loading required package: gnm
X^2 df P(> X^2)
Likelihood Ratio 6.7641 9 0.66167
Pearson 5.9655 9 0.74336
Phi-Coefficient : 0.249
Contingency Coeff.: 0.242
Cramer's V : 0.144
gamma : 0.221
std. error : 0.117
CI : -0.009 0.451
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.