Announcement

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

  • Combining two graphs and adding the confidence interval

    Hi everyone ,


    I have plotted these two graphs separately but I would like to combine both graphs to one and include the confidence intervals on the graphs:

    Code:
    twoway (connected fidelity bpweeks if Category==1 & inrange(bpweeks,20,40), mcol("blue")) /// (connected fidelity bpweeks if Category==4 & inrange(bpweeks,20,40), mcol("purple"))
    Code:
    twoway (connected fidelity bpweeks if Category==2 & inrange(bpweeks,20,40), mcol("blue")) /// (connected fidelity bpweeks if Category==4 & inrange(bpweeks,20,40), mcol("purple"))
    Is that possible?

    Any help is greatly appreciated

    Thanks

  • #2
    Example via -dataex-?

    Comment

    Working...
    X