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

From |
"Shehzad Ali" <sia500@york.ac.uk> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: RE: set: simple question - confidence interval plot |

Date |
Mon, 30 Jun 2008 20:27:04 +0100 |

Thanks, Nick. Your solution answers my query. Please accept my sincere apologies for ignoring your earlier advice. Shehzad -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox Sent: 30 June 2008 19:49 To: statalist@hsphsun2.harvard.edu Subject: st: RE: set: simple question - confidence interval plot Only a short while ago I reminded you of the standard Statalist request to explain where user-mentioned programs you mention come from! -civplot- and -cihplot- are user-written programs on SSC written for Stata 6. It is difficult to see why anyone would want to use them unless they are still on Stata 6 or Stata 7. For a problem like this you might as well use basic commands. With these data in memory group mean upper lower A 2.0 3.0 1.0 B 4.0 5.0 3.0 C 2.5 3.0 2.0 D 5.0 6.5 3.5 you could go gen id = _n labmask id, values(group) scatter mean id, xla(1/4, valuelabels) || rcap upper lower id Here -labmask- is part of -labutils- on SSC or separately available from the Stata Journal website: -findit labmask- for locations. Nick n.j.cox@durham.ac.uk Shehzad Ali This is a simple question. I have a set of mean values and confidence intervals from a dataset which I want to plot in a graph. Here is what the reduced dataset looks like: Group Name Mean value Upper bound of CI Lower bound of CI A 2.0 3.0 1.0 B 4.0 5.0 3.0 C 2.5 3.0 2.0 D 5.0 6.5 3.5 Is this the best data arrangement for civplot or cihplot? Whats the best way to plot this? * * 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/ No virus found in this incoming message. Checked by AVG. Version: 8.0.101 / Virus Database: 270.4.3/1526 - Release Date: 30/06/2008 08:43 * * 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/

**References**:**st: set: simple question - confidence interval plot***From:*"Shehzad Ali" <sia500@york.ac.uk>

**st: RE: set: simple question - confidence interval plot***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

- Prev by Date:
**RE: st: RE: labels on bar graphs** - Next by Date:
**st: RE: RE: RE: RE: clorenz syntax** - Previous by thread:
**st: RE: set: simple question - confidence interval plot** - Index(es):

© Copyright 1996–2014 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |