-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Description
I'm fitting a GEPPML and I found this error
fit_costs <- fepois(
tij_bar ~ log(dist) + contig + comlang_off + colony | exporter + importer,
data = d_slice,
glm.iter = 100
)
NOTE: 293 observations removed because of NA values (LHS: 293).
Warning: feglm: Step halving due to non-finite deviance (7 times).
Error in fepois(tij_bar ~ log(dist) + contig + comlang_off + colony | :
Error in paste0("Divergence at iteration ", iter, ": ", msg, ". Weighted-OLS returns NA coefficients. Last evaluated coefficients with finite deviance are returned for information purposes.") :
object 'msg' not found
The cause of the problem is that "msg" exists for problems related to mu/eta, but not to NA coefficients (https://github.com/lrberge/fixest/blob/master/R/ESTIMATION_FUNS.R#L2644)
Metadata
Metadata
Assignees
Labels
No labels