The simple Wald type interval with continuity corrections for multinomial proportions which is symmetrical about the sample proportions.

scimp_waldcc(inpmat, alpha)

Arguments

inpmat

the cell counts of given contingency tables corresponding to categorical data

alpha

a number in [0..1] to get the upper 100(1-alpha) percentage point of the chi square distribution

Value

tibble with original and adjusted limits of multinomial proportions together with product of length of k intervals as volume of simultaneous confidence intervals

Examples

y <- c(44, 55, 43, 32, 67, 78)
z <- 0.05
scimp_waldcc(y, z)