Learn R Programming

ACSWR (version 1.0)

LRNormal2Mean: Likelihood Ratio Test for Equality of Means when Variance Unknown

Description

This function sets up the likelihood ratio test for equality of means when the variance term is unknown. Refer Chapter 7 for more details.

Usage

LRNormal2Mean(x, y, alpha)

Arguments

x
Observations from Population 1
y
Observations from Population 2
alpha
Size alpha test

Details

Likelihood ratio test is setup through this function. For more details, refer Chapter 7 of the book.

See Also

t.test

Examples

Run this code
lisa <- c(234.26, 237.18, 238.16, 259.53, 242.76, 237.81, 250.95, 277.83)
mike <- c(187.73, 206.08, 176.71, 213.69, 224.34, 235.24)
LRNormal2Mean(mike,lisa,0.05)

Run the code above in your browser using DataLab