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
STATA-- How to convert exponential parameters to normal distribution parametersHi everyone, I have a exponential parameters of mean and std. However, I would like to have these 2…
How to create new variable with month and year since May, 2011 as n°1Dear Statalister, I'm trying to create a new variable derived from one date (DateACR_num) which inc…
How to make a point estimate in a mixed model with continuous variablesDear Stata users, I have a mixed model (see the syntax below) with main effects of group (two dicho…
Splines after Cox-modelDear Stata users, I am trying to draw splines using Stata after Cox-model as shown in the below fig…
linear splines with knotsDear Stata users, I am trying to create the following graph using Stata. In this graph, hazard rati…
Subscribe to:
Post Comments (Atom)
0 Response to Importing variable with special characters, strings and numbers
Post a Comment