Fellow Statalisters (especially StataCorp):
Are there any Mata functions to input values from, and to output values to, a macro in the calling segment? I was thinking of a Mata equivalent of the undocumented c_local command, which allows the user to reset the values of macros in the calling segment. Ideally, I would like to be able to copy values, in both directions, between a local macro in the calling segment and a variable or dataset characteristic. And, ideally, I would like to be able to do this even if the value cannot be enclosed in compound quotes (as will be the case if the value is an unpaired right compound quote).
Is there a way to do this?
Best wishes
Roger
Related Posts with Is there a Mata function for inputting to and outputting from local macros in the calling segment?
Manager-firm matched sampleDear all, I have the following problem and would be very happy if you could help me out! I downloa…
Choosing the right matching technique for conducting a diff in diff analysisHello everyone, I am struggling with my project and hope to get some advice on the best way to proc…
gen var basen on frequencies?How do i create a new variable based on known frequencies. Fx i have been send a list on frequencie…
Coefficient Interpreation using proportionsHi everyone, I am struggling with the interpretation of my regression results. I use stock returns …
Modify additional key to legend, not ex-post (graph editor)Dear Statalists, I plotted some impulse response functions and I had to combine two graphs and thei…
Subscribe to:
Post Comments (Atom)
0 Response to Is there a Mata function for inputting to and outputting from local macros in the calling segment?
Post a Comment