Great fan of the pystata addition to Stata17 for .ipynb
However, I am a bit irritated by the fact that single '%' does not support arguments to commands like the double '%%' cell magic does.
E.g.
%stata -d myDataFrame
throws r(199): - is not a valid command name., whilst
%%stata -d myDataFrame
works perfectly fine.
What's the reason behind this?
Related Posts with pystata %stata line magic does not accept '-' arguments
Start counter counting missing values after each non-missing valueHi, I would like to start counter counting missing values after each non-missing value by group (un…
Separating string variables with asterisk into two wordsHi, I have variable x1. I am trying to create x2 and x3 as given in the dataex. I used Code: split…
Matrix raised to a certain powerHi all, I am new to mata and have a question related to matrix manipulation in MATA. I have: A = (…
How to get fiited value of trade with ppmlhdfe?Hello, I have a model like this: ppmlhdfe v.d. v.i., absorb (orig_year dest_year) cluster (origin d…
Create an identification variable for a panel dataset based on opening and closing values across yearsHi all, I am trying to identify factories across different years of a survey by matching their open…
Subscribe to:
Post Comments (Atom)
0 Response to pystata %stata line magic does not accept '-' arguments
Post a Comment