Hi,

I'm new to STATA and getting the hang of it. I have a list of 10k directors who hold board positions in one or multiple countries. I'm trying to create a categorical variable where in my command is "recode uboards_fe (1 = 0) (2/8 = 1), generate(Prominent Director)" but every time I enter this command I get an error: the number of new and transformed varnames should be the same. Can someone please explain what I am doing wrong?

Regards,
Raghavendra