Revision 4d048784cc1691d7539bc45fef9d3916724c6650 authored by Mitzi Morris on 27 August 2019, 15:59:25 UTC, committed by Mitzi Morris on 27 August 2019, 15:59:25 UTC
negative_binomial.stan
data {
int<lower=1> N;
int<lower=0> y[N];
}
parameters {
real<lower=0> alpha;
real<lower=0> beta;
}
model {
alpha ~ cauchy(0,10);
beta ~ cauchy(0,10);
for (i in 1:N)
y[i] ~ neg_binomial(alpha, beta);
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...