Hey guys,
I work with panel data and I have the following problem.
I've dummy variables from 2 years (2002/2007), but I need to create the dummy variable for the year 2004 with the condition that the identifier is the same. The new dummy of 2004 is 1, if the dummies of 2002 & 2007 are 1. I already added the missing years with "tsfill".
How does the described imputation work?
thank you in advance
Ben
Related Posts with Imputation
Change in probablity of being downgraded as the explanatory variable change from the bottom (30%) to the top (30%) of the sampleDear all, I am sorry to bother you. I was wondering how one could calculate the change in probablit…
Interpretation of clogithet regression (discrete choice experiment)Hi all, For my masterhtesis I've performed a discrete choice experiment. Currently I'm running diff…
Estimating the Effect of a given variable on mortality ratesHi everyone, Below is an example from my dataset. datediag dead dateexit id perdiag agegrp 4429 1 …
Training sample for lasso and them making out of sample predictionsDear All I have created a loop to generate forecasts using a lasso regressions that (I hope) are co…
Spatial Panel Data - matsize Hello everyone. hope you are fine and safe. I have Data for 134 countries from 2004 to 2018. When I…
Subscribe to:
Post Comments (Atom)
0 Response to Imputation
Post a Comment