Dear all,
I want to get three models like this:
logistic cancer var1
logistic cancer var2
logistic cancer var3
logistic cancer var1 var2 var3
How can I create a macro to catch that?
Maybe the kind of local macro below is what I want.
local list var1 var2 var3 varX, in which varX include var1 var2 var3.
Thank you very much!
Sincerely
Ya
Related Posts with create a complex macro
Is it possible to use the Stata-python integration module inside of foreach Stata loop?Hello, I am trying to execute the code below and it is giving me an error, mainly because the Stata…
Wrong coefficient in a fixed effects panel regressionHello, I'm trying to regress the impact that fiscal rules might have on the Primary Balance of a Co…
stata command unrecognized r(199) errorHello, I am trying to run the Stata code below, and everything runs except at the very end I am gett…
Fixed effects (in Accelerated Failure Time Survival Model), Cross-sectionalHi, For my research I am examining private equity strategies and their subsequent exit-types. My da…
range function generating over 400 missing valuesHello, I am trying to make a Stata variable that stores 20 numbers between 0 and 1. I am using the …
Subscribe to:
Post Comments (Atom)
0 Response to create a complex macro
Post a Comment