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
Correct Modeling of DataStata Experts: I have been struggling for several days with my data analysis plan and I am hoping f…
PPML for one countryHi, If I estimate a gravity model using PPML from a balanced data panel for a several number of cou…
General xtabond2 queriesDear Statalist, I am examining quarterly data for an unbalanced panel of 11,000+ banks from 1996:Q1…
covariance structure in mixed modelDear all, I've been having problems selecting the correct covariance structure and for my mixed mod…
Not concave issue with multinomiallogit regressionDear Satalis, I hope you are well. I would like to ask please regarding the problem of 'not concave…
Subscribe to:
Post Comments (Atom)
0 Response to Renaming New Variables' values
Post a Comment