ci.prop: A function to calculate exact and approximate confidence...

Description Usage Arguments Value Author(s) References Examples

Description

Calculates exact and approximate confidence intervals for the proportion of a desired category level.

Usage

1
ci.prop(x, n, a)

Arguments

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.

Value

Returns a matrix output which includes both the exact and approximate confidence intervals.

Author(s)

Ozlem Ilk, Ozgur Asar

References

Ilk, O. (2011). R Yazilimina Giris [Introduction to R Language]. ODTU Yayincilik [METU Press].

Examples

1
ci.prop(50,100,0.05)

Example output

               Lower Bound Upper Bound
Exact CI         0.3983211   0.6016789
Approximate CI   0.4020018   0.5979982

OOmisc documentation built on May 1, 2019, 10:17 p.m.

Related to ci.prop in OOmisc...