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?