lrt: Likelihood ratio test for a kinetic class object.

View source: R/inference_lrt.R

lrtR Documentation

Likelihood ratio test for a kinetic class object.

Description

Performs a likelihood ratio test for a kinetic class object. Model terms are compared in the 0 - n order; additionally, the full model is compared with the NULL model (order = 'global').

Usage

lrt(kinetic_object, ...)

Arguments

kinetic_object

a kinetic class object.

...

additional arguments passed to anova.

Details

The effect size statistic lambda is calculated with the formula 2 * (logLik(model) - logLik(NULL model))

Value

a data frame with the likelihood, AIC, BIC values and the test statistics.


PiotrTymoszuk/kinet documentation built on June 12, 2022, 7:29 p.m.