I need to create a list of variables. The new variables must have the values by a condition.
For example, I want to create v1_d based on v1.
All the new variables have the same names, addiing a "_" to the end as I wrote up.
On Stata this is simple, but here I'm confused.
Thanks for your help