Hello Statalist,
I have panel data with repeated time values. The reason is that there are more than one observations for some years for some individuals. Variable spell counts for observations. The data is something like below
person_id spell year age wage cba
1364 1 2000 22 30 1
1364 2 2000 22 32 1
1364 3 2001 23 35 2
1365 1 2005 34 45 3
1365 2 2006 35 50 1
1365 3 2006 35 52 2
suppose entry year is when spell==1, and call it t0
I want to regress wage 3 years after entry on age and cba at the entry (spell == 1) and time dummy is at the current year (same as wage).
regression equation would be: wage_(t0+3) = b1age_t0 + b2 cba_t0 + year_dummy_(t0+3)
Could you plz help me how I can do that? thanks.
Related Posts with dependent variable with gap in a panel data with repeated time values
Heteroscedasticity + Multicollinearity in panel dataHello, I am in the proceedings of my bachelor thesis and I collected a panel data set of 22 countrie…
What type of model(s) can I use for my (definitely not linear) dependent variable?I have dependent variable, measured with a range of 0-100% (nevertheless it takes on fairly few vari…
changing the color of just one bar in a single category bar chartIm trying to generate a bar chart with one of the bars representing the average value across all IDs…
how can i comment the coefficient between latent variable and outcome (categorical 0,1)how can i comment the coefficient between latent variable and outcome (categorical 0,1) such as this…
-oaxaca- not correctly calculating the difference between groupsHi, I am using the -oaxaca- command and appear to have errors in my results. I am calculating the de…
Subscribe to:
Post Comments (Atom)
0 Response to dependent variable with gap in a panel data with repeated time values
Post a Comment