I was looking at some guide and saw them using the commands cd, global datadir, global dirresults. I understand that cd defines the working directory (place where we want the results/output to be stored upon execution of commands) and global datadir is just a global macro that we can use to store a file path. However, I still cannot differentiate difference between cd and global dirresults. Can anyone explain? Thanks!
Related Posts with Global macros
Panel data mapHi, I want to map my panel data neatly. I've id & t. I've 5 agricultural crop variables. I've …
Can I cite the name of the do file?In the do file, I want to save the data using the name of the do flle, how to cite it using macros? …
Counting dummy for a group of multiple variablesHi all, I am trying to accomplish a simple count, but I still am not able to get what I want after …
How can I count the observations by year (intervals) AND by country?Good day, So I have a data set (panel data) counting lots of variables. But for now I am only inter…
Trying to do Rolling Standard Deviation give me this error. Can someone help ?Here is the command: tsset GVKEY_n Year rolling sd_NIBE=r(sd), window (4) clear : su NetIncome And…
Subscribe to:
Post Comments (Atom)
0 Response to Global macros
Post a Comment