Modify the program from problem 1.3 to create a new variable (AGE_GROUP) that has a value of 1 for ages between 0 and 35, and 2 for ages greater than 35. Compute the number of Whites (W) and Blacks (B) and the number in each age group. Use the appropriate option to omit cumulative statistics from the output
Problem 1.3
Given the following set of data:
(a) Create a SAS data set using the previous data. Compute the average annual salary and average age. NOTE: Since you don't know yet how to read numeric values containing commas, you may enter the values without commas.
(b) If all subjects were in a 30% tax bracket, compute their taxes (based on annual salary) arid print out a list, in social Security number order showing the annual salary and the tax.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here