# Guide to OSF Folder
Now published at _Structural Equation Modeling_ https://doi.org/10.1080/10705511.2022.2142128
Free PDF: https://www.jamesuanhoro.com/post/2022/12/14/hierarchical-covariance-estimation-approach-to-meta-analytic-structural-equation-modeling/
There is now an R package that implements some of the methods in this paper: https://jamesuanhoro.github.io/minorbsem/.
## Install CmdStan
Prior to using the scripts in their current form, you need to install [CmdStan](https://mc-stan.org/users/interfaces/cmdstan). If using RStan, one will need to modify the script
## SEM file descriptions
### R scripts
- `ex_[study_name].R`: These are example data analysis R scripts
- Example 1: `ex_digman97.R`
- Example 2: `ex_cheung09.R`
- Example 3: `ex_norton13.R`
- `sbc_[study_name].R`: These are simulation-based calibration (SBC) R scripts
- SBC Study 1: `sbc_digman97.R`
- SBC Study 2: `sbc_norton13.R`
### Stan scripts
- `meta_cfa_wb_marg_src.stan`: CFA Stan script
- `meta_cfa_wb_marg_src_sbc.stan`: CFA Stan SBC script
## AERA 2023 Submission
See `aera_2023` folder:
- R script: `aera_2023/wish_ex_norton13_bayes.R`
- Stan scripts:
- Fixed-effects model: `aera_2023/mcfa_wish_sum.stan`
- Random-effects model: `aera_2023/mcfa_wish_wb.stan`
- Dependent-samples model: `aera_2023/mcfa_wish_dep.stan`