lrt_approx: Approximate likelihood ratio testing for Latent Variables...

Description Usage Arguments Value

View source: R/testing.R

Description

Approximate likelihood ratio testing for Latent Variables Multivariate Mixed-type Response Regression

Usage

1
lrt_approx(fit_null, fit_full, df, ...)

Arguments

fit_null

The output from mmrr() fit under the null hypothesis

fit_full

The output from mmrr() fit under the alternative hypothesis

df

The degrees of freedom; if not supplied, set to the sum of the difference in number of predictors and number of restrictions on Sigma.

...

Other arguments passed to mmrr() when re-fitting the full model holding W fixed at fit_null$W.

Value

A list with the test statistic, p-value, and degrees of freedom.


koekvall/lvmmr documentation built on Dec. 13, 2021, 2:35 p.m.