scimp_goodman: Goodman Confidence Interval

Description Usage Arguments Value Author(s) References Examples

View source: R/goodman.r

Description

The simultaneous confidence interval for multinomial proportions based on the method proposed in Goodman (1965)

Usage

1
scimp_goodman(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

Author(s)

Dr M Subbiah

References

Goodman, L.A. (1965). On Simultaneous Confidence Intervals for Multinomial Proportions. Technometrics 7: 247-254.

Examples

1
2
3
y <- c(44, 55, 43, 32, 67, 78)
z <- 0.05
scimp_goodman(y, z)

hrbrmstr/scimple documentation built on April 9, 2020, 9:57 p.m.