Learn R Programming

stpm (version 1.7.12)

LRTest: Likelihood-ratio test

Description

Likelihood-ratio test

Usage

LRTest(LA, L0, df = 1)

Value

p-value of LR test.

Arguments

LA

Log-likelihood for alternative hyphotesis

L0

Log-likelihood for null hyphotesis

df

Degrees of freedom for Chi-square test