Appendix: https://github.com/yifan-lyf/40800-replication/blob/main/Appendix.pdf
Files not ran in Quarto are follows
Replication Part
The model used MCMC and it's impossible to run it in Rmarkdown. I pushed the code and the original data to Uchicago's CPU cluster and ran it. Code and output data are as follows.
Original Data: https://github.com/yifan-lyf/40800-replication/blob/main/datamodel.RData
Stage1: https://github.com/yifan-lyf/40800-replication/blob/main/stage1.R
sbatch file for stage1: https://github.com/yifan-lyf/40800-replication/blob/main/stage1.sbatch
Stage2: https://github.com/yifan-lyf/40800-replication/blob/main/stage2.R
sbatch file for stage2: https://github.com/yifan-lyf/40800-replication/blob/main/stage2.sbatch
Data produced by stage1: https://github.com/yifan-lyf/40800-replication/blob/main/samples_stage1.Rdata
Data produced by stage2: https://github.com/yifan-lyf/40800-replication/blob/main/samples_stage2.Rdata
Extension Part
Original Data: https://github.com/yifan-lyf/40800-replication/blob/main/datamodel.RData
Stage1:
https://github.com/yifan-lyf/40800-replication/blob/main/param/stage1_0.1.R
https://github.com/yifan-lyf/40800-replication/blob/main/param/stage1_0.5.R
sbatch file for stage1:
https://github.com/yifan-lyf/40800-replication/blob/main/param/stage1_0.1.sbatch
https://github.com/yifan-lyf/40800-replication/blob/main/param/stage1_0.5.sbatch
Stage2:
https://github.com/yifan-lyf/40800-replication/blob/main/param/stage2_0.1.R
https://github.com/yifan-lyf/40800-replication/blob/main/param/stage2_0.5.R
sbatch file for stage2:
https://github.com/yifan-lyf/40800-replication/blob/main/param/stage2_0.1.sbatch
https://github.com/yifan-lyf/40800-replication/blob/main/param/stage2_0.5.sbatch
Data produced by stage1:
https://github.com/yifan-lyf/40800-replication/blob/main/param/samples_stage1_0.1.Rdata
https://github.com/yifan-lyf/40800-replication/blob/main/param/samples_stage1_0.5.Rdata
Data produced by stage2:
https://github.com/yifan-lyf/40800-replication/blob/main/param/samples_stage2_0.1.Rdata
https://github.com/yifan-lyf/40800-replication/blob/main/param/samples_stage2_0.5.Rdata
Code for Appendix: https://github.com/yifan-lyf/40800-replication/blob/main/Appendix.qmd