Dear all,
I have cross-sectional data that include siblings. Now I need to run an analysis that using the sibling fixed-effect approach. The identifier variable I have is the personal ID (id) and family ID (famid, people within the same family are all siblings).
To control the sibling effect, I plan to use the following codes.
reg y x i.famid
areg y x, absorb(famid)
reghdfe y x, absorb(famid)
I assume these three codes will give the same results. Am I correct in modeling the sibling fixed effect?
I really appreciate any help you can provide.
Related Posts with How to model sibling fixed effect?
Average of a variable using xtsumHi I am new to the panel variables and have encountered a problem. I am using xtsum command to get t…
Gini indexHello How do I calculate the Gini coefficient with the equivalent scale method in stata ? Please ex…
Creating an Index for cognition Using Principle Component AnalysisI am trying to create an index for cognition using PCA on 3 test score the code I have used is: PCA…
Trend variable in a Tobit modelHello everyone, I would like to add a trend variable (instead of using i.Year) in my Tobit model. …
Block regressions using foreach loop on global macrosHello Listers! I am trying to run multiple block regressions. I have put a set of explanatory varia…
Subscribe to:
Post Comments (Atom)
0 Response to How to model sibling fixed effect?
Post a Comment