Learn R Programming

CoinMinD (version 1.2.1)

FS: FS: Fitzpatrick and Scott Method for Simultaneous Confidence Intervals

Description

Computes simultaneous confidence intervals for multinomial proportions using the Fitzpatrick and Scott (FS) method. The function estimates the lower and upper confidence limits for each category, adjusts them to remain within the [0, 1] range, and calculates the overall volume (product of interval widths).

Usage

FS(inpmat, alpha)

Value

Prints the original and adjusted confidence intervals for each category, as well as the overall interval volume.

Arguments

inpmat

Integer vector of observed counts (non-negative values).

alpha

Desired statistical Significance level.

Examples

Run this code
y <- c(44, 55, 43, 32, 67, 78)
z <- 0.05
FS(y, z)

Run the code above in your browser using DataLab