FS: Confidence Interval - Fitzpatrick and Scott

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

Description

The simultaneous confidence interval for multinomial proportions based on the method proposed in Fitzpatrick and Scott (1987)

Usage

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

Fitzpatrick, S. and Scott, A. (1987). Quick simultaneous confidence interval for multinomial proportions. Journal of American Statistical Association 82(399): 875-878.

See Also

BMDE,WALD,WS

Examples

1
2
3
y=c(44,55,43,32,67,78)
z=0.05
FS(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.08306258 0.11754534 0.07992778 0.04544502 0.15516289 0.18964565
Upper Limit
[1] 0.1927995 0.2272823 0.1896647 0.1551819 0.2648998 0.2993826
Adjusted Intervals
Lower Limit
[1] 0.08306258 0.11754534 0.07992778 0.04544502 0.15516289 0.18964565
Upper Limit
[1] 0.1927995 0.2272823 0.1896647 0.1551819 0.2648998 0.2993826
Volume
[1] 1.75e-06

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