Learn R Programming

conting (version 1.7)

AOH: Alcohol, Obesity and Hypertension: A Complete 4 * 3 * 2 Table

Description

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.

Usage

data(AOH)

Arguments

Format

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.

Details

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).

References

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/

Examples

Run this code
# NOT RUN {
data(AOH)
summary(AOH)
# }

Run the code above in your browser using DataLab