Revision 50ba237b7e9aa8c9312414f80dfbf6bebcab894b authored by Imad Ali on 16 October 2019, 04:02:51 UTC, committed by Imad Ali on 16 October 2019, 04:02:51 UTC
1 parent 45f93c8
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