Re: [R] Possible bug with MCMCpack metropolis sampler

2012-08-04 Thread Prof Brian Ripley
What did the maintainer say (see the posting guide and indeed the R FAQ for where to report BUGS)? He is Cc:ed here. This is not necessarily a bug: R functions can change their arguments (but we do expect that to be prominently documented). KalmanLike is one user-visible example. On 05/08

[R] Possible bug with MCMCpack metropolis sampler

2012-08-04 Thread dcervone
Hi, I'm having issues with what I believe is a bug in the MCMCpack's MCMCmetrop1R function. I have code that basically looks like this: posterior.sampler <- function(data, prior.mu){ log.posterior <- function(theta) log.likelihood(data, theta) + log.prior(prior.mu, theta) post.samples <- MC