Add example simulation study to appendix code