dnPoisson
- Poisson Distribution
lambda : | RealPos (pass by const reference) |
The rate (rate = 1/mean) parameter. |
l ~ dnUniform(0.0,100.0)
x ~ dnPoisson(l)
x.clamp(10)
moves[1] = mvSlide(l, delta=0.1, weight=1.0)
monitors[1] = mnScreen(printgen=1000, separator = " ", l)
mymodel = model(l)
mymcmc = mcmc(mymodel, monitors, moves)
mymcmc.burnin(generations=20000,tuningInterval=100)
mymcmc.run(generations=200000)