Docsity

Assignment #2 - An Introduction to Statistical Computing | STAT 321, Assignments of Statistics

Toggle sidebar
bg1
Stat 321 โ€“ Assignment 2
/************************************************************************
*
* A first example demonstrating some of the fundamentals of SAS.
* You will need to download the "Hald Portland Cement Data from my web
* page. Click on the "Data Sets" button, go to data set number 21,
* right click on the link, and click on "Save Target/Link as...".
* Provide a place and name for the data set. You will need to delete
* the first row and last row of the data set. Likewise, this data set
* is comma delimited; hence you will need to change all the commas to
* blanks. Then enter this program into the SAS Editor Window just as it is
* and copy/paste the data into the proper place below.
* Submit the SAS program and the SAS output as Assignment # 2.
*
************************************************************************/
options ls = 77;
data hald;
input x1 x2 x3 x4 y;
* Place data after the "card" statement.;
cards;
;
proc print data = hald;
proc means;
run;
quit;

Partial preview of the text

Download Assignment #2 - An Introduction to Statistical Computing | STAT 321 and more Assignments Statistics in PDF only on Docsity!

Stat 321 โ€“ Assignment 2

  • A first example demonstrating some of the fundamentals of SAS.
  • You will need to download the "Hald Portland Cement Data from my web
  • page. Click on the "Data Sets" button, go to data set number 21,
  • right click on the link, and click on "Save Target/Link as...".
  • Provide a place and name for the data set. You will need to delete
  • the first row and last row of the data set. Likewise, this data set
  • is comma delimited; hence you will need to change all the commas to
  • blanks. Then enter this program into the SAS Editor Window just as it is
  • and copy/paste the data into the proper place below.
  • Submit the SAS program and the SAS output as Assignment # 2.

************************************************************************/

options ls = 77;

data hald;

input x1 x2 x3 x4 y;

  • Place data after the "card" statement.; cards; ;

proc print data = hald;

proc means;

run;

quit;