dnSoftBoundUniformNormal
- Softbound Uniform Distribution with Normal distributed tails.
min : | Real (pass by const reference) |
The min value of the uniform distribution. | |
max : | Real (pass by const reference) |
The max value of the uniform distribution. | |
sd : | RealPos (pass by const reference) |
The standard deviation of the normal distribution. | |
p : | Probability (pass by const reference) |
The probability of being within the uniform distribution. |
p ~ dnBeta(1.0,1.0)
x ~ dnBernoulli(p)
x.clamp(1)
moves[1] = mvSlide(p, delta=0.1, weight=1.0)
monitors[1] = screenmonitor(printgen=1000, separator = " ", speciation)
mymodel = model(p)
mymcmc = mcmc(mymodel, monitors, moves)
mymcmc.burnin(generations=20000,tuningInterval=100)
mymcmc.run(generations=200000)