Hello,
I estimated three paramters using non informative prior(all paramters following
uniform distribution)
the output is:
Error in optim(pars, li_func, control = list(fnscale = -1), hessian = TRUE, :
non-finite finite-difference value [1]
How can I solve it using uniform distribution for all paramters??
(the same code is working when I use informative prior When I sugessted other
distriutions like gamma and exp.)
Thank you
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.