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

st: varlist with both ~ and -


From   Roger Harbord <[email protected]>
To   Statalist <[email protected]>
Subject   st: varlist with both ~ and -
Date   Fri, 20 Feb 2004 16:25:17 -0000

Why can't you combine the ~ and - conventions for abbreviating a varlist?

i.e. :

. describe ca1endometriumq35f - ca1haematologicalq35h

works, as does:

. describe ca1~q35f ca1~q35h

but this gives an error:

. describe ca1~q35f - ca1~q35h
- invalid name
r(198);

I can't see any good reason why the first two are OK but not the third.

(I'm using Stata/SE 8.2)

Thanks,
Roger.


*
*   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