Good morning,
I am using reshape on Stata 14. I am trying to convert my data from wide to long. I have data from a choice experiment, and each one of the 60 choice variables is called base_choice_n_ , where n is a number from 1 to 60.
Now, the code I am using is
but an error message comes up, saying that question_number (my j variable) contains all missing values. Any advice about this matter would be greatly appreciated!
Kind regards,
Chiara Pastore
I am using reshape on Stata 14. I am trying to convert my data from wide to long. I have data from a choice experiment, and each one of the 60 choice variables is called base_choice_n_ , where n is a number from 1 to 60.
Now, the code I am using is
Code:
reshape long base_choice_, i(id) j(question_number)
Kind regards,
Chiara Pastore

Comment