Skip to content

Commit

Permalink
updated inhalers model to use categorical properly: bugs_examples/vol…
Browse files Browse the repository at this point in the history
…1/inhalers
  • Loading branch information
syclik committed Dec 17, 2012
1 parent 7458181 commit c5f358f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/bugs_examples/vol1/inhalers/inhalers.stan
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ model {
p[i, t, j] <- Q[i, t, j - 1] - Q[i, t, j];
p[i, t, (Ncut + 1)] <- Q[i, t, Ncut];

response[i, t] - 1 ~ categorical(p[i, t]);
response[i, t] ~ categorical(p[i, t]);
}
}
b ~ normal(0, sigma);
Expand Down

0 comments on commit c5f358f

Please sign in to comment.