Description
Q1) Using the datalines statement with an input statement to read the following data into SAS environment and print the data. The data values represent subject ID, name, eye color, height (in inches) and weight (in pounds).
1024 Alice Brown 65 125
1167 Maryann Black 68 140
1168 Thomas Black 68 190
1201 Benedictine Amber 68 190
1302 Felicia Gray 63 115
Q2) Using the datalines statement and appropriate input style, read the following data into SAS environment and print the data. Note that the data values are subject ID, name and expense.
1024Alice 1001.98
1167Maryann 2999.34
1168Thomas 3904.89
1201Benedictine1450.23
1302Felicia 1209.94
1471John 1763.09
1980Jane 3567.00
Q3) The attached text file (‘stud_info.txt’) contains data values about students such as student
ID, name, major (Math, Stat, Geology, and Biology), height (in inches) and weight (in pounds, 3 digit number). Using an appropriate input style, read student ID, name, and weight data values into SAS, and print the result as a listing output.




Reviews
There are no reviews yet.