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?
Literature for a larger data set advantagesHello I do a panel analysis over eight years at the provincial level, which unfortunately only give…
Stata doesn't perform function. Do i have to change stata to another program?Dear statalist. I have data 2,000,000 observation. My stata version is 14 MP 8 core. My labtop Intel…
dataset is showingHello, So let me first describe what I am working with and the steps I took. One dataset has for e…
Amemiya-Lee-NeweyI having problems using Amemiya-Lee-Newey test after ivprobit with in regression with 2 instruments.…
Using rcap scatter but can't figure out how to get 2 different colors of markersHi all, moderately new Stata user here using Version 15.1. I have two groups (male and female) to b…
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