Hello!
I would like to import a .txt file (which I created in Mplus, .raw would also be possible) but Stata cuts my id variable so it has the value 3.50e+07 instead of 34997702. I know that I can rise the type and format in the data editor but the id 30838101 turns to 30838100 whereas 30838102 stays the same.I have already tried the dictionary command but my Stata says that the command is unrecognized.
How can I tell Stata right from the beginning that I do not want abbrevations but my real id variable?
Thanks in advance!
Related Posts with infile command cuts off the id variable
loop for if for making graphs...Hi statalist, I would like to make a graph using lowess command by treatment group. I have 10 treat…
Importing multiple excel filesI have a folder named "Data" with 8 xlsx files. These files are for 4 variables (PRICE, gRDEF, gRNDE…
Grouping neighborhoodsHello, So I have a variable that indicates the neighborhood in which the person lives. How can I gr…
Is PCA appropriate with binary data?I have been working on a multilevel logistic regression with stunting as the dep var and individual …
Sensitivity Analysis after mediation analysisDear Statalist members, I am trying to conduct causal mediation analysis and sensitivity analysis, …
Subscribe to:
Post Comments (Atom)
0 Response to infile command cuts off the id variable
Post a Comment