march.bailey: Bailey Confidence Intervals for a march.Model.

Description Usage Arguments Value Author(s) Examples

View source: R/march.ci.R

Description

Compute the confidence intervals using Bailey's formula on a march.Model object. See Bailey BJR (1980) Large sample simultaneous confidence intervals for the multinomial probabilities based ontransformation of the cell frequencies, Technometrics 22:583–589, for details.

Usage

1
march.bailey(object, alpha)

Arguments

object

the march.Model object on which compute the confidence intervals.

alpha

the significance level.

Value

A list of half-length confidence intervals for each probability distribution of the considered model.

Author(s)

Berchtold André

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Compute the independence model for the pewee data.
Indep <- march.indep.construct(pewee)
# Display the model
print(Indep)
# Compute the half-length 95% confidence interval for each element of the distribution.
march.bailey(Indep,alpha=0.05)

# Compute a second-order MTDg model for the pewee data.
MTD2g <- march.mtd.construct(pewee,2,mtdg=TRUE)
# Display the model
print(MTD2g)
# Compute the half-length 95% confidence interval for all parameters
# of the MTD2g model.
march.bailey(MTD2g,alpha=0.05)

march documentation built on April 1, 2020, 3 a.m.