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 "."
Table for Regression outputHi I would like to create a regression output table for multiple regressions that displays the coeff…
Calculating intra-class correlation from multilevel parametric survival modelHi Statalist, I'm hoping to calculate the intraclass correlation (with confidence intervals) from a…
Problem with did_multiplegt Code: did_multiplegt ln_gift id month shock , controls(member age gender) robust_dynamic dynamic…
Different Results When Running IV RegressionHi all, This is my 3rd post so far on this topic and I am so lost. Thank you guys so much for havin…
Correct Regression Methodlogy for Panel Data SetHi all, I currently have a panel data set for home-sharing listings from 2014-2021 for each month (…
Subscribe to:
Post Comments (Atom)
0 Response to Problem Renaming Variables That Contain "."
Post a Comment