R2_latent: Bayesian kind of R.squared

Description Usage Arguments Value

View source: R/R2_latent.R

Description

Computes R.squared for non hierarchical models with item and person covariates. (Hierarchical models not tested right now.)

Usage

1
R2_latent(birtms_fit, fast = TRUE)

Arguments

birtms_fit

Object of type birtmsfit.

fast

Boolean. If true observations get summarised by persons or items. Should work also for datasets with missings and different observation numbers per person. Attention: It's not tested if the results are the same for datasets when situationcovars are added!

Value

List with R.squared and sd value for each dimension for persons and items.


Famondir/birtms documentation built on Feb. 18, 2022, 2:51 a.m.