Hi,
I just imported a csv using the import delimited command. It imported with no errors or warnings however when I tried xtset the panelvar had a period in the name and I got the misleading error message "factor-variable and time-series operators not allowed r(101);" I was also unable to rename the variable. Eventually, I just opened the csv in excel changed the name and re-imported the edited file. Everything is fine, but wanted to post to see if there was an option in the import command to deal with this in the future. It also seems like it may be helpful to others.
Regards,
Dustin
Related Posts with Is there an import delimited option to remove "." from variable names?
where can i find "pprob" and "nbprob"?I'm using Stata 11 and have been able to find the nbvargr script, but it requires that nbprob and pp…
Adjust tests for size in MataHi Stata/Mata users, I have the following issue. I have to adjust t-tests for size so that their tr…
Merging two datasets based on first and last namesHi! I'm working on an analysis of student performance. I have 2 lists- list A contains the names of …
IV regression issuesI have the following school level data with MSA indicators metaread, and other controls. Here is a s…
Bysort with generation of variableI am trying to calculate the daily mean of a variable contingent on various conditions. For example,…
Subscribe to:
Post Comments (Atom)
0 Response to Is there an import delimited option to remove "." from variable names?
Post a Comment