Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Any one familiar with SAS? Need help! In Class Exercise: The passing score on each of five tests is 70. Using the data here, use
Any one familiar with SAS? Need help!
In Class Exercise: The passing score on each of five tests is 70. Using the data here, use an array to count the number of tests (NUMPASSED) passed by each student. ID Test 4 Test 1 90 Test 2 88 64 Test 5 90 95 64 Test 3 92 77 80 66 72 001 002 003 004 71 | 68 88 69 77 | 70 67 77 You have several lines of data, consisting of a subject number and two dates (date of birth and visit date). The subject starts in column 1 (and is 3 bytes long), the data of birth starts in column 4 and is in the form mm/dd/yyyy, and the visit date starts in column 14 and is in the form nnmmmmyyyy. Read the following lines of data to create a temporary SAS data set called Dates. Format both the dates using the DATE9. format. Include the subject's age at the time of the visit in this data set. 00110/21/195011Nov2006 00201/02/195525May2005 00312/25/200525Dec2006 In Class Exercise: The passing score on each of five tests is 70. Using the data here, use an array to count the number of tests (NUMPASSED) passed by each student. ID Test 4 Test 1 90 Test 2 88 64 Test 5 90 95 64 Test 3 92 77 80 66 72 001 002 003 004 71 | 68 88 69 77 | 70 67 77 You have several lines of data, consisting of a subject number and two dates (date of birth and visit date). The subject starts in column 1 (and is 3 bytes long), the data of birth starts in column 4 and is in the form mm/dd/yyyy, and the visit date starts in column 14 and is in the form nnmmmmyyyy. Read the following lines of data to create a temporary SAS data set called Dates. Format both the dates using the DATE9. format. Include the subject's age at the time of the visit in this data set. 00110/21/195011Nov2006 00201/02/195525May2005 00312/25/200525Dec2006Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started