Hi!
I am using the outfile command to export a dataset.dta into csv:
outfile using dataset.csv, comma replace
The dataset contains 5,000 observations and 12 variables in Stata. After running the outfile command, I opened the dataset.csv file and contains 10,000 observations and 9 variables. I have no clue why this happens, if useful: Stata database contains zero missings values, and I already imported other four dataset with less variables with no problem.
Thank you in advance!
Related Posts with Problem with outfile
Stripplot -Hi to everybody Below the dataset Code: * Example generated by -dataex-. To install: ssc install …
Monte Carlo simulation comparing output for OLS and 2SLS by saving beta and se's in matrixHi In my simulation I am trying to compare output from OLS and 2SLS. I have the following code which…
dropping observations if variable is zero between time periodHello, Could someone please help me dropping some observations? I'm investigating the influence of …
Combining two categorical income variablesHi, I'm using a cumulative dataset of the European Social Survey from 2002-2018. In my analysis I wa…
Using drop-command for a variable depending on the value of another variableHi, for my cumulative dataset (European Social Survey 2002-2018) I have a variable which measures if…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with outfile
Post a Comment