Hello,
I have an Excel file with survey of different approaches for an operation. I imported it into Stata 13. One of the variables is called 'approach'. The values of the 'approach' are: frontal, parietal, occipital, temporal.
When I used the command codebook (.codebook approach) I noticed that the values of the variables do not have label values.
I had tried: label define > ... and then label value .... However, I got an error message: 'may not label strings'
I tried changing the value labels by going to variable manager. However, the 'label value' option was greyed out.
After a 36 hours of working on this I have managed to add label values by encoding the variable 'approach' to 'approach 2'. Is there any other other better way of adding 'label values'?
Many thanks in advance!
Naren
I have an Excel file with survey of different approaches for an operation. I imported it into Stata 13. One of the variables is called 'approach'. The values of the 'approach' are: frontal, parietal, occipital, temporal.
When I used the command codebook (.codebook approach) I noticed that the values of the variables do not have label values.
I had tried: label define > ... and then label value .... However, I got an error message: 'may not label strings'
I tried changing the value labels by going to variable manager. However, the 'label value' option was greyed out.
After a 36 hours of working on this I have managed to add label values by encoding the variable 'approach' to 'approach 2'. Is there any other other better way of adding 'label values'?
Many thanks in advance!
Naren
Comment