Skip to content

Commit

Permalink
Mc
Browse files Browse the repository at this point in the history
  • Loading branch information
jovoni committed Sep 13, 2024
1 parent 63eea3a commit 0bc1c03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion R/utils_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ get_group_colors <- function() {
"darkgreen",
"firebrick3",
"turquoise4",
"goldenrod3"
"goldenrod3",
"mediumpurple"
)
color
}
Expand Down
4 changes: 2 additions & 2 deletions inst/cmdstan/two_population.stan
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ model {
}

// Priors
// n0 ~ normal(N[1], 0.1 * N[1]);
rho_r ~ normal(0, 1); // Prior for rho_r
rho_s ~ normal(0, 1); // Prior for rho_s
t0_r ~ normal(0, 1); // Prior for t_r
f_s ~ uniform(0,1); // Prior for f_s

f_s ~ beta(2,2); // Prior for f_s

// Likelihood (assuming normallN distributed noise)
N ~ poisson(mu);
Expand Down

0 comments on commit 0bc1c03

Please sign in to comment.