MCPAN (version 1.1-21)

Waldci: Simultaneous Wald confidence intervals

Description

General function for simultaneous CIs in a one-way layout using multivariate normal distribution.

Usage

Waldci(cmat, estp, varp, varcor, alternative = "two.sided", conf.level = 0.95, dist="MVN")

Arguments

cmat

Contrast matrix of dimension MxI, with M = the number of contrasts, I= the number of samples

estp

numeric vector of point estimates of length I, with I = the number of samples

varp

numeric vector of variance estimates of length I, to be used for interval construction

varcor

numeric vector of variance estimates of length I

alternative

character string

conf.level

single numeric vector

dist

a character string, "MVN" invokes multiplicity adjustment via the multivariate normal distribution, "N" invokes use of quantiles of the univariate normal distribution

Value

A list containing:

conf.int

a matrix with 2 columns: lower and upper confidence bounds, and M rows

alternative

character string, as input

conf.level

single numeric value, as input

quantile

the quantile used to construct the CIs

Details

Mainly for internal use.

See Also

For user level implementations see: binomRDci, binomORci, poly3ci