Learn R Programming

windex (version 2.1.0)

lrTest: Calculates likelihood ratio test

Description

Takes raw log-likelihood values plus degrees of freedom and performs a likelihood ratio test.

Usage

lrTest(small,big,df)

Value

LR

Likelihood ratio statistic

P

P-value from likelihood ratio test

Arguments

small

Numerical value giving the smaller of the two log-likelihoods being compared.

big

Numerical value giving the larger of the two log-likelihoods being compared.

df

A numerical value giving the degrees of freedom for the test.

Author

Kevin Arbuckle