[R] problem in metro_hasting function‏

hms Dreams cute_loomaa at hotmail.com
Thu Dec 10 18:26:16 CET 2015


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]]



More information about the R-help mailing list