BayesianTools icon indicating copy to clipboard operation
BayesianTools copied to clipboard

lower / upper

Open florianhartig opened this issue 6 years ago • 1 comments

lower / upper is only for the prior, can be set in

createPrior createBayesianSetup -> passes this on to createPrior

plotLower, plotUpper can be set for setup and is used for plots

if not set, but prior lower upper set, use prior lower upper

signatur

createBayesianSetup(likelihood, prior = NULL, lower, upper, plotLower, plotUpper, ... )

createPrior(prior = NULL, lower, upper, ... )

  • if class == prior check if updates to class -> message for each update, then return class
  • if function --> normal
  • if NULL check lower upper, if exists createUniform else stop()

createLikelihood(likelihood = NULL, ... )

  • no changes

florianhartig avatar Apr 06 '18 11:04 florianhartig

For now I implemented the changes in createBayesianSetup #124

Implementing the changes in createPrior is not really straight-forward. Maybe we should push this back till next version. Right now we got the desired behaviour.

TankredO avatar Apr 11 '18 08:04 TankredO