Download presentation
Presentation is loading. Please wait.
Published byλ―Έλ κ΅ Modified over 5 years ago
1
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret it. Find & interpret the slope. Find & interpret the y-intercept. Give the least squares regression line. Dosage Heart rate 0.125 95 0.2 90 0.25 93 0.3 92 0.35 88 0.4 80 0.5 82
2
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret it. π= βπ.ππππππ π =βπ.ππ Find & interpret the slope. π=π π π π π = βπ.ππ π.ππ π.πππ =βππ.ππ For every additional mg the heart rate decreases by bpm. Find & interpret the y-intercept. π= π βπ π π=ππ.ππβ βππ.ππ .πππ π=πππ.ππ Write LSRL: π―ππππ πΉπππ =πππ.ππβππ.ππ π«πππππ Dosage Heart rate 0.125 95 0.2 90 0.25 93 0.3 92 0.35 88 0.4 80 0.5 82
3
Residuals Section 3.2B
4
Residuals Variation in the y values can be effectively explained when the residuals are small β close to the line. Remember a residual = observed β exp. πππππ
πππ=πβ π
5
The equation to explain the relationship between drug dosage and heart rate is shown below. π―ππππ πΉπππ =πππ.ππβππ.ππ π«πππππ Dosage Heart rate 0.125 95 0.2 90 0.25 93 0.3 92 0.35 88 0.4 80 0.5 82 Find the predicted value for a dosage of 0.4 mg. Find the residual for (0.4, 80).
6
The equation to explain the relationship between drug dosage and heart rate is shown below. Find the residuals for each value. π―ππππ πΉπππ =πππ.ππβππ.ππ π«πππππ Dosage Heart rate π¦ π¦β π¦ 0.125 95 0.2 90 0.25 93 0.3 92 0.35 88 0.4 80 0.5 82 * The sum of the residuals is always zero!
7
Residual Plot It is a scatterplot of the residuals vs the explanatory variable. They help us to assess how well a regression line fits the data. The residual plot should show no obvious pattern The residuals should be relatively small.
8
The equation to explain the relationship between drug dosage and heart rate is shown below. Graph the residual Plot. Is the linear model appropriate? π―ππππ πΉπππ =πππ.ππβππ.ππ π«πππππ Dosage Heart rate π¦ π¦β π¦ 0.125 95 88.723 6.2775 0.2 90 88.658 1.342 0.25 93 88.615 4.385 0.3 92 88.572 3.428 0.35 88 88.529 -0.529 0.4 80 88.486 -8.486 0.5 82 88.4 -6.4 * The sum of the residuals is always zero!
9
Residual Plot
10
Height vs Shoe size β residual plot
Good residual plot β show relatively no pattern.
11
Good or Bad
12
Standard Deviation of the Residuals
It represents the approximate size of a βtypicalβ or βaverage prediction error (residual). Formula: π π = πππ πππ’πππ 2 πβ2 π π = π¦β π¦ πβ2
13
The equation to explain the relationship between drug dosage and heart rate is shown below. Find the standard deviation of the residuals. π―ππππ πΉπππ =πππ.ππβππ.ππ π«πππππ Dosage Heart rate π¦ π¦β π¦ π¦β π¦ 2 0.125 95 88.723 6.2775 0.2 90 88.658 1.342 0.25 93 88.615 4.385 0.3 92 88.572 3.428 0.35 88 88.529 -0.529 0.4 80 88.486 -8.486 0.5 82 88.4 -6.4
14
Homework *Page 191 (43, 45, 55, 60, 62)
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.