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).
data(heart)
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.
For more details on this data see Edwards & Havranek (1985).
For details on the function bcct
applied to this data, see Overstall
& King (2014).
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/
# NOT RUN {
data(heart)
summary(heart)
# }
Run the code above in your browser using DataLab