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

st: RE: xi:


From   Roger Newson <[email protected]>
To   [email protected]
Subject   st: RE: xi:
Date   Tue, 17 Dec 2002 18:27:48 +0000

At 17:04 17/12/02 +0000, Nick Cox wrote:
Hans J. Baumgartner

> Is it possible to refer to the dummy variables, created by xi:?
>
> [...]
> _Iregio_8415
> _Iregio_8417
> _Iregio_8425
> _Iregio_8435
> _Iregio_9189
> [...]
>
> I'd like to avoid stating the variables individually, since
> they are
> simply to many, when testing for there joint significance,
> for instance.
>
> N.B.
>  test _Iregio_*
> does not work.
>

I was puzzled by your posting
yesterday implying that -unab- is
inappropriate, but it does seem to be
what you need:

unab dum : _Iregio_*
test `dum'
or, alternatively, in one line:

testparm _Iregio_*

(See -[R] test- or online -help test-.)

Roger


--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
  or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]

Opinions expressed are those of the author, not the institution.

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