Description Usage Arguments Value Author(s) References Examples
Calculates exact and approximate confidence intervals for the proportion of a desired category level.
1 | ci.prop(x, n, a)
|
x |
a numeric value which denotes the frequency of the desired category. |
n |
a numeric value which denotes the sample size. |
a |
a numeric value which denotes the significance level. |
Returns a matrix output which includes both the exact and approximate confidence intervals.
Ozlem Ilk, Ozgur Asar
Ilk, O. (2011). R Yazilimina Giris [Introduction to R Language]. ODTU Yayincilik [METU Press].
1 | ci.prop(50,100,0.05)
|
Lower Bound Upper Bound
Exact CI 0.3983211 0.6016789
Approximate CI 0.4020018 0.5979982
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.