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?
Ordered Probit: discontinuous region with missing values encountered when estimating Marginal effectDear Statalist I am using ordered probit model. While calculating the marginal effect it showing th…
Repeated measures with informative censoring time / competing eventHello all, This isn't necessarily a Stata-specific question, but more of a general statistical ques…
Ordered logistic regression with panel data and an interaction term between two binary independent variablesHi Users, I have a panel data set covering the years 2011-18 but mainly focusing on 2015-16. I am a…
Why are my variables being omitted by Stata?I'm doing a random effects model. I have a dummy per treatment, which would be "Message", "MessageTa…
Generating a variable based on other variableDear Profs and colleagues, I am going to generate a variable that shows how many export varieties f…
Subscribe to:
Post Comments (Atom)
0 Response to Is there an import delimited option to remove "." from variable names?
Post a Comment