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
Location Specific EffectsHello, I am estimating a regression model predicting the odds of openness to PREP among foreign born…
twoway connected or xtlineYear Country FDI year 2000 Cambodia 4.0501412 2000 2001 Cambodia 3.742602 2001 2002 Cambodia 3.38289…
Why cannot I add note to this graph by using the following code?twoway (scatter astate year) (scatter awagepre year, yaxis(2)title(wage premium)) , ytitle(State emp…
Automating the Creation of a Table to Report Summary Statistics Net Panel and Time Fixed EffectsHello Statalist, I am attempting to automate the creation of a summary statistics table to report t…
Person-Specific IndicatorI have firm-year level data. I want to create person-specific indicators (not firm-specific). Howeve…
Subscribe to:
Post Comments (Atom)
0 Response to Importing variable with special characters, strings and numbers
Post a Comment