I have an excel sheet I downloaded as a csv file. The number of observations is over 150,000. I imported the csv file, and noticed some things were off. After checking the number of observations with the original file, the number of observations in the imported file was at around 141,000. I was wondering if anyone knows why a fair amount of observations were dropped after importing the file. (I find this so strange. Also, as a small FYI, I am running on Stata 14).
This does not happen when I import the data as an excel file (.xlsx). However, when I import the excel file as a .xlsx, it runs slower and my variables turn into string variables. I have tried to destring them with destring, replace but it does not destring and reads the variables as non-numeric. I am a little bit at a loss. Thanks for any help and/or leads!
Related Posts with Dropped Observations after Importing Excel Sheet as a CSV File
Why can't SEM or GSEM produce fixed effects regressions?Hi all, I have been experimenting with structural equation modelling, and particularly GSEM in long…
How do I run a model with just coefficients from another datasetDear All, I am trying to validate a risk prediction model using logistic regression on a dataset. I …
boottest with cmp and multiple equationsDear statalist members, I want to use boottest with cmp and mulitple equations, and I don't know ho…
Time dummies or Time trend?Hello everyone I have a question about time dummies and time trend, I hope someone can help. I have …
Issues with Oaxaca DecompositionHi Community, I am currently doing a group project at university to analyse firm size effects on fe…
Subscribe to:
Post Comments (Atom)
0 Response to Dropped Observations after Importing Excel Sheet as a CSV File
Post a Comment