GM: GM: Goodman Method for Simultaneous Confidence Intervals
Description
Computes simultaneous confidence intervals for multinomial proportions
using the Goodman (1965) method. The function calculates lower and upper
confidence limits for each category, adjusts them to remain within the
[0, 1] range, and computes the overall interval volume (the product of
interval widths).
Usage
GM(inpmat, alpha)
Value
Prints the original and adjusted confidence intervals for each
category, as well as the overall volume of the simultaneous confidence
intervals.
Arguments
inpmat
Integer vector of observed cell counts corresponding to
a categorical dataset. Must contain non-negative values.
alpha
Desired statistical significance level
Author
Dr. M. Subbiah
Details
This function implements the simultaneous confidence interval method
proposed by Goodman (1965) for multinomial proportions. It adjusts each
interval to ensure the limits fall within the valid probability range.
References
Goodman, L. A. (1965). *On Simultaneous Confidence Intervals for Multinomial
Proportions.* Technometrics, **7**, 247–254.