Wrapping the parmby in single quotations keeps the parmby from executing:
. parmby `"regress mpg weight if inlist(make_1, "Datsun", "Buick")"', l(*)
You must specify at least one of the four options:
list(), saving(), norestore, and fast.
If you specify list(), then the output variables specified are listed.
If you specify saving(), then the new data set is output to a disk file.
If you specify norestore and/or fast, then the new data set is created in
the memory,
and any existing data set in the memory is destroyed.
For more details, see on-line help for parmby and parmest.
r(498);
The problem here is that the minimum abbreviation for -list()- is -li()-
and not -l()-. The following works for me: