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

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

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

Subject |
st: Re: How to graph point estimate with twoway confidence intervals |

Date |
Sun, 1 Mar 2009 12:37:45 +0100 |

<>

************ g diff=cciu- ccil+ yciu- ycil tw (sc yll cost [aw=diff], msymbol(oh)) (sc yll cost, msize(small)) ************

HTH Martin _______________________

To: <statalist@hsphsun2.harvard.edu> Sent: Sunday, March 01, 2009 1:27 AM Subject: st: How to graph point estimate with twoway confidence intervals

Dear statalist, I have a dataset which contains following variables - group - outcome (yll) - cost (associated with the outcome) - upper and lower confidence bounds for both outcome and cost All variables have one observation per group as follows +--------------------------------------------------+ grp yll ycil yciu cost ccil cciu -------------------------------------------------- 1. 1 838 221 1449 608.7 558 1572.6 2. 2 257 62 408 178 163.2 459.8 3. 3 534 138 908 369.8 339 955.4 4. 4 546 139 908 378.1 346.6 976.8 What I'd like to do is a twoway scatter of outcome versus cost with added confidence/uncertainty bounds of both outcome and cost for every point in the scatter in the form of an ellip or circle. I've had a look on the -ellip- command, but this requires at least three observations per group for operation and that I don't have unfortunately. I would very much appreciate all the suggestions on how this type of graph might be produced. Best regards, Taavi ---- Taavi Lai Public Health Department University of Tartu Ravila 19, Tartu 50411 Estonia * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/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/statalist/faq * http://www.ats.ucla.edu/stat/stata/

- Prev by Date:
**st: Re: An Introduction to Stata Programming** - Next by Date:
**Re: AW: st: AW: RE: Problem looping over spells for an individual** - Previous by thread:
**st: Re: An Introduction to Stata Programming** - Next by thread:
**Re: AW: st: AW: RE: Problem looping over spells for an individual** - Index(es):

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