Hi!
I have a dataset, where my variables are named with _smallt2 or _larget2. I'm trying to rename these variables such that, _smallt is replaced by '1' and _larget is replaced by 2. Does anyone know how I can do this on Stata?
Thanks.
Related Posts with Renaming variables
Using a nested foreach loop to merge and then append multiple files from multiple folders into one dataset.Essentially, I have a few thousand text files, for which I have a nested foreach loop to import them…
Difference in Difference (DiD) with xtabond and xtdpdsysHello everyone, I am trying to work out how to complete a DiD analysis with Difference GMM and Syst…
P-ValueCan some one explain to me what this piece of code is doing? I know it is related to creating a P-Va…
Age Period Cohort analysis GraphsHi everyone! I have just fitted a regression model using apcfit command. I would like to build a gra…
multilevel models with non-nested dataHello, I'd like information about multilevel models with non-nested data. . Could someone indicate a…
Subscribe to:
Post Comments (Atom)
0 Response to Renaming variables
Post a Comment