Hi all,
I have a complicated loop that generates new variables by merging 2 datasets. This loop will have to run around 500 times because the identification variable is what is needed to create the new variable.
I would like to compile an excel sheet that appends these variables into an excel sheet - how can i do this?
Thank you
Related Posts with Append multiple variables created in a loop to an excel file
esttab/teffects/change labelI am using Stata 15.1 use http://www.stata-press.com/data/r13/cattaneo2 eststo: teffects nnmatch (b…
Using loops to search string vars, then generate new indicator variablesI think this is a task that learning to write foreach loops will help me, but not sure how to start.…
Smooth Curves in a Contour Plot?Hello! I've played around with the contour plot command and am wondering if there are ways to smooth…
Panel regression fixed effecs omittedDear all, I am currently conducting a panel regression in Stata with the following variables: Compa…
Bug: Python Error in Stata Function Interface (sfi), Unicode-relatedBug in SFI? Running this Python code in Stata 16.1 Code: sysuse world-d, clear python: import sfi; …
Subscribe to:
Post Comments (Atom)
0 Response to Append multiple variables created in a loop to an excel file
Post a Comment