Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

heart

Risk Factors for Coronary Heart Disease: A Complete 2^6 Table


Description

1841 men are cross-classified according to six risk factors for coronary heart disease: smoking (A; 2 levels), strenuous mental work (B; 2 levels), strenuous physical work (C; 2 levels), systolic blood pressure (D; 2 levels), ratio of alpha and beta lipoproteins (E; 2 levels) and family anamnesis of coronary heart disease (F; 2 levels).

Usage

data(heart)

Format

A "data.frame" with 64 observations on the following 7 variables.

y

Counts in each cell of table.

A

A factor with levels yes no indicating smoking status.

B

A factor with levels yes no indicating strenuous mental work.

C

A factor with levels yes no indicating strenuous physical work.

D

A factor with levels yes no indicating systolic blood pressure.

E

A factor with levels yes no indicating high ratio of alpha and beta lipoproteins.

F

A factor with levels yes no indicating a family anamnesis of coronary heart disease.

Details

For more details on this data see Edwards & Havranek (1985).

For details on the function bcct applied to this data, see Overstall & King (2014).

Source

Edwards, D. & Havranek, T. (1985) A fast procedure for model search in multidimensional contingency tables. Biometrika, 72 (2), 339–351.

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

data(heart)
summary(heart)

conting

Bayesian Analysis of Contingency Tables

v1.7
GPL-2
Authors
Antony M. Overstall
Initial release
2019-04-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.