Hello,
I am using the 2018 dataset from Latinobarometro. A lot of variables are named something like "P10STC.B". I have been trying to rename them, but keep getting errors.
" not allowed in oldname
Syntax is rename oldname newname
You used . in oldname, not newname. . is used in newname to indicate that the corresponding wildcard in
oldname be skipped. E.g., "rename a*b* a.b*" removes what is between a and b; variable ausbvalue would be
renamed abvalue.
r(198);"
Please let me know how I can rename those variables. I know those are invalid names, and Stata does not recognize them. Thank you for your help.
Related Posts with Problem Renaming Variables That Contain "."
What are the control terms for a triple difference estimator?Hi, I am running a triple difference estimator to look at the effect of the EPA's pollution non-att…
Error: data not sorted, even though I have sorted themHello, I am working on a project where I want to study how inheritances affect labour supply of rec…
Merge to dataset for a diff-in-diffHy everybody. I am a graduate student working on the thesis. I'm studying how the quality of school …
Panel regression with time dummiesHi, I've just done a fixed effect and random effect regression with time dummies for both, and the …
Unconditional quantile regression with fixed effectsHello, Can you please help me with the following: I want to run an unconditional quantile regressi…
Subscribe to:
Post Comments (Atom)
0 Response to Problem Renaming Variables That Contain "."
Post a Comment