Dear Stata users,
I am experiencing problems in importing a variable from a csv file. This variable values contains #, %, numbers and strings (example "1MISE#CSEE-N0115-CZ-1"). The problem is that these are imported all as numeric missing values. My guess is that special characters (# - %) cause the problem. Do you have a fix for this? My idea is to modify all csv's using other programs but I would rather do this directly importing the variable directly in Stata. I am currently using Stata14.
Thank you in advance for your answer.
Related Posts with Importing variable with special characters, strings and numbers
Filling in missing values in long dataset using other variableHello, I have a long dataset of clinic visits that is currently formatted in a strange way, with a …
Grouping every 10 observationsHi everyone, I was wondering if there was any way to create a variable that groups every 10 observa…
"Hessian is not negative semidefinite" when using xtmixedHi, I am analyzing several waves of longitudinal dataset to see whether there are significant inter…
Is -xtregar- a large N, or a large T estimator?Good evening, I spent about 40 min reading the manual, and reading Baltagi and Wu (1999), and I was…
Svy mean for calculating averages using nsso dataI am currently working on the 75th round data NSS, where I need to use survey analysis. I wanted to …
Subscribe to:
Post Comments (Atom)
0 Response to Importing variable with special characters, strings and numbers
Post a Comment