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.

Slides:



Advertisements
Similar presentations
Chapter 3 Bivariate Data
Advertisements

Regression, Residuals, and Coefficient of Determination Section 3.2.
Relationship of two variables
Least-Squares Regression Section 3.3. Why Create a Model? There are two reasons to create a mathematical model for a set of bivariate data. To predict.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
3.2 Least Squares Regression Line. Regression Line Describes how a response variable changes as an explanatory variable changes Formula sheet: Calculator.
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. DosageHeart rate
3.2 - Least- Squares Regression. Where else have we seen “residuals?” Sx = data point - mean (observed - predicted) z-scores = observed - expected * note.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
CHAPTER 5 Regression BPS - 5TH ED.CHAPTER 5 1. PREDICTION VIA REGRESSION LINE NUMBER OF NEW BIRDS AND PERCENT RETURNING BPS - 5TH ED.CHAPTER 5 2.
SWBAT: Calculate and interpret the residual plot for a line of regression Do Now: Do heavier cars really use more gasoline? In the following data set,
POD 09/19/ B #5P a)Describe the relationship between speed and pulse as shown in the scatterplot to the right. b)The correlation coefficient, r,
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
Warm-up O Turn in HW – Ch 8 Worksheet O Complete the warm-up that you picked up by the door. (you have 10 minutes)
LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.
Unit 4 Lesson 3 (5.3) Summarizing Bivariate Data 5.3: LSRL.
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
3.2 - Residuals and Least Squares Regression Line.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
Chapter 3 LSRL. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable Use x to predict.
Chapter 5 LSRL. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable Use x to predict.
Lecture Slides Elementary Statistics Twelfth Edition
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
Statistics 101 Chapter 3 Section 3.
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 5 LSRL.
LSRL Least Squares Regression Line
Chapter 3.2 LSRL.
Warm Up Go ahead and start wrapping up your Guess My Age projects.
1) A residual: a) is the amount of variation explained by the LSRL of y on x b) is how much an observed y-value differs from a predicted y-value c) predicts.
Describing Bivariate Relationships
AP Stats: 3.3 Least-Squares Regression Line
Least-Squares Regression
No notecard for this quiz!!
Least Squares Regression Line LSRL Chapter 7-continued
EQ: How well does the line fit the data?
residual = observed y – predicted y residual = y - ŷ
AP Statistics, Section 3.3, Part 1
CHAPTER 3 Describing Relationships
Least-Squares Regression
^ y = a + bx Stats Chapter 5 - Least Squares Regression
CHAPTER 3 Describing Relationships
GET OUT p.161 HW!.
Unit 4 Vocabulary.
Chapter 5 LSRL.
Chapter 5 LSRL.
Chapter 5 LSRL.
Least-Squares Regression
Least-Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Ch 4.1 & 4.2 Two dimensions concept
CHAPTER 3 Describing Relationships
3.2 – Least Squares Regression
CHAPTER 3 Describing Relationships
Section 3.2: Least Squares Regressions
CHAPTER 3 Describing Relationships
Ch 9.
Homework: PG. 204 #30, 31 pg. 212 #35,36 30.) a. Reading scores are predicted to increase by for each one-point increase in IQ. For x=90: 45.98;
CHAPTER 3 Describing Relationships
Presentation transcript:

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

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 38.56 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

Residuals Section 3.2B

Residuals Variation in the y values can be effectively explained when the residuals are small – close to the line. Remember a residual = observed – exp. 𝒓𝒆𝒔𝒊𝒅𝒖𝒂𝒍=𝒚− 𝒚

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).

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!

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.

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!

Residual Plot

Height vs Shoe size – residual plot Good residual plot – show relatively no pattern.

Good or Bad

Standard Deviation of the Residuals It represents the approximate size of a “typical” or “average prediction error (residual). Formula: 𝑠 𝑒 = 𝑟𝑒𝑠𝑖𝑑𝑢𝑎𝑙𝑠 2 𝑛−2 𝑠 𝑒 = 𝑦− 𝑦 2 𝑛−2

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

Homework *Page 191 (43, 45, 55, 60, 62)