ScoreCI: Score Confidence Interval for a Proportion or a Binomial...

View source: R/ScoreCI.R

ScoreCIR Documentation

Score Confidence Interval for a Proportion or a Binomial Distribution

Description

Score confidence of a proportion in one group

Usage

  ScoreCI(y, n, conf.level=0.95)

Arguments

y

positive event count of a group

n

total count of a group

conf.level

confidence level

Details

It calculates score confidence interval of a proportion in one group. The confidence interval is asymmetric and there is no standard error in the output. If you need percent scale, multiply the output by 100.

Value

The result is a data.frame. There is no standard error.

PE

point estimation for the proportion

Lower

lower confidence limit of Prop

Upper

upper confidence limit of Prop

Author(s)

Kyun-Seop Bae k@acr.kr

See Also

binom.test, prop.test

Examples

  ScoreCI(104, 11037)

sasLM documentation built on Oct. 2, 2024, 9:06 a.m.