Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Confidence interval for graphs

    Hi all,

    I am plotted a connected graph using this code:
    Code:
    twoway (connected weekmeanifference bpweeks if CITY==1, mcol("red")) (connected weekmeandifference bpweeks if CITY==4, mcol("purple"))
    CITY
    =categorical data


    Does anyone have any suggestions for the code to use to add confidence intervals to the graph.


    Any help would be greatly appreciated.

    Thanks for your help in advanced.

  • #2
    Eli, you may store the upper and lower bounds of the CI in two separate variables, and add graphs of CI using -twoway rcap- to your -twoway connected- graphs.

    Comment

    Working...
    X