Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: significance stars on stata plots


From   "Roger B. Newson" <[email protected]>
To   [email protected]
Subject   Re: st: significance stars on stata plots
Date   Mon, 01 Jul 2013 20:37:19 +0100

I don't know if you use the -parmest- and -eclplot- packages. However, the commmands of the -parmest- package have a -stars()- option, to generate a string variable containing the stars. And the -eclplot- package has an -addplot()- option, allowing the user to display these stars as an additional plot superimposed on the confidence interval plot. The online help for -parmest- and -eclplot- contain references to various presentations and Stata Journal articles on the use of -parmest- and -eclplot-.

I hope this helps.

Best wishes

Roger

Roger B Newson BSc MSc DPhil
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
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/

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

On 01/07/2013 19:49, Slade, Alexander N wrote:
Hello,

Is there a simple way to add significance stars to the various plots (e.g., bar graphs, line graphs, etc.)? For instance, if I wanted to have a bar chart comparing the mean years of education between men and women, is there a way to put a star (or two) on top of the female bar to denote a significant difference?

Thanks,
Alex
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index