prior.fn.Rd
Prior fitting function for optimization
prior.fn(parms, x, alpha, distn, central.tendency = NULL, trait = NULL)
target for optimization
vector with c(lcl, ucl, ct) lcl / ucl = confidence limits, ct = entral tendency
quantile at which lcl/ucl are estimated (e.g. for a 95% CI, alpha = 0.5)
named distribution, one of 'lnorm', 'gamma', 'weibull', 'beta'; support for other distributions not currently implemented
one of 'mode', 'median', and 'mean'
name of trait, can be used for exceptions (currently used for trait == 'q')
parms
This function is used within `DEoptim` to parameterize a distribution to the central tendency and confidence interval of a parameter. This function is not very robust; currently it needs to be tweaked when distributions require starting values (e.g. beta, f)