Skip to content

Commit

Permalink
chore: minor syntax correction in stan files
Browse files Browse the repository at this point in the history
  • Loading branch information
ntorresd committed Apr 23, 2024
1 parent ac6f7b6 commit e898d11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inst/stan/constant.stan
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ transformed parameters {

model {
for (i in 1:n_obs)
n_pos[i] ~ binomial(n_total[i], prob_infected[i]) ;
n_pos[i] ~ binomial(n_total[i], prob_infected[i]);

lambda0 ~ uniform (0, 2);
}
Expand Down
2 changes: 1 addition & 1 deletion inst/stan/tv_normal.stan
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ transformed parameters {
}

model {
n_pos ~ binomial(n_total, prob_infected) ;
n_pos ~ binomial(n_total, prob_infected);
sigma ~ cauchy(0, 1);

fois[1] ~ normal(foi_location, foi_scale);
Expand Down
2 changes: 1 addition & 1 deletion inst/stan/tv_normal_log.stan
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ transformed parameters {
}

model {
n_pos ~ binomial(n_total, prob_infected) ;
n_pos ~ binomial(n_total, prob_infected);
sigma ~ cauchy(0, 1);

log_fois[1] ~ normal(foi_location, foi_scale);
Expand Down

0 comments on commit e898d11

Please sign in to comment.