Hi,
I have a panel dataset consisting of 3,617 IDs where each ID has about 9-10 observations for it (it is an unbalanced panel with gaps). My Y is an over-dispersed count variable so I used xtnbreg, fe for my data and the estimator converged, but I now want to cluster standard errors at a particular level. Since xtnbreg does not have any option for clustering standard errors (or does it? perhaps I am wrong about that), I figured the only approach to take would be nbreg with i.id and clustered standard errors. I tried running just the simpler version of nbreg Y X i.year i.id without clustering standard errors, but it's been many many hours and it isn't converging--- we're on Iteration 39 now after ~14 hours of running. Should I assume it isn't going to converge at this point or just keep going? And if it isn't going to converge and the Y variable in question is definitely over dispersed, would it be better to use xtpoisson, fe instead,or would leaving it at xtnbreg, fe without clustering standard errors given that Y is over-dispersed?
Lastly, is there any literature I can refer to that helps me figure out why it is that a negative binomial fixed effects regression doesn't have a standard error clustering option whereas a poisson fixed effects regression does (or perhaps there is no conceptual reason and that's just how the command is built).
Thank you very much! I really appreciate it.
Regards,
Mansi Jain
Stanford University
Related Posts with Nbreg with i.id for fixed effects not converging
Conversion of monthly sting variable into monthly float variable for time series analysisHello everyone i am really new to stata and i have an econometrics paper due in a couple days and i …
Generating Dummy variables based on Monthly periodHello everyone i am really new to stata and i have an econometrics paper due in a couple days and i …
Panel data: Creating a variable that identifies respondents who answered a question at least once in a given survey yearGreetings, I'm running Stata 15.1 on OSX and working with panel data. My goal is to assess temporal…
Error in strdupDear All, I am trying to understand the exact reason the string duplication fails sometimes. The do…
Problem with directoryHi Stata Community, I've used maptile many times before, but recently bought a new computer. All th…
Subscribe to:
Post Comments (Atom)
0 Response to Nbreg with i.id for fixed effects not converging
Post a Comment