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 "."
Fixed Effect troublesHello, I'm a first-time poster and newbie to the world of Stata. I am trying to estimate a fixed eff…
Scatter of a localHi, is it not possible to create a scatter of a local variable? I'm evaluating the difference in the…
Attrition and OLS estimatosHow can I prove that the attrition bias affects or does not affect my OLS estimator? Can I do it wit…
Reg without constant termHi, I know that when I estimate a regression with fixed effects the constant term should not be inc…
Help with Stata's GraphsHi I'm trying to build a Graph on Stata but the variability of my Data is very high. I need to buil…
Subscribe to:
Post Comments (Atom)
0 Response to Problem Renaming Variables That Contain "."
Post a Comment