tutor3 - Invoke the insight procedure to produce a scatter...

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

View Full Document Right Arrow Icon
The University of Hong Kong Department of statistics and actuarial science STAT1303 Data Management Tutorial 3 Procedures for data summarizations 1. Suppose eight men each received a certain drug. The changes in blood sugar (BS), blood pressure (low and high) are recorded. Name Age BS LowBP HighBP Schenk 30 30 -8 -1 Voss 32 90 7 6 Steen 35 -10 -2 4 Thompson 35 -10 -2 4 Blondel 35 30 -2 5 Plaziat 35 60 0 3 bright 35 0 -2 4 DeWit 40 40 1 2 Part I: (a) Create a temporary SAS data set called Blood from data line. (b) Use procedures proc print to display the data. (c) Use procedures proc print to display the data of men whose age are 35. (d) Use procedure proc sort to sort the data by age. Part II: (a) Use procedure proc univariate and proc corr to computer summary statistics. (b) Use procedure proc plot and proc gplot to plot BS against LowBP. (c)
Background image of page 1

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

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

Unformatted text preview: Invoke the insight procedure to produce a scatter plot matrix. 2. Use the SAS data set College. Variables Code Scholarship "Y", "1"=Yes "N", "0"=No ""=Not given Gender "F"=Female "M"=Male ""=Not given Schoolsize "S"=Small "M"=Medium "L"=Large ""=Missing (a) Compute the mean, median, minimum, and maximum and the number of both missing and non-missing values for the variables ClassRank and GPA. (b) Using the SAS data set College, report the mean and median GPA and ClassRank broken down by school size (SchoolSize). Do this twice, once using a BY statement, and once using a CLASS statement. (c) Using the SAS data set College, report the mean GPA for the following categories of ClassRank: 0–50 = bottom half , 51–74 = 3rd quartile , and 75 to 100 = top quarter . Do this by creating an appropriate format. Do not use a DATA step....
View Full Document

This document was uploaded on 05/04/2011.

Page1 / 2

tutor3 - Invoke the insight procedure to produce a scatter...

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