Displaying 1 result from an estimated 1 matches for "wideth".
Did you mean:
wideto
2007 Feb 09
0
slice sampler
...multiple targets with different parameter but same form of distribution. A example
of usage is as follows:
output[i] <- slice1d(dnorm(x,1,1,log=TRUE), x0=output[i-1],w=2,m=6,trunc=c(-Inf,Inf),prec=1e-4)
things to notice here are: expression has to be on LOG scale, w is the expanding wideth, m is the # of expanding trials,
prec is the precision, this is used to control against those distributions with huge kurtosis (with very sharp peak), so that the sampler wouldn't spend a lot of time approaching the right value.
One example that it doesn't work well on is dgamma(x,.1,...