You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The potential issue I found is the following: I generated a data set with two dummies D1 and D2 and an outcome variable, Y, which is always 0 when D2==1; otherwise Y follows a poisson distribution.
I run two estimations feglm(fml=as.formula('Y ~ D1 + D2'), data = data, family = "poisson") and feglm(fml=as.formula('Y ~ D1 | D2'), data = data, family = "poisson").
While in the latter version, fixest recognises that D2 predicts the outcome perfectly (and therefore discards the variable and related observations), the former method gives an, I think, misleading large negative estimate for D2. (The more negative the estimate here, the larger the likelihood function. This I think explains the large negative value here.)
I want to ask as if this an expected response? Is there perhaps an option to run checks for such separations?
The text was updated successfully, but these errors were encountered:
Hi,
First, thank you very much for the package!
The potential issue I found is the following: I generated a data set with two dummies D1 and D2 and an outcome variable, Y, which is always 0 when D2==1; otherwise Y follows a poisson distribution.
I run two estimations
feglm(fml=as.formula('Y ~ D1 + D2'), data = data, family = "poisson")
andfeglm(fml=as.formula('Y ~ D1 | D2'), data = data, family = "poisson")
.While in the latter version, fixest recognises that D2 predicts the outcome perfectly (and therefore discards the variable and related observations), the former method gives an, I think, misleading large negative estimate for D2. (The more negative the estimate here, the larger the likelihood function. This I think explains the large negative value here.)
I want to ask as if this an expected response? Is there perhaps an option to run checks for such separations?
The text was updated successfully, but these errors were encountered: