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
Combining several variables in one datasetHi I am a political science student and quite new to stata I have used primary data from surveyxact…
Randomly assigning treatment status by a group of two variables then running a loop of regressionsDear Statalist users, Assume that I have a dataset that provides information at the firm level. Spe…
collinearity diagnostics for ordered logistic regressionDear researchers, I am trying to get the VIF after running the xtologit but it doesn't work with me…
How to make this graph with stack option?Dear all, I would like to make a graph as shown below. In my simple example, I calculated concentra…
Marking Answer Sheets using STATAI am trying to find a quicker way to mark answer sheets using stata (over 500 answer sheets with eac…
Subscribe to:
Post Comments (Atom)
0 Response to Imputation
Post a Comment