compare_models: Compare goodness of fit of two models.

View source: R/expr_models.R

compare_modelsR Documentation

Compare goodness of fit of two models.

Description

Compares goodness of fit for two ways of fitting a set of genes' expression using a likelihood ratio test. The likelihood ratio test helps one decide whether the improvement in fit is large enough to justify the additional complexity of extra terms in the full model in comparison to the reduced model.

Usage

compare_models(model_tbl_full, model_tbl_reduced)

Arguments

model_tbl_full

A tibble of model objects, generally output of fit_models, to be compared with model_tbl_reduced

model_tbl_reduced

A tibble of model objects, generally output of fit_models, to be compared with model_tbl_full.

Value

The result of a likelihood test by gene.


cole-trapnell-lab/monocle3 documentation built on April 7, 2024, 9:24 p.m.