Hey guys,
We have a dataset with observations ranging between years 2006 and 2015. This is observations from different firms with observations for each of the mentioned years. We have a dummy variable ranging between 2011 and 2015 of values 1 and 0. We want to make a new dummy variable that is equal to 1 for all observations for all years if the previously mentioned variable has taken a value of 1 after 2011 at any point in time and zero otherwise.
Any suggestions? Inputs are much appreciated.
We have a dataset with observations ranging between years 2006 and 2015. This is observations from different firms with observations for each of the mentioned years. We have a dummy variable ranging between 2011 and 2015 of values 1 and 0. We want to make a new dummy variable that is equal to 1 for all observations for all years if the previously mentioned variable has taken a value of 1 after 2011 at any point in time and zero otherwise.
Any suggestions? Inputs are much appreciated.
Comment