Code for Bersson and Hoff, 2023.
- MAIN.R: Main file to run the SWAG Metropolis-Hastings algorithm for your data and plot output.
- SIMULATION.R: Main file to run the simulation in Bersson and Hoff 2023.
- cov_functions.R: File contains SWAG Metropolis-Hastings sampler along with functions to compute various MLEs for population covariances for multi-group data.
Please reach out with any questions elb75@duke.edu.