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
Deleting the missing values (not entire observations) of a variableSuppose I have the following table: ID Preferences 1 2 1 . 1 . 2 . 2 3 3 . 3 . 3 …
Making foreach go through multiple variables but stops when one criteria is metHi, I am trying to program a code that goes through variables pr1-25 (procedure codes) to create a n…
Overlaying plots created with adjustrcspline and mfxrcsplineHi all, I've recently started using Maartin Buis's excellent tools for interpreting the results of …
Using Interaction terms of independent variables and estimated values in fixed-effects regression using xtregGood evening, I am trying to estimate a fixed-effects model using xtreg command in stata 17.0. My …
Variable already Defined in a loopGoodmorning everyone, as reported by the title, when I start my code I get this "Variable already De…
Subscribe to:
Post Comments (Atom)
0 Response to Weights in panel data
Post a Comment