Skip to Main Content
Statistical Programming in SAS
book

Statistical Programming in SAS

by John Bailer
April 2015
Intermediate to advanced content levelIntermediate to advanced
460 pages
14h 45m
English
SAS Institute
Content preview from Statistical Programming in SAS
Chapter 4: Complex Table Construction and Output Control 147
Display 4.21 (continued)
data ParmEst2; set ParmEst;
retain b0;
if variable="Intercept" then b0 = estimate;
else do;
b1 = estimate;
keep iexpt b0 b1;
output;
end;
run;
proc print data=ParmEst2; * a nice debugging check;
title "first 5/last 5 lines from the PARMEST2 data set";
where iexpt <= 5 or iexpt >1995;
run;
ods listing image_dpi=300;
ods graphics / width=4.5in;
ods rtf bodytitle file="C:\Users\baileraj.IT\Desktop\Display-4.20.rtf";
proc means data=ParmEst2;
title;
var b0 b1;
run;
proc sgplot data=ParmEst2;
scatter x=b1 y=b0;
ellipse x=b1 y=b0; * 95% confidence ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Elementary Statistics Using SAS

Elementary Statistics Using SAS

Sandra D. Schlotzhauer

Publisher Resources

ISBN: 9781607645047