lrTest: Calculates likelihood ratio test

View source: R/lrTest.R

lrTestR 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


windex documentation built on Oct. 11, 2023, 5:16 p.m.

Related to lrTest in windex...