R/scimple.r
scimple_ci.Rd
Return simultaneous confidence intervals for multinomial proportions based on selected methods.
scimple_ci( inpmat, alpha, methods = c("fs", "goodman", "qh", "sg", "wald", "waldcc", "wilson") )
inpmat | the cell counts of given contingency tables corresponding to categorical data |
---|---|
alpha | a number in |
methods | character vector of one or more methods to run over the input parameters |
tibble
with original and adjusted limits of multinomial proportions together with
product of length of k intervals as volume of simultaneous confidence intervals.
The inputmat
and alpha
values are also returned in the tibble
.
y <- c(44,55,43,32,67,78) z <- 0.05 scimple_ci(y, z) scimple_ci(y, z, c("goodman", "waldcc", "wilson"))