[R] Optim()

wasss deichkinds at gmx.net
Sat Sep 29 09:17:35 CEST 2012


Hello,
I have some problems regarding the function optim. In my simulations I
generate negative binomial data and get estimates of the parameter  using
the likelihood and the package optim. At some point there appears the
warning:

-  non-finite finite-difference value []

I think it occurs, when the shape converges ->0 (no overdispersion). Is
there an explanation for this and how do I handle it, because the
simulations stops in this step. 


Thanks 
wasss



--
View this message in context: http://r.789695.n4.nabble.com/Optim-tp4644581.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list