Dear all,
I get an error when I run the command --tuples--(SSC).
sysuse auto,clear
global m mpg rep78 weight length turn trunk foreign
tuples $m ,conditionals(1&2) max(5) asis
dis `ntuples'
Traceback (most recent call last):
File "/Applications/Stata 17/ado/plus/py/st_tuples_py.py", line 33, in <module
> >
exec("tuplelist = list(filter(lambda tupl: " + py_condits + ", tuplelist))")
File "<string>", line 1
tuplelist = list(filter(lambda tupl: ("mpg" in tupl and "rep"foreign" in tup
> l8" in tupl), tuplelist))
^
SyntaxError: invalid syntax
failed to execute the specified Python script file
r(7103);
end of do-file
r(7103);
Any help will be appreciated.
Best
Raymond
Related Posts with Question about the command --tuples--
xtnbreg or nbreg/xtgee?Hi, I am trying to run a negative binomial population-average model in Stata 14. However, I am not s…
Creating Dummy Variable each company-year with multiple observationsHi Guys, I'm currently writing my thesis about the influence of the tenure of outside directors on …
What kind of assumption (distribution) does STATA use to calculate proportion 95%CI?Dear researchers, It is my first post. I used stata code to calculate 95%CI for proportion to calcul…
Regression on whether change in a variable is affected by another variable over timeI have data sets for 6 years that have two categorial variables. One of the is race and one of them …
Mediation analysis and dealing with categorical variablesDear altruists, I have an independent variable "tob_smk", dependent variable "multimbd_cat" and "phy…
Subscribe to:
Post Comments (Atom)
0 Response to Question about the command --tuples--
Post a Comment