Read the raw data file SURVEYDAT (listed here) and create a permanent SAS data set called SURVEY in a folder of your choice. The values in the file SURVEYDAT are GENDER and QI-Q5, and the values are...


Read the raw data file SURVEYDAT (listed here) and create a permanent SAS data set called SURVEY in a folder of your choice. The values in the file SURVEYDAT are GENDER and QI-Q5, and the values are separated by blanks. The first line of the file is a header line and should be skipped. Make formats for Q1-Q5 (1 ~ Yes, 0 ~ No) and GENDER ('M' = 'Male' and 'F' = 'Female'). Make these formats permanent as well. Look in your folder and check that the data set (SURVEY.SAS7BDAT) and format library (FORMATS.sAS7BCAT) are there. Remember to use the system option FMTSEARCH~ as well as the PROC FORMAT option L1BRARY=.


Listing of SURVEYDAT



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here