proc sgplotdata=lin_reg_data; * or equivalently, data=work.lin_reg_data;
scatter y=y x=x;
run;
proc regdata=lin_reg_data;
model y=x;
run;
ods rtf close;
The data set produced in the Display 2.3 code contains 11 observations and twovariables
(X, Y). A glance at the SAS log confirms this with the following ...
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.