Likelihood Ratio Test for Equality of Means when Variance Unknown

Share:

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

1
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.

Author(s)

Prabhanjan N. Tattar

See Also

t.test

Examples

1
2
3
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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.