Hi list,
I'm stuggling to create some indicator variables and wondering if anyone can help me on this.
I have a event based data set showing outcomes of an event occuring in countries and years. I want to create a variable indicating whether a particular outcome has previously occured in a country. In addition, I would like to create another variable showing the amount of years since the outcome last occured in each country.
I'm grateful for all advises.
Best regards,
Magne
I'm stuggling to create some indicator variables and wondering if anyone can help me on this.
I have a event based data set showing outcomes of an event occuring in countries and years. I want to create a variable indicating whether a particular outcome has previously occured in a country. In addition, I would like to create another variable showing the amount of years since the outcome last occured in each country.
I'm grateful for all advises.
Best regards,
Magne
Comment