Jump to content

Biostatistics with R/The Chi-Square Distribution and the Analysis of Frequencies

From Wikibooks, open books for an open world

Summary of Formulars with R

[edit | edit source]
Formular Number Name Formular Formular with R
12.2.1 Standard normal random variable Example Example
12.2.2 Chi-square distribution with n degrees of freedom Example Example
12.2.3 Chi-square probability density function Example Example
12.2.4 Chi-square test statistic Example Example
12.4.1 Chi-square calculation formula for a 2 Â 2 contingency table Example Example
12.4.2 Yates’s corrected chi-square calculation for a 2 Â 2 contingency table Example Example
12.6.1–12.6.2 Large-sample approximation to the chi-square Example Example
12.7.1 Relative risk estimate Example Example
12.7.2 Confidence interval for the relative risk estimate Example Example
12.7.3 Odds ratio estimate Example Example
12.7.4 Confidence interval for the odds ratio estimate Example Example
12.7.5 Expected frequency in the Mantel–Haenszel statistic Example Example
12.7.6 Stratum expected frequency in the Mantel–Haenszel statistic Example Example
12.7.7 Mantel–Haenszel test statistic Example Example
12.7.8 Mantel–Haenszel estimator of the common odds ratio Example Example
Example Example Example Example
Example Example Example Example
Symbol Key