TAKE-HOME MIDTERM EXAM
Exercises for Handout 10 material: Explain the reason for selecting the correct answer, as well as the reason for NOT selecting EACH of the wrong answers.
And the following
Exercise 1. For the data in file ‘ExamEx1.xls’, produce a report identical to the one in file ‘Report_Ex1.html’.
*****************************************************************************
Exercises for Handout 11 material: Explain the reason for selecting the correct answer, as well as the reason for NOT selecting EACH of the wrong answers.
And the following
Exercise 2. Information on presence or absence (yes or no) of two characteristics A and B is available for several individuals. The data are stored in file ‘ExamEx2.dat’. Compute the number of individuals who have
(a) characteristic A
(b) characteristic B
(c) only characteristic A
(d) only characteristic B
(e) both characteristics
(f) neither characteristic
(g) either characteristic
Hint: Construct a two-way table of A by B.
*****************************************************************************
Exercises for Handout 12 material: Explain the reason for selecting the correct answer, as well as the reason for NOT selecting EACH of the wrong answers.
*****************************************************************************
Exercises for Handout 13 material: Explain the reason for selecting the correct answer, as well as the reason for NOT selecting EACH of the wrong answers.
*****************************************************************************
Exercises for Handout 14 material: Explain the reason for selecting the correct answer, as well as the reason for NOT selecting EACH of the wrong answers.
and the following
Exercise 3. Patients underwent knee replacement surgeries for one or both knees. The data record patient id, the replaced knee number (1 or 2), and satisfaction scores pre-operatively, one day, one week, and one month after the surgery. The data are
|
(a) Use the ARRAY statement to create a data set containing satisfaction scores for knee 1. The data set should look like this
id visit score
01 1 0
01 2 5
01 3 7
01 4 10
02 1 0
02 2 10
02 3 15
02 4 15
03 1 0
03 2 3
03 3 3
03 4 3
04 1 0
04 2 4
04 3 10
04 4 10
(b) Use the ARRAY statement to create a data set containing satisfaction scores for knee 2. The data set should look like this
id visit score
02 1 3
02 2 5
02 3 8
02 4 10
03 1 0
03 2 6
03 3 9
03 4 9
(c) Use the MERGE statement to create the merged file that looks like this
score_ score_
id visit knee1 knee2
01 pre_op 0 .
01 day 1 5 .
01 week 1 7 .
01 month 1 10 .
02 pre_op 0 3
02 day 1 10 5
02 week 1 15 8
02 month 1 15 10
03 pre_op 0 0
03 day 1 3 6
03 week 1 3 9
03 month 1 3 9
04 pre_op 0 .
04 day 1 4 .
04 week 1 10 .
04 month 1 10 .
(d) Turn in your SAS code as well as the output it produces.
*****************************************************************************
Exercises for Handout 15 material: Explain the reason for selecting the correct answer, as well as the reason for NOT selecting EACH of the wrong answers.
*****************************************************************************
Exercises for Handout 16 material: Explain the reason for selecting the correct answer, as well as the reason for NOT selecting EACH of the wrong answers.
*****************************************************************************
Also, do
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
29 | 30 | 31 | 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 | 1 |