epinowcast
effects_priors_lp.stan
Go to the documentation of this file.
1
29void effect_priors_lp(vector beta, vector beta_sd, array[,] real beta_sd_p,
30 int fixed, int random) {
31 if (fixed) {
32 beta ~ std_normal();
33 if (random) {
34 beta_sd ~ normal(beta_sd_p[1, 1], beta_sd_p[2, 1]);
35 }
36 }
37}
void effect_priors_lp(vector beta, vector beta_sd, array[,] real beta_sd_p, int fixed, int random)