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?
Generating a variableI have a variable that measure money (M) whats the command to generate a new variable "m.lower" whic…
Present 3 regression models in a single tableI have done three regressions in STATA. All variables are same, but in the 'country_name' variable (…
Interpreting the r and adjusted r square value in an arima modelHello, i have been working on some time series data for the last couple of days which has required t…
Matching two samples by the same year/industry/provinceDear Stata experts, I have a sample of firms committed fraud. It has 1,700 observations. The format…
Ordered Probit PostestimationDear all Stata users, I have been trying to do postestimation for a ordered probit model for each o…
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