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?
Difference in cumulative incidence and confidence intervalI want to compare cumulative incidence for two arms of a cohort at time _t and generate confidence i…
When to winsorize the dataHello everyone, for the first time I am working with variables that are aggregated at the country-y…
graph bar with both exclude0 and stack - any way to both stack and control the y axis range?Hello Statalist, I'd like to use graph bar with both its exclude0 and stack options. In other words…
Difference between two predictions after a log-linear regressionHello everyone, I am working on cross section data and I am trying to run a simulation of the impac…
adding zeros before the valueHello, I have this dataset and want to add 0s to before Company if the Company length is less that 6…
Subscribe to:
Post Comments (Atom)
0 Response to Is there an import delimited option to remove "." from variable names?
Post a Comment