GM: Confidence Interval - Goodman

Description Usage Arguments Value Author(s) References See Also Examples

Description

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

Usage

1
GM(inpmat, alpha)

Arguments

inpmat

inpmat refers to the cell counts of given contingency table corresponding to a categorical data

alpha

a number between 0 and 1 to get the upper 100(1-??) percentage point of the chi square distribution

Value

lower, upper 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.

See Also

BMDE,WALD,WS

Examples

1
2
3
y=c(44,55,43,32,67,78)
z=0.05
GM(y,z)

Example output

Loading required package: MCMCpack
Loading required package: coda
Loading required package: MASS
##
## Markov Chain Monte Carlo Package (MCMCpack)
## Copyright (C) 2003-2017 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park
##
## Support provided by the U.S. National Science Foundation
## (Grants SES-0350646 and SES-0350613)
##
Original Intervals
Lower Limit
[1] 0.09468368 0.12376893 0.09208527 0.06412671 0.15637944 0.18692732
Upper Limit
[1] 0.1966413 0.2350489 0.1931040 0.1535697 0.2760670 0.3130119
Adjusted Intervals
Lower Limit
[1] 0.09468368 0.12376893 0.09208527 0.06412671 0.15637944 0.18692732
Upper Limit
[1] 0.1966413 0.2350489 0.1931040 0.1535697 0.2760670 0.3130119
Volume
[1] 1.55e-06

CoinMinD documentation built on May 1, 2019, 10:32 p.m.