Closed lukasheiland closed 5 years ago
thanks! This used to be an option, but since then we have made a number of changes that require min/max values for the prior, so in fact the help is not correct any more - runMCMC always requires a BayesianSetup.
When attempting to start
runMCMC()
with a generic target function (e.g., log posterior),throws an error, because
runMCMC()
will first try to index the provided function with$parallel
. Circumventing this error, the function will be passed on tocheckBayesianSetup()
, which will turn the function over tocreateBayesianSetup()
, which will throw an error because of lacking prior specification:Furthermore, it is unclear, how the number of parameters for the log posterior should be provided in the call to
runMCMC()
.