Hi! I'm running a Python code that opens Stata and runs a do-file. After the do-file is run I would like to continue with my Python code and for that I would like to add at the end of the do-file, a line that closes Stata. That's because the way I came up to continue running my Python code after the do-file is run is to check whtehter Stata is a process on Windows or not. As I cannot manage to close and exit Stata, Python checks whther Stata is a process and the answer is still yes.
I hope I've been clear with the explanation of my problem. Thanks
Related Posts with Exit Stata after run do-file
How to store a variable's value label into a global macro?Hi stata masters, I want to store a variable's value label into a macro, and then I use this macro …
reshape monthly dataHello Everyone, I am here stuck unable to reshape a panel monthly data from US states. I extracted …
Building Tertiles based on Observations inside a Variable.I'm trying to see high, intermediate and low volume centers based on Number of Patients treated in t…
psychometric conversion scale - standard score to z-scoreI have a number of variables which are standard scores or scaled scores (language and congnitive tes…
Calculating significance between model coefficients in different modelsIf I want to calculate if the difference between coefficients in two different models is statistical…
Subscribe to:
Post Comments (Atom)
0 Response to Exit Stata after run do-file
Post a Comment