Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: graphing pre-calculated data


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: graphing pre-calculated data
Date   Sun, 27 Nov 2011 07:57:16 +0000

As far as you are concerned what you have is the dataset.

scatter rate year || rcap upper lower year || lfit rate year

Nick

On Sun, Nov 27, 2011 at 2:36 AM, ann montgomery <ann.montgomery@cghr.org> wrote:

> I have a dataset with rates (y-axis) and its 95%confidence intervals by
> year (x-axis) provided to me. I don't have access to the original dataset.
>
> I would like to graph the rates by year, and instruct Stata to recognized
> the provided confidence intervals of lower and upper intervals, adding
> vertical T-bars to the rates. Then graph a line of best fit through the
> plotted rates;
>
> e.g.
>
> 1990 rate=100 (95%ci 90-110)
> 1995 rate=150 (95%ci 130-170) etc.
>
> I'm stuck as to how to do this..thanks in advance
*
*   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/


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