Hi,
I have data on the employment level by industry and I want to enter them into Stata via the data editor. I am not sure as to whether I should choose to enter the industry classifications (NACE) with their names as a string variable and then encode this if I need to when actually using the dataset or whether I should number the NACE categories and enter the variable as a float with 1- n categories and just create and attach value labels to these (meaningless) categories.
Lastly, can string variables be used in any analysis in this form or they always have to be encoded beforehand.
Many thanks in advance
I have data on the employment level by industry and I want to enter them into Stata via the data editor. I am not sure as to whether I should choose to enter the industry classifications (NACE) with their names as a string variable and then encode this if I need to when actually using the dataset or whether I should number the NACE categories and enter the variable as a float with 1- n categories and just create and attach value labels to these (meaningless) categories.
Lastly, can string variables be used in any analysis in this form or they always have to be encoded beforehand.
Many thanks in advance
Comment