We are now doing a comparative study regarding Bayesian Structural Equation Model, aligned-Exploratory Structural Equation Model and penalized alignment when they establish measurement invariance. As we know that HMC algorithm based Bayesian analysis have better convergence. We have an idea that we use HMC based BSEM multiple-group analysis to generate and analyze data in such a monte carlo comparative study. But as I am new to RSTAN, I cannot find any information about HMC’s application to BSEM and measurement invariance testing. Thanks in advance!
1 Like
Hello, you might look at the blavaan package, which uses lavaan syntax and estimates models using Stan:
Thank you very much! Really appreciate your help.