Dear Statalisters,
I'm quite new to Stata and I've run into what seems like a very "basic" problem. I would like to export my dataset from Stata to a csv file, but instead of having variable names on the first row, I need to have variable labels. I know that this is possible for exporting to excel with the code below, but for creating text files this option doesn't seem to exist. Am I missing something here? Is there any easy way to "go around" this? Of course the excel file can then be saved as a csv file, but I'm trying to avoid any additional steps here.
export excel using "test.xlsx", firstrow(varlabels)
Thank you in advance!
Best regards,
Elina
Related Posts with Is it possible to "export delimited" with variable labels instead of variable names?
Model prediction for logistic regression with an interaction termHello, I've built a logistic regression, but I am having difficulty interpreting/rationalising the …
chi2 testGood morning to everybody, I 've a dubt Question1 MALE FEMALE OTHER TOT 1 64 119 7 190 2 28 9…
Interpreting results using gologit2 and autofit features for Partial Proportional Odds ModelHi I am using a partial proportional odds model (ordered) because the Brandt test showed that it vio…
Control function with profit in the first stageHi I am running a regression with a binary endogenous variable in the first stage. I am trying to u…
rolling + averageHello.. I have a difficulty in calculating with stata the following formula. yt= bo + xt with rolli…
Subscribe to:
Post Comments (Atom)
0 Response to Is it possible to "export delimited" with variable labels instead of variable names?
Post a Comment