Hi,
My regression involves forming skill groups from time series data and conducting a panel analysis of these skill groups over time. I calculate the average wages in each skill group. So far, i've weighted the wage by multiplying by the group's weight in that year divided by the total weight. I 'm not sure if i need to weight the whole regression. I've read about aweights. However, i also have a variable that is a percentage of the data i.e the percentage of immigrants in each skill group, so i'm unsure if i can still use aweights. Also, i've calculated the weights based on the sample to calculate the mean wage but i later do logwage, so i'm not sure how to weight this using p weights.
My regression i've tried looks like:
regress logwage0 Immigshock1 i.c_id i.Education i.Experience i.Year [aweight=Weight],cluster(Group)
logwage0 is the unweighted wage compared to logwage1 which i've used so far that is manually weighted. Immigshock is the variable that is the percentage of immigrants in the original dataset for a certain skill group.
Please could you help with this. Thank you
Related Posts with Weighting regressions
First-Difference analysis with multilevel data and noconsDear all, I would like to investigate how a time-constant (by nature) variable affects the change of…
Wald(chi) missing in Random EffectsI am testing the effect of ESG rankings on effective tax rate and Hausman test shows me to do random…
summary of the scores into one row clear input id question str10 d1 str10 d2 str10 d3 scores smoking 1 2.1 "23/01/2013" "05/02/2015" "…
F-tests on coefficients of non-nested regressionsHi guys I'm using ivreg2 with Stata 16.0 and windows 10 OS. I want to test the equality of coeffici…
How to save the content of result interface in STATA?When trying to save the content of the results interface of STATA, I found this discussion (https://…
Subscribe to:
Post Comments (Atom)
0 Response to Weighting regressions
Post a Comment