CH4 exercise

CH4 exercise - STAT1303A Data Management 4. SAS Procedures...

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

View Full Document Right Arrow Icon
STAT1303A Data Management 4. SAS Procedures for Data Summarization Exercise 4 L_NAME, F_NAME, AMOUNT (of donation), and DATE (of donation.) Write the code to produce a simple report from DONOR. The report should list the variables in the following order: F_NAME, L_NAME, DATE, and AMOUNT. Here are some sample data to work with: Data Set DONOR F_NAME L_NAME AMOUNT DATE Janet Bloom $50 01/14/94 Dora Chelsea $35 06/14/94 Walter Donnelly $35 01/07/95 Walter Donnelly $10 07/06/94 Anne Farnham $100 07/07/93 James Zoll $45 07/06/94 2. Write the code to produce the following report from the DONOR data set described in Q1, including the two-line title, column headings, date format, observation count, and sum of donations. Search the SAS help for the required options. Report on the Donor Data Base ______________________________ Amount First Last of Donation Name Name Donation Date Janet Bloom $50 14JAN94 Dora Chelsea $35 14JUN94 Walter Donnelly $35 07JAN95 Walter Donnelly $10 06JUL94 Anne Farnham $100 07JUL93 James Zoll $45 06JUL94 ====== $275 N = 6 3. Use the SAS data set COLLEGE HKU STAT1303A (2009-10, Semester 1) 4 1
Background image of page 1

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

View Full DocumentRight Arrow Icon
STAT1303A Data Management 4. SAS Procedures for Data Summarization Variables Code SCHOLARSHIP GENDER SCHOOLSIZE (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) Re-do (a), except compute the desired statistics for each combination of
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 05/04/2011.

Page1 / 5

CH4 exercise - STAT1303A Data Management 4. SAS Procedures...

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

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