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--
Losing a value after dropping duplicatesHi everyone I need a general code to fill the remaining cells at "cvcie0" for the same "gvkey" and…
Rename Variables using a loopGood morning My problem is the following. I would like to rename my variables using a loop. My initi…
xtunitroot error 'too many variables specified'Good afternoon. The dataset looks like this: Code: * Example generated by -dataex-. For more info…
Reshape dataset including variables names as an additional variableHello Statalist community, I don't have yet much experience using Stata and hope you can help me wi…
How to select optimal GMM modelGreetings, I am estimating several specifications for the macroeconomic determinants of non-perform…
Subscribe to:
Post Comments (Atom)
0 Response to Question about the command --tuples--
Post a Comment