We want to be able to trap improper posteriors. Daniel just demoed this model
data {
int<lower=0> N;
vector[N] x;
vector[N] y;
}
parameters {
real a;
real b;
real<lower=0> sigma;
}
model {
y ~ normal(a + b * x, sigma);
}
and it samples and gives garbage (low n_eff for a and b, but high n_eff for err_sd).
We want to be able to trap improper posteriors. Daniel just demoed this model
and it samples and gives garbage (low n_eff for a and b, but high n_eff for err_sd).