I am conducting a cross-sectional study of UK firms. I have created a variable (ind1) that groups the firms into 11 industry categories numbered 1 to 11. I want to replace these values with industry names i.e. 1 = Natural Resources, 2 = Manufacturing etc. How do I go about this considering the variable ind1 is numeric? Do I first convert that to a string variable and literally type out a replace command for each category?
Related Posts with Renaming New Variables' values
grstest output into excelHello everybody, Do you know how I can extract the results from a GRS-test into a table? My curren…
Sorry for the double post, there was a bugSorry for the double post, there was a bug …
Importing Json-formatted data from a .txt file into stataDear Statausers, I am facing the following: I have received a .txt file containing data in json for…
RegressionHello guys, I wanted know how to at least explain the coefficients. Help! HTML Code: regress log_…
Obtaining predicted values after regressionDear all Thanks for helping me in advance. I guess my problem is not that difficult to solve. Yet I …
Subscribe to:
Post Comments (Atom)
0 Response to Renaming New Variables' values
Post a Comment