Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: RE: matrix of significance stars


From   "Newson, Roger B" <r.newson@imperial.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: RE: matrix of significance stars
Date   Fri, 28 Jul 2006 18:39:51 +0100

The P-values are not directly accessible from e(). Nor, usually, are the
confidence limits. However, both are accessible indirectly, using either
-parmest- or Ben Jann's -estout- package, both downloadable from SSC.

I hope this helps.

Roger


Roger Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London 
Royal Brompton campus 
Room 33, Emmanuel Kaye Building 
1B Manresa Road
London SW3 6LR
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: r.newson@imperial.ac.uk 
www.imperial.ac.uk/nhli/r.newson/

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

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Adam Seth
Litwin
Sent: 28 July 2006 18:30
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: RE: matrix of significance stars

Thanks, Roger.  I had another thought.

If estimation commands create a vector of p-values (one for each
independent
variable), then I could just use those to generate zero, one, two, or
three
stars for each independent variable.

That would be easy...except that I don't see an e(p) matrix (not the
scalar
for the entire model) when I type -ereturn list- or -return list- after
estimating a model.  Surely, the p-values must be accessible, no?  But
how?
adam

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Newson, Roger
B
Sent: Friday, July 28, 2006 12:47 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: matrix of significance stars

The Stata matrix language (documented online by typing -whelp matrix-)
supports only numeric matrices, not string matrices. (This is in
contrast to the matrix language Mata, used in low-level programming,
which does support string matrices.) Therefore, we can only produce a
string variable of stars (as in -parmest-), and not a Stata string
matrix of stars.

You might like to write a Mata program to produce a Mata string matrix
of stars. However, I don't know what you would want to do with such a
matrix, once it has been produced.

I hope this helps.

Roger


Roger Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London 
Royal Brompton campus 
Room 33, Emmanuel Kaye Building 
1B Manresa Road
London SW3 6LR
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: r.newson@imperial.ac.uk 
www.imperial.ac.uk/nhli/r.newson/

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

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Adam Seth
Litwin
Sent: 28 July 2006 14:15
To: statalist@hsphsun2.harvard.edu
Subject: st: matrix of significance stars

Hello, everyone.

I am trying to figure out the easiest way to build a matrix of
significance
stars (or other symbols) after either an estimation command or, better
yet,
after building a table of estimates.  I figured there would be something
like e(stars), especially since the estimates table can display them so
readily.  But, short of -parmest-, which makes me build a whole new
dataset,
I'm not sure how to proceed.

Thank you for your help.  adam


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

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

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

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