Hello Everyone:
Recently I am replicating and learning an AER paper. There is one line code really bother me.
Our professor requires us to write the equivalent code using xtreg...,
Can anyone help me?
Thanks very much
The code is
xi: reg totyrs dropage i.yearat14 i.pob age age2 age3 age4 i.censyear female fraction_rural_sm fraction_manufacturing_sm logschlexp schoolnum_pc_sm teachernum_pc_sm [w=wght], cluster(clust)
Recently I am replicating and learning an AER paper. There is one line code really bother me.
Our professor requires us to write the equivalent code using xtreg...,
Can anyone help me?
Thanks very much
The code is
xi: reg totyrs dropage i.yearat14 i.pob age age2 age3 age4 i.censyear female fraction_rural_sm fraction_manufacturing_sm logschlexp schoolnum_pc_sm teachernum_pc_sm [w=wght], cluster(clust)
Comment