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