I am trying to run a meta-regression analysis so my dependent variable is an effect size/elasticity and explanatory variables are the number of observations, area of study, among others. A single paper can report multiple elasticities, so my panel unit is the Study ID from which I can have more than one observation.
As is the convention in meta-regression analysis, I must weight each observation by the inverse of the variance using a random effects or fixed effects specification. However, when I try to use either xtreg, re or xtreg, fe I get an error message because the weight must be constant within panel. My weight varies within the panel as a study may report more than one coefficient and each has a different standard error.
I found that areg allows assigning weights that vary within panel and I could potentially estimate Fixed effects weighted least squares. For example: areg dependvar independvar [aweight=(standard_error^(-2))], absorb(StudyID). However, areg does not work for random effects estimation. Is there any solution for this?
Thank you!
As is the convention in meta-regression analysis, I must weight each observation by the inverse of the variance using a random effects or fixed effects specification. However, when I try to use either xtreg, re or xtreg, fe I get an error message because the weight must be constant within panel. My weight varies within the panel as a study may report more than one coefficient and each has a different standard error.
I found that areg allows assigning weights that vary within panel and I could potentially estimate Fixed effects weighted least squares. For example: areg dependvar independvar [aweight=(standard_error^(-2))], absorb(StudyID). However, areg does not work for random effects estimation. Is there any solution for this?
Thank you!
Comment