| h_prop_diff_test | R Documentation | 
Helper functions to implement various tests on the difference between two proportions.
prop_chisq(tbl)
prop_cmh(ary)
prop_schouten(tbl)
prop_fisher(tbl)
| tbl | ( | 
| ary | ( | 
A p-value.
prop_chisq(): Performs Chi-Squared test. Internally calls stats::prop.test().
prop_cmh(): Performs stratified Cochran-Mantel-Haenszel test. Internally calls
stats::mantelhaen.test(). Note that strata with less than two observations are automatically discarded.
prop_schouten(): Performs the Chi-Squared test with Schouten correction.
prop_fisher(): Performs the Fisher's exact test. Internally calls stats::fisher.test().
prop_diff_test() for implementation of these helper functions.
Schouten correction is based upon \insertCiteSchouten1980-kd;textualtern.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.