[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Stata functions
Apropos of the recent discussion of inlist, I have often wondered why Stata
doesn't allow varlists in functions, but instead requires comma separated
lists. For example,
missing(,a,b,c,d,...) is required. Why not a varlist? I can't quite see any
difference. However, in terms of programming, a varlist is much easier.
reg y a b c if !min(b_*)
is much easier than typing each of the 10 b_ variables which may be long
and easy to misspell.
Fred
Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125 Fax (316) 263-0761
[email protected]
*
* 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/