HW7-Fall10 - SALARY b Write a program to create a new SAS...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Math 338 Fall 2010 Name Kafai – HW 7 Due 11/17/2010 We have three data sets, ONE, TWO, and THREE. Each data set contains the variables: ID (IDNUM in data set TWO) SEX DOB SALARY In addition, data set TWO contains TAXRATE and WITHHOLD; data set THREE contains HEIGHT and WEIGHT. a. Write a program to create a single SAS data set ALL which combines the observations from data sets ONE, TWO, and THREE and contains the variables ID, DOB, and
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: SALARY. b. Write a program to create a new SAS data set for those people born on or before January 1, 1960, and who earn $50,000 or more per year. ONE ID SEX DOB SALARY 1 M 10/21/46 70000 2 F 11/01/55 68000 7 M 01/27/59 47000 TWO IDNUM SEX DOB SALARY TAXRATE WITHHOLD 3 F 01/01/33 78000 0.36 23000 5 M 03/07/29 37000 0.25 9000 THREE ID SEX DOB SALARY HEIGHT WEIGHT 4 M 10/23/49 65000 68 158 6 F 07/04/65 55000 74 202...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online