Hi,
I want to rename all the variables by adding _year to all of them at the end (eg. religion_2005). However, I cannot understand if there is a command which will allow this. Just like there is a command for adding a prefix.
I have more than 1,000 variables and renaming for each variable can be a very tedious task.
Related Posts with How to rename all the variables?
r(1400) after meglmHi together, I tried to use meglm models according to this tutorial: https://stats.idre.ucla.edu/st…
Obtain new variable after 3 consecutive signals and generate new values after 6 and 8 periodsHi! With the variable buy_signal I've created buy signals. I have the following rule after which I w…
cluster on firm or two-way level?Hello all, If the model is y_it = x1_it + x2_it + x3_t + e_it, which means there is a time-serial v…
Fill in the missing valueHello, I want to ask about how to fill in the missing values in my variables without having to do it…
can we generate 0,1 and missing values simutaneously? Code: gen A = B==0 & C==1 replace A = . if B== .| C==. In other words, can we simplify the two …
Subscribe to:
Post Comments (Atom)
0 Response to How to rename all the variables?
Post a Comment