When building models, it’s helpful to check our understanding by simulating fake data and seeing if the fitted model can recover the true underlying parameters. And it’s so easy to do in Stan! See above–I just did a simple example … Continue reading