- 20th Sep 2022
- 06:03 am
ods noproctitle;
ods graphics / imagemap=on;
proc logistic data=SASHELP.CARS;
class Make Type Origin / param=glm;
model MPG_City / MSRP=Make Type Origin MPG_Highway / link=logit
technique=fisher;
run;
*******************************
ods noproctitle;
ods graphics / imagemap=on;
proc glmselect data=SASHELP.CARS outdesign(addinputvars)=Work.reg_design;
class Origin / param=glm;
model MSRP=Origin / showpvalues selection=none;
run;
proc reg data=Work.reg_design alpha=0.05 plots(only)=(diagnostics residuals
observedbypredicted);
where Origin is not missing;
ods select DiagnosticsPanel ResidualPlot ObservedByPredicted;
model MSRP=&_GLSMOD /;
run;
quit;
proc delete data=Work.reg_design;
run;
*********************************
ods noproctitle;
ods graphics / imagemap=on;
proc reg data=SASHELP.CARS alpha=0.05 plots(only)=(diagnostics residuals
fitplot observedbypredicted);
model MPG_City=Horsepower /;
run;
quit;
**********************************
ods noproctitle;
ods graphics / imagemap=on;
proc reg data=SASHELP.CARS alpha=0.05 plots(only)=(diagnostics residuals
fitplot observedbypredicted);
model MPG_City=Horsepower /;
run;
quit;