binciWu: Upper binomial confidence limit

View source: R/brkdnNest.R

binciWuR Documentation

Upper binomial confidence limit

Description

Returns the upper binomial confidence limit using the Wilson approximation.

Usage

 binciWu(x,n,alpha=0.05,trueval=TRUE,na.rm=TRUE)

Arguments

x

The number of successes or failures for which the CI is to be calculated.

n

The number of trials as above.

alpha

The desired coverage - 0.05 produces 95 percent coverage

trueval

The value representing the outcome of interest for the CI.

na.rm

Argument needed to make this work

Details

⁠binciWu⁠’ now calls ‘⁠binciW⁠’ and returns the upper limit.

Value

The upper binomial confidence interval

Author(s)

Jim Lemon

See Also

binciWl

Examples

 binciWl(c(rep(5,TRUE),rep(37,FALSE)))

plotrix/plotrix documentation built on Feb. 19, 2024, 8:16 a.m.