QH: Confidence Interval -Quesenberry and Hurst

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

Description

The simultaneous confidence interval for multinomial proportions based on the method proposed in Quesenberry and Hurst (1964)

Usage

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

Quesensberry, C.P. and Hurst, D.C. (1964). Large Sample Simultaneous Confidence Intervals for Multinational Proportions. Technometrics, 6: 191-195.

See Also

BMDE,WALD,WS

Examples

1
2
3
y=c(44,55,43,32,67,78)
z=0.05
QH(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-2019 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.08576647 0.11335512 0.08331399 0.05709120 0.14452754 0.17390520
Upper Limit
[1] 0.2143830 0.2534468 0.2107762 0.1703466 0.2949861 0.3322609
Adjusted Intervals
Lower Limit
[1] 0.08576647 0.11335512 0.08331399 0.05709120 0.14452754 0.17390520
Upper Limit
[1] 0.2143830 0.2534468 0.2107762 0.1703466 0.2949861 0.3322609
Volume
[1] 6.2e-06

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