My apologies for very basic question.
I want to sort by year and create a dummy variable that will take a value of 1 if the value of the variable is in top 10% in that year and zero otherwise.
Many thanks for your help.
I want to sort by year and create a dummy variable that will take a value of 1 if the value of the variable is in top 10% in that year and zero otherwise.
Many thanks for your help.
Comment