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, 01 Sep 2004 17:48:08 +0100

Hello All

Thanks to Kit Baum, there is now a new version of the -eclplot- package available for download from SSC. In Web-aware Stata 8, type

ssc inst eclplot

to install it.

The -eclplot- package is described as below on my website, and produces confidence interval plots. The new version has a full dialog interface, activated by typing

db eclplot

in Stata, so the user no longer has to know the Stata graphics language in order to fine-tune a confidence interval plot. In particular, color options can be selected by selecting "Custom color" from dropdown lists and choosing a color from a pallette. The dialog interface, of course, works by building a Stata command, which is echoed to the Results window, so the user can see at a glance just how many confusingly-named suboptions s/he would need in order to make the graph without the dialog, and cut and paste the command into a do-file for future use when the graph has been fine-tuned.

This version of the dialog is a first attempt at a full dialog interface, in which the user should not need to use any Stata graphics language except if s/he is doing something very advanced. (Previous versions required the user to type suboptions in EDIT boxes.) There is probably a lot of room for improvement. Users should feel free to contact me with any feedback and/or suggestions. In the meantime, I would like to thank James Hassell for a lot of very helpful information and advice about dialog programming (including unpublicised commands), and Jean Marie Linhart for her helpful feedback about previous versions of the -eclplot- dialog.

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, and a choice of range plot styles for the confidence intervals,
and may also overlay the confidence interval plot with other plots using the
plot option. The user may use eclplot either as a command or using a dialog.

Author: Roger Newson
Distribution-Date: 1september2004
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
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://www.kcl-phs.org.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