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
Issues with loop used to drop observationsHello, everyone, The data that I'm using has been delivered to us with duplicated patient IDs. Thes…
The workflow of data cleanHi! Does anyone know how to make the data cleanning process automazation? Any time I got some new or…
Wrapping up twoway plots using loopHi, Using the codes below, I could nicely plot my data and retain my plots of interest using gr comb…
Calculate the difference of the value of one observation with the average value for observations in other groupsHi everyone, I have a question of how to use stata to calculate the difference of the value of one …
Ivreg2 -Endogeneity and Hansen J statisticsHello all, I'm currently working on a cross-section with iveg2 (gmm2s to address the heteroskedasti…
Subscribe to:
Post Comments (Atom)
0 Response to Exit Stata after run do-file
Post a Comment