I am trying to do a unit-level panel with custom-set analytic weights set to a variable with clustered SEs clustered at the panel level.
I am trying to do the following:
xtset (unit)
xtreg effectSize moderatorOne moderatorTwo moderatorThree [aweight = variable], cluster(unit)
AND THEN
xtreg effectSize moderatorOne moderatorTwo moderatorThree [aweight = variable], cluster(unit) fe
However, it tells me weights cannot be used with xtreg. What can I do? Is there another panel command beside xtreg that can accept the use of aweights or pweights?
I am trying to do the following:
xtset (unit)
xtreg effectSize moderatorOne moderatorTwo moderatorThree [aweight = variable], cluster(unit)
AND THEN
xtreg effectSize moderatorOne moderatorTwo moderatorThree [aweight = variable], cluster(unit) fe
However, it tells me weights cannot be used with xtreg. What can I do? Is there another panel command beside xtreg that can accept the use of aweights or pweights?
Comment