Hello,
I have a series of variable names PID3, PID4, PID5...PIDn that I want to rename PID1, PID2, PID3...PIDn-2
What's the best way to do this? I know I could by converting the varnames to values, splitting the columns, subtracting 2, and remerging the columns. Is there something a bit more elegant?
Thanks for any help!
Reese
Related Posts with variable renaming with values
For fractional regression, it is appropriate to rank the dependent variable for the concern that the measure is noisy?Hi, I am using fractional regression, fracreg in Stata, to analyze how city's high school student gr…
XSMLE dynamic SDM where beta is constrained to = 0Dear list members, I have a special request estimating a dynamic spatial durbin model. I would like…
Regression rich text file issueHello, I am attempting to transfer the regression to a rich text file. For some reason my regression…
xtpdyn marginsDear all, I've encountered a problem when implementing xtpdyn postestimation. Using this example: xt…
Gini coefficient in a LoopDear all, I need to compute the Gini coefficient over country and over waves. Therefore, I realized …
Subscribe to:
Post Comments (Atom)
0 Response to variable renaming with values
Post a Comment