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
Outreg2 Questions relatd to the regression constant term, Missing R squared, and having Multiple tables in one docHi, Code: xtivreg ChgLCon (L.Underperformance_Peer=L2.Financial_Crisis) L.Cost_Income_Ratio L.HH_…
Data Editor - Toolbar QuestionGood morning, Is it possible to put the 'New Do-File Editor' toolbar icon on the Data Editor toolba…
bysort commandHello, I have a clarificatory question about the bysort command. Suppose in my datafile HHID is the …
Deriving R2 with mi estimate: mixedHi everyone, I am interested in tabulating the mean level 1 explained variance Array and mean total …
Multicollinearity, VIF and interactionHello I have seen many posts (questions and responses) related to multicollinearity, VIF and interac…
Subscribe to:
Post Comments (Atom)
0 Response to Renaming New Variables' values
Post a Comment