I am trying to generate a variable in panel and I am having some issues. I wondered if you could tell me what the command is or a where I can find information about creating the variable.
I want to create a dummy variable taking 0 if the industry an individual worked in did not change over the periods; taking value 1 if an individual worked in more than 1 industry over the time period.
Is there any advice you could give as to how to do this?
Industry is coded from 1-12 and the data has gaps.
Thank you in advance.
I want to create a dummy variable taking 0 if the industry an individual worked in did not change over the periods; taking value 1 if an individual worked in more than 1 industry over the time period.
Is there any advice you could give as to how to do this?
Industry is coded from 1-12 and the data has gaps.
Thank you in advance.
Comment