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
Help identifying namesDear all, I have a database with over forty thousand observations and I want to identify if the pers…
Renaming with renumbering Code: * Example generated by -dataex-. For more info, type help dataex clear input byte v1 str19 st…
Merge identifier and date within rangeHi all, I would like to merge two datasets by identifier and date within range dataset A: accountnum…
Problem wtih running and exporting first and second stage regressions with ivregress2 an getting the cluster standard errorHello, I am using ivregress2 to run and export the results of first and second stage regressions. I…
Multiple correspondence analysis predictionHi all I am trying to make a multiple correspondence analysis in Stata using the Burt approach. My a…
Subscribe to:
Post Comments (Atom)
0 Response to Imputation
Post a Comment