I am interested in listing all of my "input" and "output" files early in my code so that the list is easy to look at and modify. Is there a standard way to do this in Stata?
My best guess is to use global or local macros to store the text of the file path and then call upon those macros later when I need to import that specific data set. I'm not sure how this would work or if another approach would be preferred.
Related Posts with Best way to write "input files" at top of .do file (macros?)
Using pcarrowi dyanmically?Hello everyone, Is there any way to use pcarrowi command dynamically? I'm trying to find a way to i…
Drop empty variables when importing spss into stataI have an spss dataset that has ~27000 variables, but only ~500 include any values. The rest are bla…
Counting variables with a stub across rows in frame, add count to new columnHi all, I am a newbie to Stata, recently transitioned from R. I am struggling with combining the le…
why noconst option generate so different results in Nlogit?Dear experts, I used Nlogit to analyse data. First, I did not include noconst in level 2 equation. …
Longitudinal latent class trajectory analysis guidanceDear Stata users, I am trying to perform longitudinal analysis for the first time, so would appreci…
Subscribe to:
Post Comments (Atom)
0 Response to Best way to write "input files" at top of .do file (macros?)
Post a Comment