lrTest {windex}R Documentation

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)

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.

Value

LR

Likelihood ratio statistic

P

P-value from likelihood ratio test

Author(s)

Kevin Arbuckle


[Package windex version 2.0.8 Index]