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
transition matrices in bar chartsHello, I want to convert my transition matrix (see data/code below) into a "transition bar chart" a…
clogit/cmclogit omitted variablesHello, I'm having trouble when running a simple clogit command. My choice experiment is a labeled o…
Multiple linear regression - residuals not normal?Hi everyone, I'm running a multiple linear regression with 170 cases. To check for normality of res…
Creating a string variable based on values of different variablesDear statalisters, Let's say I have 5 different variables that can take values ranging from 1 to 10.…
scatterplots for binary variablesHi, I am very new to Stata so please forgive me if this is a very basic question. I have a binary v…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with outfile
Post a Comment