Hi,
I am working with a set of panel data where I am looking at students' school results in different counties. I am doing comparisons between different counties and therefor collapsing the observations to one value for each municipality. Since the data is only for public schools (and not private) am I trying to mitigating the problem by giving more weight to counties that have a relatively larger share of students going in to public schools, compared to counties where its more common for students going to private schools. For example, a municipality with only public schools will have a larger influence in the regression compared to a municipality where this figure is 10 %.I am using xtreg command and applying both fixed effects and random effects. I dont know exactly how I could solve the problem, my first idea was to use aweights but I understand that the coefficients are not being adjusted, only the standard errors. Does anyone know how I can solve this using weights or some other approach?
Related Posts with Weights in panel data
Working with Stata datesHello, I would like to create a variable, called "outcome", measured as a dummy indicator equal to …
Help creating a bar graph over multiple variablesGreetings, When creating a graph bar and dividing it over a variable, I cant figure out a way to add…
Trouble working with %tc datesHello, I have a variable "EndDate" whose format is double yet displays as if it was %tc. I need to …
LoopHello fellow Stata users, I have a question regarding the forvalues loop, this is the first time I …
help with Synthetic controlhello everyone. Ive compiled data on a large amount of countries to perform synthetic control. yeste…
Subscribe to:
Post Comments (Atom)
0 Response to Weights in panel data
Post a Comment