Learn R Programming

ACSWR (version 1.0)

LRNormalVariance_UM: Likelihood ratio test for the variance of normal distribution with mean is unknown

Description

This function returns the LR test for the variance of normal distribution with the mean being unknown. Refer Chapter 7 for more details.

Usage

LRNormalVariance_UM(x, sigma0, alpha)

Arguments

x
the vector of sample values
sigma0
the standard deviation of interest under the hypothesis
alpha
the required level of significance

Examples

Run this code
LRNormalVariance_UM(rnorm(20),1,0.05)

Run the code above in your browser using DataLab