Skip to content

Commit 311f112

Browse files
committed
checkpointing - addressing reviewer comments
1 parent 7022770 commit 311f112

File tree

4 files changed

+1474
-1288
lines changed

4 files changed

+1474
-1288
lines changed

jupyter/sum-to-zero/stan/gen_binomial_4_preds.stan

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ generated quantities {
2121
for (n in 1:N_age) {
2222
beta_age[n] = std_normal_rng();
2323
}
24-
// increased risk with age, some variation in observations
25-
// {
26-
// vector[N_age] beta_age_tmp;
27-
// for (n in 1:N_age) {
28-
// beta_age_tmp[n] = normal_rng(0, 1);
29-
// }
30-
// beta_age = sort_asc(beta_age_tmp);
31-
// }
3224

3325
vector[N_eth] pct_eth = dirichlet_rng(rep_vector(1, N_eth));
3426
vector[N_eth] beta_eth;
@@ -41,14 +33,6 @@ generated quantities {
4133
for (n in 1:N_edu) {
4234
beta_edu[n] = std_normal_rng();
4335
}
44-
// decreased risk with edu, some variation in observations
45-
// {
46-
// vector[N_edu] beta_edu_tmp;
47-
// for (n in 1:N_edu) {
48-
// beta_edu_tmp[n] = normal_rng(0, 1);
49-
// }
50-
// beta_edu = sort_desc(beta_edu_tmp);
51-
// }
5236

5337
array[strata] int sex, age, eth, edu, pos_tests, tests;
5438
array[strata] real p;

0 commit comments

Comments
 (0)