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?
Questions about "xtrifreg" - Unconditional quantile regression with fixed effects?Dear Statalists, (1) Can anyone help me check robustness for xtrifreg please? And how can I run sim…
Rearranging data using stata codeDear Stata Users, I would like to rearrange the following data sets using a specific "stata-code" r…
Ologit: conditional marginal effect and semi-elastictyDear All, After estimating an ordered logit model, I want to to calculate and draw the plot of cond…
DV DifferencesHi all, In my regression, I should enter Y(t1)-Y(t0) as a dependent variable where t1 and t0 are 10…
Questions about "xtrifreg" - Unconditional quantile regression with fixed effects?Dear Statalists, (1) Can anyone help me check robustness for "xtrifreg" please? And how can I run s…
Subscribe to:
Post Comments (Atom)
0 Response to Is there an import delimited option to remove "." from variable names?
Post a Comment