lab2 - STAT 350 Spring 2009 Lab #2 Solution Introduction to...

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

View Full Document Right Arrow Icon
STAT 350 – Spring 2009 Lab #2 Solution Introduction to SAS: PROC UNIVARIATE This assignment is to be done using SAS. This assignment should be typed using Word or a similar word processing program. Figures should be pasted from SAS into Word. The SAS code (contents of the Editor Window) should be pasted at the end as an appendix. 1. For this problem, use the data in the box below. Create the following variables from the original data. new1 – for each observation, this variable is the value of the original variable plus 10 new2 – for each observation, this variable is the value of the original variable times 0.5 Run PROC UNIVARIATE on the original data, as well as on new1 and new2. 57.6 43.7 54.2 93.9 24.2 36.4 75.8 60.9 36.7 25.5 45.4 39.0 35.1 93.1 85.8 76.9 66.7 22.1 103.4 63.9 28.9 44.8 43.7 79.7 76.8 65.9 108.0 69.5 47.9 39.3 91.5 40.3 89.7 46.1 55.1 95.4 65.7 100.1 55.6 38.7 96.8 10.3 43.4 50.4 53.5 83.1 67.0 87.5 18.9 40.0 102.0 53.9 53.4 74.2 71.0 41.5 58.0 43.0 80.0 71.1 97.2 65.0 59.7 29.5 80.7 57.8 102.2 57.5 25.5 31.1 90.3 69.3 44.9 62.7 38.6 76.5 39.1 32.6 67.6 64.6 Lab #2 - Solution Page 1 of 8
Background image of page 1

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

View Full DocumentRight Arrow Icon
a. Make histograms of the three variables (the original data, as well as new1 and new2). For all three histograms, use endpoints ranging from 0 to 120. Make the class widths equal to 10. i. Histogram for the original data 0 1 02 03 04 05 06 07 08 09 01 0 0 1 1 0 1 2 0 0 2. 5 5. 0 7. 5 10. 0 12. 5 15. 0 P e r c e n t or i gi nal ii. Histogram for new1 iii. Histogram for new2 0 1 2 0 0 P e r c e n t new1 0 1 2 0 0 5 10 15 20 25 30 P e r c e n t new2 Lab #2 - Solution Page 2 of 8
Background image of page 2
b. Paste the "Moments" sections from the output from PROC UNIVARIATE for each of the three variables. Do not paste all of the output!
Background image of page 3

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

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

This note was uploaded on 02/16/2010 for the course STAT 350 taught by Professor Staff during the Spring '08 term at Purdue University-West Lafayette.

Page1 / 8

lab2 - STAT 350 Spring 2009 Lab #2 Solution Introduction to...

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

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