LSRL Chapter 4.

Slides:



Advertisements
Similar presentations
Least Squares Regression
Advertisements

LIAL HORNSBY SCHNEIDER
Parallel and Perpendicular Lines
1 Linear Equation Jeopardy SlopeY-int Slope Intercept Form Graphs Solving Linear Equations Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400.
Gradient Intercept y = mx + c. Gradient of a line Graphs y = mx + c x y y intercept: where the graph cuts the Y axis Gradient: the slope (steepness) of.
Graphing Linear Equations In Slope-Intercept Form.
Math 227 Elementary Statistics Math 227 Elementary Statistics Sullivan, 4 th ed.
Least Squares Regression
Least Squares Regression Line (LSRL)
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Linear Regression.
Cissie Hamlin EDAT 6119, Spring 2010 Slippery Slope EDAT 6119, Spring 2010 Slippery Slope.
Chapter 6 & 7 Linear Regression & Correlation
IA Functions, Equations, and Graphs Chapter 2. In this chapter, you will learn: What a function is. Review domain and range. Linear equations. Slope.
Writing Equations of Lines. Do Now: Answer each of the following questions based on the graph 1.What is the slope of the line? 2.What is the y-intercept?
Goal: Write a linear equation..  1. Given the equation of the line 2x – 5y = 15, solve the equation for y and identify the slope of the line.  2. What.
Lecture 161 Unit 2 Lecture 16 Slope Slope. Lecture 162 Objectives Given two points, calculate the slope of the line through those two pointsGiven two.
2.3 – Slopes, Forms of Lines. Slope Slope = measure of steepness of a line in the Cartesian plane for two points Slope = m = Two ways to calculate slope:
Writing an Equation Using Two Points Goal: to write an equation of a line, in slope intercept form, that passes through two points.
Chapter 3 concepts/objectives Define and describe density curves Measure position using percentiles Measure position using z-scores Describe Normal distributions.
3.3 Least-Squares Regression.  Calculate the least squares regression line  Predict data using your LSRL  Determine and interpret the coefficient of.
3.2 Least Squares Regression Line. Regression Line Describes how a response variable changes as an explanatory variable changes Formula sheet: Calculator.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 4 Section 2 – Slide 1 of 20 Chapter 4 Section 2 Least-Squares Regression.
Graphing Lines Section 4.6.
Chapter 11 Correlation and Simple Linear Regression Statistics for Business (Econ) 1.
Chapter 6 (cont.) Difference Estimation. Recall the Regression Estimation Procedure 2.
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
CHAPTER 5 CORRELATION & LINEAR REGRESSION. GOAL : Understand and interpret the terms dependent variable and independent variable. Draw a scatter diagram.
Rate of Change and Slope Objectives: Use the rate of change to solve problems. Find the slope of a line.
There are three ways in which we can solve for slope: Slope = RISE RUN 1. Use the formula and count the spaces on a graph. = 2323.
Least Squares Regression.   If we have two variables X and Y, we often would like to model the relation as a line  Draw a line through the scatter.
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,
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 3 Association: Contingency, Correlation, and Regression Section 3.3 Predicting the Outcome.
Introduction To Slope. Slope is a measure of Steepness.
Topic 5A: Linear Equations
Least Squares Regression Lines Text: Chapter 3.3 Unit 4: Notes page 58.
SLOPE INTERCEPT FORM Y = MX +B SLOPE INTERCEPT FORM WHAT IS THE SLOPE INTERCEPT FORM? Y = MX +B a) M STANDS FOR THE SLOPE (RISE OVER RUN) b) B STANDS.
N * Use linear equations to solve problems and interpret the meaning of slope, m, and the y-intercept, b, in f(x)= mx + b in terms of the context.
3.2 - Residuals and Least Squares Regression Line.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
5.3 Slope-intercept form Identify slope and y-intercept of the graph & graph an equation in slope- intercept form. day 2.
Slope intercept form.  The slope intercept form of a line is:  y = m x + b.
Writing Equations from Tables
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
1. Analyzing patterns in scatterplots 2. Correlation and linearity 3. Least-squares regression line 4. Residual plots, outliers, and influential points.
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.
Least Square Regression Line. Line of Best Fit Our objective is to fit a line in the scatterplot that fits the data the best As just seen, the best fit.
Linear Regression Essentials Line Basics y = mx + b vs. Definitions
Bring project data to enter into Fathom
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
Linear Regression Special Topics.
Chapter 5 LSRL.
Chapter 3.2 LSRL.
Least Squares Regression Line LSRL Chapter 7-continued
Equations of Lines and Modeling
Section 1.4 Curve Fitting with Linear Models
Chapter 5 LSRL.
Chapter 5 LSRL.
Chapter 5 LSRL.
Least-Squares Regression
Section 3.2: Least Squares Regressions
Algebra Review The equation of a straight line y = mx + b
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.
Least Squares Regression Chapter 3.2
Understanding Slope.
Warm up 21 1.) Determine the slope and y intercept of the line y=7x ) Determine the slope and the yintercept of the line 7x- 4y=3 3.) Graph y=1/2.
Presentation transcript:

LSRL Chapter 4

Lines A line is made of infinite number of points Between two points only one line can pass A line needs the slope (steepness) and the y-intercept (location)

Math y = mx+b All the points are in the line For example y =3x + 2 will give us exactly

Math Given two points find A) the equation of the line y=mx+b B) Graph the line C) predict the value of y when x= -2

Line  Math  y = mx + b Given two points (1, 5) and (2, 8) A) find the equation of the line y=mx+b To Find the equation first you need to find the slope, then the y-intercept (0,b) To find slope use So slope m=3 Then you need to find the y-intercept (0,b)

Line  Math  y = mx + b Given two points (1, 5) and (2, 8) A) find the equation of the line y=mx+b To Find the equation first you need to find the slope, then the y-intercept (0,b) So slope m=3 Then you need to find the y-intercept (0,b) Y =mx+b replace the found slope Y= 3x +b now use one of the two points I chose (2,8) 8= 3 (2)+ b now solve for b  b= 2

Line  Math  y = mx + b Given two points (1, 5) and (2, 8) A) find the equation of the line y=mx+b To Find the equation first you need to find the slope, then the y-intercept (0,b) So slope m= 3 y-intercept is (0,2) so b = 2 Now write the equation y = 3x + 2

Math y = 3(-2) + 2 = -6 + 2 = -4 Given two points (1, 5) and (2, 8) A)Find the equation of the line B) Graph the line To graph the line use A table or the two given points C) predict the value of y when x = - 2 y = 3x + 2 y = 3(-2) + 2 = -6 + 2 = -4

Line  Stats  The Difference is that here we have too many scatter points and therefore we could make many lines. However to decide what is the best line, we use the Least Square Regression Line approach (LSRL) A line that minimize the distance from the observed y value in our data set to the y-predicted (that falls in the line)

Line  Stats  So to find Least Square Regression Line (LSRL) You need either a software or formulas that take into account all the scatter points in our data including the variability. Still the slope is The y-intercept (0, b0) or (0, a)

Line  Stats  So to find Least Square Regression Line (LSRL) You need either a software or formulas that take into account all the scatter points in our data including the variability. Still the slope is but now we use “r” which is the correlation coefficient that tell us the strength and the direction of the scatter points, We use Sy which tell us the variability in y (rise) we use Sx which tell us the variability in x (run) then fin the slope

Line  Stats  So to find Least Square Regression Line (LSRL) You need either a software or formulas that take into account all the scatter points in our data including the variability. To find the slope: To find y-intercept:

Here is the y-intercept Example 1 Find the LSRL correlation of nicotine and CO r = 0.863 Mean StDev Nicotine (x) 0.9414 0.3134 CO (y) 12.379 4.467 Here is the slope Here is the LSRL Least Square Regression Line Here is the y-intercept

Interpret of Slope and y-intercept in Stats CONTEXT is the most important part But the General form of interpretation is: Slope For every unit increase in x, y increases on average by the slope. Y-intercept When x = 0, then y equals “a”

Example 1 In Context Slope = 12.31 ppm (parts per million). For every one mg of nicotine increase, the ppm level in carbon monoxide increases on average by 12.31 ppm.   y-intercept =(0, 0.79) When the nicotine level is at o mg then the carbon monoxide level is at .79 ppm. In this context of the y intercept it does make sense because it is a positive number and you can have 0.79 ppm of CO.

Example 2 In Context Slope= 14.21 mg. For every one mg of nicotine increase, the tar level will increase on average by 14.21 mg. y-intercept = (0, -1.271 mg) When the nicotine level is at 0 mg, then the tar level equals to -1.271mg. In this context the y-intercept does not make sense because it is not possible to contain a negative amount of tar.