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

st: New package -qrowname- on SSC


From   Roger Newson <roger.newson@kcl.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: New package -qrowname- on SSC
Date   Thu, 14 Nov 2002 17:30:27 +0000

Dear All

Thanks to Kit Baum, there is now a new package -qrowname- downloadable from SSC. It contains 2 programs, -qrowname- and -qcolname-, which extract matrix row names and column names, respectively, into lists of double-quoted names returned in the r() results. The programs therefore do the same as the extended macro functions -roweq-, -coleq-, -rownames-, -colnames-, -rowfullnames- and -colfullnames-, except that the returned name lists contain double-quoted names instead of unquoted names. This is useful if the names contain spaces and/or single quotes, which often happens if the matrix is an estimation result from a multinomial logistic regression using -mlogit-, and the multinomial outcome variable has value labels, which are copied to the row and column equation names. (If the value labels contain unpaired right double quotes, then even -qrowname- will fail, but fortunately this does not often happen.)

Best wishes

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: roger.newson@kcl.ac.uk

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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index