I intend to use the `temp' file in multiple DO files, however, the file vanishes as the first do file concludes.
I tried the following commands and variation of it, but all in vain.
tempfile main
save `main',emptyok
global main `main'
use $main
Do1.do
clear
use $mian
Do2.do
clear
Can someone help me out on how to save the temporary file in a global macro rather than a local.
Thanks
Related Posts with global temporary dataset for interactive use in multiple DO file
Fixed Effects Poisson Cluster at Higher LevelDear Community, I need to run a Poisson regression, control for firm fixed effects, year fixed effe…
PPML estimationJoao Santos Silva Dear Joao Santos Silva I am very new to gravity model , your kind suggestion on th…
For excel outputs related to pwcorr command.Dear all I have done a correlation analysis based on "pwcorr" command for my panel data. I used the …
higher polynomial1) Y= X1+ X1*X1+X2 + X1*X2 + (X2)*(X1*X1) i.e. adding not only the interaction with the low level X1…
Graph combine different titles for columnsI use graph combine to combine multiple graphs in two columns and I would like to have two different…
Subscribe to:
Post Comments (Atom)
0 Response to global temporary dataset for interactive use in multiple DO file
Post a Comment