Hi all,
I'd like to know if there is a way of obtaining the location of a do-file from within that do-file. The use case I'm thinking of is writing a do-file that imports some data located in a constant relative path to the location of that do-file. I'd like to be able to import those data regardless of where the absolute location of the do-file is, as long as the relative location remains the same.
Thanks,
Miguel
Related Posts with Is there a way to get the location of a do-file from within that do-file?
Large coefficients for FE, POLS and REGood day to you I am estimating Tanzania export performance using gravity model , and my coefficient…
Inconsistent results between xtpoisson and marginsHi Statalisters, I am using -xtpoisson,fe- count data model to analyze my panel data. The dependent…
How to apply maximum value to a whole group using StataHello, I want to generate a variable (max_count) wherein, for a given group ID, if the value of "co…
Trouble merging multiple files with a loopHi, I have 62 files that are numbered in sequential order (1,2,3...) that I want to merge into and …
Multinomial logistic regression in paneldata: femlogit vs. mlogit,cluster(panelid)Dear all, I would like to run a multinomial logistic regression for (unbalanced) panel data in Stat…
Subscribe to:
Post Comments (Atom)
0 Response to Is there a way to get the location of a do-file from within that do-file?
Post a Comment