Learn R Programming

CoinMinD (version 1.2.1)

WALDCC: WALDCC: Wald Method with Continuity Correction for Simultaneous Confidence Intervals

Description

Computes Wald-type simultaneous confidence intervals for multinomial proportions, incorporating a continuity correction. These intervals are symmetric about the sample proportions and apply a small correction to improve coverage accuracy, particularly for small samples.

Usage

WALDCC(inpmat, alpha)

Value

Prints the original and adjusted confidence intervals for each category, along with the volume (product of interval widths).

Arguments

inpmat

Integer vector of observed cell counts corresponding to a categorical dataset. All values must be non-negative.

alpha

Desired statistical significance level

Author

Dr. M. Subbiah

Details

The correction term 1/2n ensures more accurate interval bounds, especially when the proportions are near 0 or 1.

References

Wald, A. (1943). *Tests of Statistical Hypotheses Concerning Several Parameters When the Number of Observations is Large.* Transactions of the American Mathematical Society, **54**, 426–482.

See Also

BMDE, WALD, SG

Examples

Run this code
y <- c(44, 55, 43, 32, 67, 78)
z <- 0.05
WALDCC(y, z)

Run the code above in your browser using DataLab