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.


izhbannikov/spm documentation built on Sept. 10, 2022, 12:15 p.m.