Hi,
I am dealing w panel data and have a string variable (rating) that takes on let's say the values A B C D E. I want to recode these values so that I have A B E, where B = B + C + D. So, if the rating takes on the value B, C, or D, it will now be coded as B. Is this possible at all?
Thanks,
Sandra
Related Posts with Adding string variables together
Calculate number of firms based on condition Code: +----------------------------------------------------+ | id year country …
GLS Estimation in Eaton-Kortum (2002): Two-componet error and importer- and exporter- FEDear Stata users, I am using Eaton and Kortum (2002) General Equilibrium model, so I have to estima…
Title on second y-axis when using by-optionHi, Any suggestions on how to put a title on the second y-axis when combining multiple y-axes with …
GLS Estimation in Eaton-Kortum (2002): Two-componet error and importer- and exporter- FE interpretationDear Stata users, I am using Eaton and Kortum (2002) General Equilibrium model, so I have to estima…
Interpretation coefficient Latent profile analysis with a mixture of continuous and dummy variablesDear Stata users, I am running a Latent profile analysis using a mixture of continuous and dummy var…
Subscribe to:
Post Comments (Atom)
0 Response to Adding string variables together
Post a Comment