test_nested: Likelihood-Ratio Test

test_nestedR Documentation

Likelihood-Ratio Test

Description

Test whether the increase of misfit of a nested model is significant.

Usage

test_nested(gpt_fit, nested, EM = TRUE)

Arguments

gpt_fit

the more general GPT model (see gpt_fit)

nested

a nested GPT model (i.e., a model that differs only in additional order constraints). Note that the nestedness of models is not checked internally.

EM

whether to use parameter estimates and likelihood from expectation-maximization (EM) fit or from the gradient-based optimization

See Also

select_gpt, test_fit


danheck/gpt documentation built on Feb. 12, 2024, 6:21 a.m.