Location: Uncertain starting point parabola @ f42a5c42645f / example.bugs
- Author:
- Andrew Miller <ak.miller@auckland.ac.nz>
- Date:
- 2012-05-07 15:45:37+12:00
- Desc:
- Make the y velocity a value sampled using jags, and include the scripts to regenerate it.
- Permanent Source URI:
- https://models.physiomeproject.org/w/miller/uncertain-starting-parabola/rawfile/f42a5c42645febc5c1cd81f937cec5987dbea26c/example.bugs
model { for (j in 1:nsprings) { springVelMean[j] ~ dnorm(9,0.5) springVelVar[j] ~ dexp(20) } for (i in 1:40) { spring[i] ~ dcat(pi) vel[i] ~ dnorm(springVelMean[spring[i]], springVelVar[spring[i]]) } springOut ~ dcat(pi) velOut ~ dnorm(springVelMean[springOut], springVelVar[springOut]) }