Description Usage Arguments Details Value References
View source: R/modelAveraging.R
Apply Bayesian model averaging for aggregating the results of multiple partial MI models. Uses STAN. Can currently deal with two-group models for metric items or dichotomous items (Rasch or 2PL model).
1 2 3 4 5 6 7 8 9 10 11 |
res_clusterItems |
Object generated by |
res_modelAveraging |
Object generated by previous use |
weights |
Weights in numerical order of the clusters. This represents the believe of the researcher in the plausibility of the item cluster as appropriate anchors (see Schulze & Pohl, 2021). With no prior knowledge or beliefs, weights should be chosen to be equally distributed across all clusters. Weights have to sum to one. |
CPUcores |
Number of CPU cores to be used. Defaults to 2. |
chains |
Number of chains. Defaults to 2. |
iter |
Number of total iterations. Defaults to 2'000 for metric items (blavaan) and 10'000 for dichotomous items (IRT models) |
burninPerc |
Percentage of burn-in iteration of the total iterations. Defaults to 0.5. |
silent |
Do not print summary output? Defaults to |
partialMIwhat |
String, either |
anchors |
A list of vectors of item names which shall serve as anchors. |
If multiple cores are used (like in the default), STAN will maximize the Viewer Tab of RStudio.
Bayesian Average of the mean difference of two groups ("muAver"). Info on convergence and precision. All fitted STAN objects.
Schulze, D., & Pohl, S. (2021). Measurement Invariance: Dealing with the uncertainty in anchor item choice by model averaging. [Manuscript submitted]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.