SAS The language of Analytics Blog 1: Working with simple data sets
Welcome back to the world of analytics. Today's scope of coverage is how to write a simple SAS Programme. About SAS: This is a very powerful tool that has been used across companies to take advantage of its statistical capability. The methodology adopted in this blog is through questions and understanding the output and code lines: You have a text file called scores.txt containing information on gender (M or F) and four test scores (English, history, math, and science). Each data value is separated from the others by one or more blanks. a. Write a DATA step to read in these values. Choose your own variable names. Be sure that the value for Gender is stored in 1 byte and that the four test scores are numeric. b. Include an assignment statement computing the average of the four test scores. c. Write the appropriate PROC PRINT statements to list the...
Comments
Post a Comment