Hi
I have been trying to replicate the results of STATA's areg command with weights. In particular, I am trying to run the following specification
yij = alphaj + beta * xij
where i denotes an individuum and j the group. Each observation comes with a weight wij. Now I am trying to replicate the results I get from
areg y x [w=wgt], absorb(group)
but have been failing thus far. Could anyone point me in the right direction?
Many thanks
I have been trying to replicate the results of STATA's areg command with weights. In particular, I am trying to run the following specification
yij = alphaj + beta * xij
where i denotes an individuum and j the group. Each observation comes with a weight wij. Now I am trying to replicate the results I get from
areg y x [w=wgt], absorb(group)
but have been failing thus far. Could anyone point me in the right direction?
Many thanks
Comment