It goes like this. We start with a simple linear regression. In the Stan code we first simulate data given the true parameter values and then express the model: data { int N; real a_true, b_true, sigma_true; } transformed data … Continue reading …
It goes like this. We start with a simple linear regression. In the Stan code we first simulate data given the true parameter values and then express the model: data { int N; real a_true, b_true, sigma_true; } transformed data … Continue reading …