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

Description Usage Format Details Source References Examples

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

1

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

1
2

Example output

       y            A        B        C        D        E        F     
 Min.   :  0.00   yes:32   yes:32   yes:32   yes:32   yes:32   yes:32  
 1st Qu.:  7.00   no :32   no :32   no :32   no :32   no :32   no :32  
 Median : 14.00                                                        
 Mean   : 28.77                                                        
 3rd Qu.: 41.00                                                        
 Max.   :145.00                                                        

conting documentation built on May 1, 2019, 8:47 p.m.