Derivative computations and robust standard errors for linear mixed effects models in lme4.
Replication materials:
- estfun method for obtaining scores from models of class lmerMod.
- vcov method for obtaining covariance matrix of all parameters (including random effect parameters) from models of class lmerMod.
- bread function for using the above code in tandem with package sandwich.
- Replication script containing code to run and summarize results from the paper, using the above files.
Score-based tests of differential item functioning via pairwise maximum likelihood estimation.
Replication materials:
- Simulation functions for data generation, power evaluation, and power summaries.
- lavaan extensions containing estfun() method for lavaan objects estimated via PML and code to simplify model estimation (note: this code relies on lavaan 0.5-17).
- Code to obtain scores from specific ltm objects and mirt objects.
- Data from application section
- Replication script containing code to run and summarize the application and simulations, using the above files.
Bayesian latent variable models for the analysis of experimental psychology data.
Replication materials:
- JAGS models used in the paper (this file writes JAGS model files when it is sourced in R).
- Peters & Levin (2008) data, used in the application.
- Helper code for computing Bayes factors via the Laplace approximation.
- Replication script containing code to estimate and summarize the analyses, using the above files.
Score-based tests of measurement invariance: Use in practice.
Replication materials:
- Model estimation functions for simulations.
- Simulation functions for data generation, power evaluation, and power summaries.
- Replication script containing code to run and summarize the tutorial and simulations, using the above files. (Note: strucchange 1.5-0 and lavaan 0.5-14 contain code necessary to carry out the tests for general SEMs.)