Bookmark and Share

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

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

Re: st: Constructing error bars with 95% confidence interval

From   "Roger B. Newson" <[email protected]>
To   [email protected]
Subject   Re: st: Constructing error bars with 95% confidence interval
Date   Thu, 03 Apr 2014 17:25:27 +0100

I think you might like to use the -eclplot- package, which you can download from SSC. If you have 4 variables in a dataset, containing, respectively, the estimates, the lower limits, the upper limits, and the parameter ID variable against which the confidence intervals are plotted, then you can type something like

eclplot estimate_varname clmin_varname clmax_varname parmid_varname

and get the plot you seem to want.

I hope this helps.

Best wishes


Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology, Occupational Medicine
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 7594 7931
Email: [email protected]
Web page:
Departmental Web page:

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

On 03/04/2014 15:04, Micky Padway wrote:

I am trying to construct error bars with 95% intervals around each
observation.  Can someone shed some light as to how I might do that?


*   For searches and help try:

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