petabSelect_LRT: Likelihood ratio test

View source: R/petab_select.R

petabSelect_LRTR Documentation

Likelihood ratio test

Description

Likelihood ratio test

Usage

petabSelect_LRT(comparisonTable, alpha = 0.05)

Arguments

comparisonTable

output from petabSelect_compareModels() with two nested models

alpha

Significance level of statistical test

Value

Prints a message, returns the printed table invisbly

Author(s)

Daniel Lill (daniel.lill@physik.uni-freiburg.de)

See Also

Other petab select: as.data.table.reportYaml(), pd_petabSelect_collectEstimatedParameters(), pd_petabSelect_collectParameters(), pd_petabSelect_collectReportYamlCriteria(), pd_petabSelect_reportYaml(), petabSelect_collectReportYamlCriteria(), petabSelect_compareModels(), petabSelect_readReportYaml(), petabSelect_reportYaml(), petabSelect_writeReportYaml()

Examples

comparisonTable <- data.table(tibble::tribble(
~model_id, ~nEstimatedPars   , ~`-2LL`, 
"Model_full"   ,            2, 5,
"Model_reduced",            1, 9))

dlill/petab documentation built on Oct. 9, 2022, 3:07 p.m.