LRTest: Likelihood-ratio test

View source: R/LRTest.R

LRTestR Documentation

Likelihood-ratio test

Description

Likelihood-ratio test

Usage

LRTest(LA, L0, df = 1)

Arguments

LA

Log-likelihood for alternative hyphotesis

L0

Log-likelihood for null hyphotesis

df

Degrees of freedom for Chi-square test

Value

p-value of LR test.


stpm documentation built on Sept. 5, 2022, 5:06 p.m.