Hello everyone,
I have a data for multiple individuals from different families at one (1) point in time. As i do a replication study, one of the approaches by the authors was to use a family-fixed effects to estimate difference in height using a within family comparison, assuming that nutrition patterns…. were shared by the individuals coming from the same household.
A question is how to do it properly in stata…
My approach:
xtset orighhid
xtreg height exposed age_days age_days2 sex i.bth_month, vce (cluster orighhid) fe
Is this correct?
Related Posts with Within Family fixed effects in cross section
Tricky wide to long conversionDear Statalist users I need help turning a wide file into a long file, however, I'm having some dif…
Questions about contour plotsI have three problems when plotting a contour graph in Stata 16.0 for Windows (revision 02 Jul 2019)…
How to calculate AIC(Akaike's information criterion) for restricted cubic splineI would like to calculate the AICs (Akaike's information criterion) to find out which one is more ap…
What model best suitable for data with dependent variable being a proportion with values from 0 to 1, both inclusive?Dear All, I have two questions on what models and Stata commands to use regarding the following two…
rewriting the codeI would like to calculate relative_all forecast accuracy and I intend to use the following code. How…
Subscribe to:
Post Comments (Atom)
0 Response to Within Family fixed effects in cross section
Post a Comment