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
2 parent s f239669 + 93c21d2
Raw File
normal_truncated.stan
data {
  real U;
  int<lower=1> N;
  real<upper=U> y[N];
}
parameters {
  real mu;
  real<lower=0,upper=2> sigma;
}
model {
  for (n in 1:N)
    y[n] ~ normal(mu,sigma) T[,U];
}
back to top