WALDCC: Confidence Interval -WALDCC

Description Usage Arguments Value Author(s) See Also Examples

Description

The simple Wald type interval with continuity corrections for multinomial proportions which is symmetrical about the sample proportions.

Usage

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

See Also

BMDE,WALD,SG

Examples

1
2
3
y=c(44,55,43,32,67,78)
z=0.05
WALDCC(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.09852332 0.12939441 0.09575305 0.06577919 0.16376475 0.19578192
Upper Limit
[1] 0.1773387 0.2154332 0.1738394 0.1348478 0.2562979 0.2932463
Adjusted Intervals
Lower Limit
[1] 0.09852332 0.12939441 0.09575305 0.06577919 0.16376475 0.19578192
Upper Limit
[1] 0.1773387 0.2154332 0.1738394 0.1348478 0.2562979 0.2932463
Volume
[1] 3.3e-07

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