SellkeLab01

SellkeLab01 - STAT 350 (Sellke) Lab 1 Jan 19 2011 Due:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: STAT 350 (Sellke) Lab 1 Jan 19 2011 Due: 11:59 PM on Friday, Jan 21 Please submit your lab on blackboard: a) Please put your NAME, CLASS TIME, AND THE LAB # on your submission. b) Label each part with the problem number and put them in logical order. c) Include your SAS code and required output and graph for each problem. 1. Learn two ways of creating datasets in SAS: a) DATALINES enter the data manually b) INFILE read the data from a file a) Creating a dataset using DATALINES: SAS Learning code: data myDataSet; /*creates a data set called myDataSet */ input y z @@; /* define two variables y and z, @@ is used here to allow more than one obs per line */ datalines ; 1 1 0 8 1 6 0 1 0 1 2 5 0 3 1 0 1 0 1 4 2 4 1 0 0 0 0 1 1 2 1 1 0 4 1 0 1 4 1 0 1 3 0 0 0 1 0 1 1 0 1 1 2 3 0 2 1 4 2 6 2 6 1 0 1 1 0 1 2 8 1 3 1 3 0 5 1 0 5 5 0 2 3 3 0 1 1 0 1 0 0 0 0 3 ; /* data input completes here, notice that the semicolon must occupy one line by itself */ run ; /* indicates that when program is submitted, this is the...
View Full Document

Page1 / 2

SellkeLab01 - STAT 350 (Sellke) Lab 1 Jan 19 2011 Due:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online