SG: Confidence Interval -Sison and Glaz

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

Description

The simultaneous confidence interval for multinomial proportions based on the method proposed in Sison and Glaz (1995).

Usage

1
SG(x, alpha)

Arguments

x

x 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

Sison, P.C. and Glaz J. (1995). Simultaneous Confidence Intervals and Sample Size Determination for Multinomial Proportions. Journal of the American Statistical Association 90: 366-369.

See Also

BMDE,WALD,GM

Examples

1
2
3
y=c(44,55,43,32,67,78)
z=0.05
SG(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.0846 0.1191 0.0815 0.0470 0.1567 0.1912
Upper Limit
[1] 0.1929 0.2273 0.1897 0.1552 0.2650 0.2994
Adjusted Intervals
Lower Limit
[1] 0.0846 0.1191 0.0815 0.0470 0.1567 0.1912
Upper Limit
[1] 0.1929 0.2273 0.1897 0.1552 0.2650 0.2994
Volume
[1] 1.61e-06

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