{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

Info icon This 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 1. You have a SAS data set DONOR (date °le is not given) which contains variables 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
Image of page 1

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

View Full Document Right Arrow Icon
STAT1303A Data Management 4. SAS Procedures for Data Summarization 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.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern