Hello,
I am working on generating line graphs using proc sgplot vline and I am having some difficulty assigning confidence intervals to my data points. I am able to generate the line but no confidence intervals for each data point.
Below is the code I have been using:
proc sgplot data=CAUTI2;
vline SummaryYM / response=SIR stat=mean limitstat=clm;
yaxis grid values=(0 to 2) valueshint;
refline 0.6963750 0.3762621 1.0164879 / label = ('SIR(mean)' 'UCL' 'LCL');
yaxis label='SIR';
title 'SIR Trend of CAUTI in Acute Care Hospitals in 2018';
run;
SAS Output
GRAPH1 is the desired output.
Thank you for your help!
Savannah