Question: Write a SAS program that will: Read cert.input23 as input. Create three data sets: o results.Young23: people who are age 39 and younger. o results.Mid23:
Write a SAS program that will: Read cert.input23 as input. Create three data sets: o results.Young23: people who are age 39 and younger. o results.Mid23: people between the ages of 40 and 60, inclusive. o results.NotasYoung23: people who are age 61 and older. Remove variables from the data sets as follows: o Drop the variables Income3, Income4, and Income5 from the results.Young23 data set. For the results.Young23 data set, create a new variable named avgInc that is the average of the remaining Income variables for each observation. Run the program and use the results to answer the next 2 questions. 165 a. How many people are in the results.Mid23 data set? b. What is the average (mean) of the Income5 variable in the results.NotasYoung23 data set? Enter your numeric answer in the space below (Round your answer to the nearest integer). Save your program in folder. 6 This study source was downloaded by 100000858072313 from CourseHero.com on 07-18-2024 00:38:20 GMT -05:00 338993
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
