I want to fit COMPoisson
regression and showed this error:
L-BFGS-B needs finite values of 'fn'
I have 115 participant with two independent variable(ADT, HV) & dependent variable(Cr.fatal).
syntax:
library(COMpoissonReg)
comp3<-glm.cmp(CR.fatal ~ADT+HV,data = cdata)
output:
Error in optim(par.init, loglik, method = optim.method, control = optim.control, :
L-BFGS-B needs finite values of 'fn'