Revision 3503cd735a15dd7735b6045b79c31586d4292152 authored by Bob Carpenter on 18 June 2015, 20:25:46 UTC, committed by Bob Carpenter on 18 June 2015, 20:25:46 UTC
1 parent 8a542c1
bernoulli.stan
data {
int<lower=0> N;
int<lower=0,upper=1> y[N];
}
parameters {
real<lower=0,upper=1> theta;
}
model {
theta ~ beta(1,1);
for (n in 1:N)
y[n] ~ bernoulli(theta);
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...