Dear all,
I am writing to ask for a problem I met when I tried to import txt. file to Stata. There is a numeric variable called Observation in the file with value of 700,000. I imported the entire file with two variables and two columns using:
import delimited "C:\Users\A\B\filename.txt", varnames(2) numericcols(2)
However, the Observation value was converted to empty cell. I could not find an appropriate command to correct this problem.
Thank you very much in advance!
Best regards,
Scarlett Ling
Related Posts with Missing Numeric Value with Comma When Importing txt. file
merging survey data files - duplicate data problemDear All, I am working on two survey datasets and have encountered the same problem in the small da…
Excluding*data entriesHi, I have something that is confusing me. I have a dataset and want to merge it with another, but …
Variable not found (after others created in the same way)I have the following nested for loops to run the same calculation for different radii, I have bolded…
Generate new variable without duplicatesHello I have one problem, I need to create a new variable: One extrait of my dataset is the followi…
xttrans2 - calculating transitional probabilities for multiple years.Hi, I'm a little confused with regards to the xttrans2 command and obtaining transitional probabilit…
Subscribe to:
Post Comments (Atom)
0 Response to Missing Numeric Value with Comma When Importing txt. file
Post a Comment