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 on April 23, and its replacement, 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 <>
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


On Sun, Nov 27, 2011 at 2:36 AM, ann montgomery <> 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:

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