Question: I need some help writing the code as my code keeps generating errors and warnings. You do not need the data to write the program,

I need some help writing the code as my code keeps generating errors and warnings. You do not need the data to write the program, and ny help will be much appreciated. Thank you.

I need some help writing the code as my code keeps generating

a. C. Write a SAS program to do the following tasks: Create a library HW3 that connects to the folder HWDATA in your home drive folder. ~/my_courses/sens/STAT5200/HWData b. Set the system options to have the output starting at page #1. Read the SAS data set Insure in the SASData folder inside stat5200 folder into your SAS library HW3, and call the data set Insure_hw3. Then, create permanent variable labels for the variables: Pcinsured : Percent/Insured ,Total : Total/Balance [NOTE: In your PROC PRINT statement, make sure you use SPLIT = 7' option. ] d. Sort the data by the variable ID using PROC SORT, and use OUT= to save the sorted data in the HW3 library using the data set name: Insure_s. Use PROC PRINT to produce the following report based on the data set Insure_s: f. Use the variable ID as the id variable. g. Print variables Name, Policy, Pctinsured, Total h. Select individuals whose ID having the 2nd digit from left is '5' and Total > 300. i. Add the Title statement Individuals whose total premium over $300'. j. Add a FORMAT statement to define the SAS format for total using DOLLAR10.2 k. Ensure the data consists of the following variables. Name, Policy, Percent, Insured, Total balance. e

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!