Hi Sanjay Please find below the code and the plot I require that I produced from SAS 9.4. The GFR dataset is attached. The plots that I am having problems with are bolded. I successfully get the standard diagnostic plots and residuals by x variables but receive the following error message from SAS Studio V 3.1 ERROR: Appendage SASXGANO not found, unable to produce graphics. I have seen discussions regarding this error message that say you should use the PLOTS = option which I have tried but there does not appear to be an option for rstudent by x variables just rstudentbypredicted or leverage. DATA gfr; INFILE 'c:\data\gfr.dat'; *Use INFILE '/folders/myfolders/gfr.dat'; for SAS studio; INPUT id age cr gfr; * Calculate inverse CR; invcr = 1/cr; RUN; TITLE 'Relationship between GFR and creatinine'; PROC UNIVARIATE DATA = GFR PLOT; VAR age cr gfr invcr; RUN; PROC REG CORR DATA = GFR ; MODEL gfr=cr; PLOT rstudent.*(cr predicted.); MODEL gfr=invcr / R; PLOT rstudent.*(invcr predicted.); * save the residuals of the previous model in 'RESIDS'; OUTPUT OUT=resids RSTUDENT=jackknife; RUN; * Check the distribution of the residuals; PROC UNIVARIATE DATA=resids NORMAL PLOT; VAR jackknife; QQPLOT / NORMAL (MU=est SIGMA=est); RUN; This is the plot produced by PLOT rstudent. * cr
... View more