Hello@djrisks I found this code really helpful. I improved on it as follows Simple Regression Model Proc glm data= Tdata; ods output FitPlot = Fit_Plot; where LBTEST in("Alanine Aminotransferase"); model LFTvalues = bckTrans_auc/ solution; run; The Plot proc sgplot data = Fit_Plot; scatter x = _X3 y = _YVAR ; series x = _XCONT1 y = _Predicted_FIT; keylegend "series_leg" / exclude=(""); yaxis label = "AST (Units per liter)"; xaxis label = "AUC(h*ng/mL)"; run; The above code just gives me a scattered plot with a regression line. I would like some help with improvement on this script to give me the attached sample plot where the regression line is aligned within the bounds of 95%CI. I will appreciate any assistance I can get.
... View more