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

st: New version of -eclplot- on SSC


From   Roger Newson <roger.newson@kcl.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: New version of -eclplot- on SSC
Date   Wed, 06 Apr 2005 15:24:29 +0100

Hello All

Thanks to Kit Baum, there is a new version of the -eclplot- package downloadable from SSC. In Stata, use the -ssc- command to find out more and to download.

-eclplot- (described as below on my website) is a unified Stata 8 program for making confidence interval plots. The new version adds a new option

supby(varname [, suboptions])

which allows the user to create superimposed multiple confidence interval plots with different styles, one for each value of the variable -varname-. For instance, the user can create plots where confidence intervals for female parameters are displayed as circles with whiskers and confidence intervals for male parameters are displayed as squares with whiskers. Or the user can create a Cochrane forest plot for a meta-analysis, in which the confidence intervals for individual studies are squares with whiskers (weighted by study size) and the summary confidence interval is a diamond with whiskers (weighted by the sum of study sizes). The new option is accessible both in command mode and in dialog mode.

I would like to thank John Moran for suggesting that something like the -supby()- option might be a good idea, and Jean Marie Linhart, James Hassell and Vince Wiggins of StataCorp for all their helpful advice.

Best wishes

Roger


-----------------------------------------------------------------------------------
package eclplot from http://www.kcl-phs.org.uk/rogernewson/stata8
-----------------------------------------------------------------------------------

TITLE
eclplot: Horizontal and vertical confidence interval plots

DESCRIPTION/AUTHOR(S)
eclplot creates a plot of estimates with lower and upper confidence limits
on one axis against another numeric variable on the other axis. The estimates
and lower and upper confidence limits are stored in three variables, in a
data set with one observation per confidence interval to be plotted. Data
sets with such variables may be created manually (using a spreadsheet),
or using the parmest package, or using statsby or postfile in official Stata.
The user has a choice of plotting the confidence intervals horizontally or
vertically, a choice of plot styles for the estimates, and a choice of range
plot styles for the confidence intervals. It is also possible to overlay
the confidence interval plot with other plots using the plot() option,
and to overlay.multiple superimposed confidence interval plots using the
supby() option. eclplot may be used either as a command or through a dialog.

Author: Roger Newson
Distribution-Date: 05april2005
Stata-Version: 8

INSTALLATION FILES (click here to install)
eclplot.ado
eclplot.hlp
eclplot.dlg
eclplot_98s.dlg
-----------------------------------------------------------------------------------
(click here to return to the previous screen)

--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
Division of Asthma, Allergy and Lung Biology
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
Website: http://phs.kcl.ac.uk/rogernewson/

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