R/Peto_homogeneity_test_stratified_2x2.R
Peto_homogeneity_test_stratified_2x2.Rd
The Peto test for homogeneity of odds ratios over strata
Described in Chapter 10 "Stratified 2x2 Tables and Meta-Analysis"
Peto_homogeneity_test_stratified_2x2(n)
# Smoking and lung cancer (Doll and Hill, 1950)
Peto_homogeneity_test_stratified_2x2(doll_hill_1950)
#> The Peto test: P = 0.09297, T0 = 2.822 (df = 1)
# Prophylactice use of Lidocaine in myocardial infarction (Hine et al., 1989)
Peto_homogeneity_test_stratified_2x2(hine_1989)
#> The Peto test: P = 0.92288, T0 = 1.413 (df = 5)