I am running three models comparing a Random Effects model, a Fixed Effects Model and a Fixed Effects Instrumental Variable model. For the FE regressions I am using xtivreg, which drops singleton groups. I would like to use the same data for the RE models. My number of observations should be the same for all three regressions. The RE regressions include singleton groups so N is higher. I have tried using e(sample) which did not work. I would like to drop singleton groups. I have tried:
bys panelvar: drop if _N ==1 This also did not work as, it dropped more observations than singleton groups detected and causes the difference between my FE regressions and RE rgression observations to be even larger. Not sure how to go about this, any suggestions? Thanks!
Related Posts with How to deal with Singleton Groups
Counting distinct values across loopsI have a simple question that I am sure has been answered, so I apologize in advance. My search thro…
Using rreg or vce(robust) for non-normal heteroscedastic standard errorsHi, I'm currently running regression models on cross-sectional data for which the outcome variables…
Lopping and Saving Results in a MatrixHi everyone, I'm trying to a run a simple regression with five variables of interest. The primary i…
Numbering the omitted dataHello, this is Max Kim. Now I am running a panel data with year and age. However, the data for age o…
Overlaying two named marginsplotsHello everybody, I fear I have a very basic questions and I hope this has not been asked (and answe…
Subscribe to:
Post Comments (Atom)
0 Response to How to deal with Singleton Groups
Post a Comment