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
Robust standard errors for Panel Count DataHi Statalisters, I have panel count data and it appears to me that it has rather a negative binomia…
Plotting Matrix as pdf with two values in each cell and coloring with respect to both valuesHello, I'm trying to plot a matrix as a pdf file. There are two things in particular I would like t…
regression by industry and yearHi members, I am trying to run a regression by industry and year. I used the following code but I g…
Plotting robust fitHi, I made a simple linear regression and I used a scatter plot to show it visually. I was trying to…
Using strpos to generate a new variable conditional on the last digit of another stringDear Statalisters, I'm struggling with Stata in handling a string problem. I have a dataset of indu…
Subscribe to:
Post Comments (Atom)
0 Response to Adding string variables together
Post a Comment