Description Usage Arguments References Examples
View source: R/Wilson_score_CI_CC_1x2.R
Described in Chapter 2 "The 1x2 Table and the Binomial Distribution"
1 | Wilson_score_CI_CC_1x2(X, n, alpha = 0.05, printresults = TRUE)
|
X |
the number of successes |
n |
the total number of observations |
alpha |
the nominal level, e.g. 0.05 for 95% CIs |
printresults |
display results (0 = no, 1 = yes) |
Reference Wilson EB (1927) Probable inference, the law of succession, and statistical inference. Journal of the American Statistical Association; 22209-212
1 2 3 4 5 6 7 8 9 10 11 12 | load_chapter(2)
# The number of 1st order male births (Singh et al. 2010)
Wilson_score_CI_CC_1x2(X=250, n=533)
# The number of 2nd order male births (Singh et al. 2010)
Wilson_score_CI_CC_1x2(X=204, n=412)
# The number of 3rd order male births (Singh et al. 2010)
Wilson_score_CI_CC_1x2(X=103, n=167)
# The number of 4th order male births (Singh et al. 2010)
Wilson_score_CI_CC_1x2(X=33, n=45)
# Ligarden et al. (2010)
Wilson_score_CI_CC_1x2(X=13, n=16)
unload_chapter(2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.