R/Examples/example_LRT02_EqualityMeans.R

## EXAMPLE
# LRT for testing hypothesis on equality of means
# Null distribution of the minus log-transformed LRT statistic
n <- 30             # total sample size
p <- 8              # dimension of X_k, k = 1,...,q where q = 5
q <- 5              # number of populations
# W <- vector()     # observed value of W = -log(Lambda)
options <- list()
# options$coef <- -1
options$prob <- c(0.9, 0.95, 0.99)
output <- LRT02_EqualityMeans(n = n, p = p, q = q, options = options)
str(output)
gajdosandrej/CharFunToolR documentation built on June 3, 2024, 7:46 p.m.