Description Usage Format Details Source References Examples
491 subjects are cross-classified according to the three factors: hypertension (hyp
; 2 levels),
obesity (obe
; 3 levels) and alcohol (alc
; 4 levels). There are a total of 24 cells in the
table.
1 |
A "data.frame"
with 24 observations on the following 4 variables.
y
Counts in each cell of table.
alc
A factor with levels 0
1-2
3-5
6+
indicating the classification of alcohol intake of drinks per day.
obe
A factor with levels low
average
high
indicating the classification of obesity.
hyp
A factor with levels yes
no
indicating the classification of hypertension.
These data are from a study in Western Australia. The study copied a larger study from USA. See Knuiman & Speed (1988) for more details.
For details on the function bcct
applied to these data, see Overstall & King (2014).
Knuiman, M.W. & Speed, T.P. (1988) Incorporating Prior Information into the Analysis of Contingency Tables. Biometrics, 44 (4), 1061–1071.
Overstall, A.M. & King, R. (2014) conting: An R package for Bayesian analysis of complete and incomplete contingency tables. Journal of Statistical Software, 58 (7), 1–27. http://www.jstatsoft.org/v58/i07/
1 2 |
y alc obe hyp
Min. : 5.00 0 :6 low :8 yes:12
1st Qu.: 9.75 1-2:6 average:8 no :12
Median :21.00 3-5:6 high :8
Mean :20.46 6+ :6
3rd Qu.:29.25
Max. :40.00
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.