SAS PROGRAMMING ASSIGNMENT #1 1) Save the following data as a text file (on A:), and then write a SAS program to read the data into a data set. Robert Deddens 801 Oakwood Ave 09/05/40 $100,000.00 M Engineering Law Jim Deddens 59 Central Terr 09/07/43 $65,000.00 M Mathematics Statistics Sarah Deddens 3137 Riddle 08/18/72 $45,000.00 F Fine Arts Business Administration Joe Smith 1234 Ridge Rd 01/18/63 $23,000.00 M Basket Weaving which contains name, addresses, birthdays, salaries, and genders, undergraduate major, graduate major. Create a data set which contains the above information, by writing the appropriate input statements. COMPUTE the age of each person (in years, for example 29). Use a PUT statement to create a text file that is exactly the same as the original. EXCEPT the age is printed on the second record line directly under the gender. TRY TO USE THE FEWEST PIECES OF PAPER AS POSSIBLE BE SURE TO INCLUDE YOUR SAS PROGRAMS AND OUTPUT. 2) Save the following data as a text file (on A:), and then write a SAS program to read the data into a data set. MARY C F JOE HS M ALICE JOE MARY C F JIM JOE MARY HS M BOB JOE MARY EL M JOHN EL M CARLA HS F BETH JOHN CARLA HS F PING BOB BETH C F which contains name, fathers name, mother name, educational level and gender. Create a data set which contains childs name, childs educational level, fathers name, mothers name, fathers educational level, and mothers educational level. Print the results. 3) Generate a 150 random samples of size 20 from a normal distribution with mean 10 and standard of 3. Compute the mean and standard deviation for each sample. Test the hypothesis H0 mu=10 vs H1 mu ne 10 for each sample. Compute the two-sided p-value for each test. Compute the percentage of times reject H0.