Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: RE: RE: RE: parmby if=exp for strings


From   Nick Winter <[email protected]>
To   [email protected]
Subject   Re: st: RE: RE: RE: RE: parmby if=exp for strings
Date   Wed, 14 Jul 2004 15:06:55 -0400

This works for me:

parmby `"regress mpg weight if inlist(make_1, "Datsun", "Buick")"' , list(*)

Note that l() is not a valid abbreviation for the list() option; the minimum abbreviation is li(*).

--NIck WInter


At 11:50 AM 7/14/2004 -0700, you wrote:


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);
--------------------------------------------------------
Nicholas Winter 607.255.8819 t
Assistant Professor 607.255.4530 f
Department of Government [email protected] e
308 White Hall falcon.arts.cornell.edu/nw53 w
Cornell University
Ithaca, NY 14853-4601

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index