WALD: Confidence Interval -WALD

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

Description

The simple Wald type interval for multinomial proportions which is symmetrical about the sample proportions. In this method no continuity corrections are made to avoid zero width intervals when the sample proportions are at extreme.

Usage

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

Wald, A Tests of statistical hypotheses concerning several parameters when the number of observations is large, Trans. Am. Math. Soc. 54 (1943) 426-482.

See Also

BMDE,WALDCC,SG

Examples

1
2
3
y=c(44,55,43,32,67,78)
z=0.05
WALD(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.10009072 0.13096180 0.09732044 0.06734659 0.16533215 0.19734932
Upper Limit
[1] 0.1757714 0.2138658 0.1722720 0.1332804 0.2547305 0.2916789
Adjusted Intervals
Lower Limit
[1] 0.10009072 0.13096180 0.09732044 0.06734659 0.16533215 0.19734932
Upper Limit
[1] 0.1757714 0.2138658 0.1722720 0.1332804 0.2547305 0.2916789
Volume
[1] 2.6e-07

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