QL, Python, or Excel to analyze the data. Assume that we want to compare two clinicians, Smith and Jones, who see different types of patients at different rates and different length of stay. The data for each clinician is provided
QL, Python, or Excel to analyze the data. Assume that we want to compare two clinicians, Smith and Jones, who see different types of patients at different rates and different length of stay. The data for each clinician is provided
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Question 1: In the following question, use SQL, Python, or Excel to analyze the data. Assume that we want to compare two clinicians, Smith and Jones, who see different types of patients at different rates and different length of stay. The data for each clinician is provided in the two decision trees in Figure 1. Figure 1: Practice Patterns of Dr. Jones and Smith What is the expected length of stay for each of the clinicians? What is the expected length of stay for Dr. Smith if he were to take care of patients of Dr. Jones? What is the expected length of stay for Dr. Jones if he were to take of patients of Dr. Smith?
Strata
|
Previous MI
|
CHF
|
Shock
|
Clinician
|
Previous MI Rate
|
CHF Rate
|
Shock Rate
|
Probability
|
Length of Stay
|
1
|
1
|
1
|
|
Smith
|
0.25
|
0.15
|
1
|
0.0375
|
4.5
|
2
|
1
|
0
|
1
|
Smith
|
0.25
|
0.85
|
0.7
|
0.14875
|
5
|
3
|
1
|
0
|
0
|
Smith
|
0.25
|
0.85
|
0.3
|
0.06375
|
4
|
4
|
0
|
1
|
1
|
Smith
|
0.75
|
0.7
|
0.85
|
0.44625
|
3
|
5
|
0
|
1
|
0
|
Smith
|
0.75
|
0.7
|
0.15
|
0.07875
|
5
|
6
|
0
|
0
|
1
|
Smith
|
0.75
|
0.3
|
0.25
|
0.05625
|
3
|
7
|
0
|
0
|
0
|
Smith
|
0.75
|
0.3
|
0.75
|
0.16875
|
4
|
8
|
1
|
1
|
1
|
Jones
|
0.85
|
0.65
|
0.3
|
0.16575
|
7
|
9
|
1
|
1
|
0
|
Jones
|
0.85
|
0.65
|
0.7
|
0.38675
|
5
|
10
|
1
|
0
|
1
|
Jones
|
0.85
|
0.35
|
0.3
|
0.08925
|
4
|
11
|
1
|
0
|
0
|
Jones
|
0.85
|
0.35
|
0.7
|
0.20825
|
3
|
12
|
0
|
1
|
1
|
Jones
|
0.15
|
0.7
|
0.45
|
0.04725
|
4
|
13
|
0
|
1
|
0
|
Jones
|
0.15
|
0.7
|
0.55
|
0.05775
|
5
|
14
|
0
|
0
|
1
|
Jones
|
0.15
|
0.3
|
0.65
|
0.02925
|
3
|
15
|
0
|
0
|
0
|
Jones
|
0.15
|
0.3
|
0.35
|
0.01575
|
2
|

Transcribed Image Text:Previous
IIN
25
CHF
CHF
Dr. Smith's
Practice
Patterns
15
O
70
BP<90
70
BP-90
85
BP-90
25
0
O
0
0
4.5 days
5 days
4 days
3 days
4 days
2 days
4 days
Previous
MI
85
CHF
CHF
Dr. Jone's
Practice
Patterns.
BP<90
65
BP<90
,70
30
BP-90
45
BP<90
65
0
O
10
0
0
7 days
5 days
4 days
3 days
4 days
5 days
3 days
2 days
Expert Solution

Step 1
Strata | Previous MI | CHF | Shock | Clinician | Previous MI Rate | CHF Rate | Shock Rate | Probability | Length of Stay |
1 | 1 | 1 | Smith | 0.25 | 0.15 | 1 | 0.0375 | 4.5 | |
2 | 1 | 0 | 1 | Smith | 0.25 | 0.85 | 0.7 | 0.1488 | 5 |
3 | 1 | 0 | 0 | Smith | 0.25 | 0.85 | 0.3 | 0.0638 | 4 |
4 | 0 | 1 | 1 | Smith | 0.75 | 0.7 | 0.85 | 0.4463 | 3 |
5 | 0 | 1 | 0 | Smith | 0.75 | 0.7 | 0.15 | 0.0788 | 5 |
6 | 0 | 0 | 1 | Smith | 0.75 | 0.3 | 0.25 | 0.0563 | 3 |
7 | 0 | 0 | 0 | Smith | 0.75 | 0.3 | 0.75 | 0.1688 | 4 |
8 | 1 | 1 | 1 | Jones | 0.85 | 0.65 | 0.3 | 0.1658 | 7 |
9 | 1 | 1 | 0 | Jones | 0.85 | 0.65 | 0.7 | 0.3868 | 5 |
10 | 1 | 0 | 1 | Jones | 0.85 | 0.35 | 0.3 | 0.0893 | 4 |
11 | 1 | 0 | 0 | Jones | 0.85 | 0.35 | 0.7 | 0.2083 | 3 |
12 | 0 | 1 | 1 | Jones | 0.15 | 0.7 | 0.45 | 0.0473 | 4 |
13 | 0 | 1 | 0 | Jones | 0.15 | 0.7 | 0.55 | 0.0578 | 5 |
14 | 0 | 0 | 1 | Jones | 0.15 | 0.3 | 0.65 | 0.0293 | 3 |
15 | 0 | 0 | 0 | Jones | 0.15 | 0.3 | 0.35 | 0.0158 | 2 |
Step by step
Solved in 5 steps with 4 images

Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman

Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman