Linear Regression By Hand Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.

Slides:



Advertisements
Similar presentations
WARM UP 1. Explain how to graph a linear equation written in slope-intercept form. 2. Explain how to graph a linear equation written in point-slope form.
Advertisements

Algebraic Rules Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.
Now-Next Equations Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.
Graphing Linear Equations and Functions
Trigonometric Ratios Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.
Motion and Force. Motion and Force Chapter Three: Motion 3.1 Position and Velocity 3.2 Graphs of Motion 3.3 Acceleration.
Linear Regression on the Calculator Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.
Scatterplots Please view this tutorial and answer the follow-up questions on loose leaf or graph paper to be handed in to your teacher.
College Algebra Chapter 2 Functions and Graphs.
LINEAR EQUATIONS PART I
4.1 Introduction to Linear Equations in Two Variables
Scatter Plots Find the line of best fit In addition to level 3.0 and beyond what was taught in class, the student may:  Make connection with.
Introduction Many relationships can be represented by linear equations. Linear equations in two variables can be written in the form y = mx + b, where.
Graphing and Equations Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.
Quadratic Functions and their graphs Lesson 1.7
Objective 1 Interpret graphs. Slide Linear Equations in Two Variables; The Rectangular Coordinate System.
Pythagorean Theorem Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.
Perimeter and Area Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.
Finding the Equation of a Line Between Two Points
Graph Linear Equations
3.2 Graphing Functions and Relations
Correlation and regression 1: Correlation Coefficient
SWBAT… graph piecewise functions
Residuals and Residual Plots Most likely a linear regression will not fit the data perfectly. The residual (e) for each data point is the ________________________.
Advanced Algebra II Notes 3.4 The Median-Median Line Weight Length Using the weights and springs on the ring stands, complete the table below:
Graph of Linear Equations  Objective: –Graph linear equations.
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note- taking materials.
Relations & Functions (x,y)y) DR ID 1. Relations & Functions Test administrator: Before administration begins, show students the front of this card and.
Slope-Intercept Form of an Equation © 2002 by Shawna Haider.
y = mx + b The equation is called the slope intercept form for a line. The graph of this equation is a straight line. The slope of the line is m. The.
Drawing Straight line graphs The gradient The gradient from coordinates The y intercept y = mx + c Other forms / rearranging equation Straight Line Graphs.
Unit 4 Seminar GRAPHS 4.1 Variation 4.2 Linear Inequalities
Graphing Linear Equations
X and Y Intercepts.
Equation of a line.
1. Interpret graphs. 2. Write a solution as an ordered pair. 3. Decide whether a given ordered pair is a solution of a given equation. 4. Complete ordered.
Line of Best Fit 4.2 A. Goal Understand a scatter plot, and what makes a line a good fit to data.
Solving Equations Using Tables Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.
Understand linear equations and its types. Form the linear equations involving slopes of different situations. Students and Teachers will be able to.
Warm Up 1) 2). Finding the slope of a line given a graph.
1.9 Distance & Midpoint Formulas Circles Objectives –Find the distance between two points. –Find the midpoint of a line segment. –Write the standard form.
TLW identify linear equations and intercepts.
Slide Copyright © 2009 Pearson Education, Inc. Slide Copyright © 2009 Pearson Education, Inc. Welcome to MM150 – Unit 4 Seminar Unit 4 Seminar.
Geometric Sequences, Exponential Equations, Exponential Growth and Decay.
Graphing Linear Equations In Standard Form Ax + By = C.
Graphing Linear Equations In Standard Form Ax + By = C.
SKETCHING LINEAR GRAPHS (3A). THE METHODS  There are many methods for sketching linear graphs:  plotting  x and y intercept method  gradient intercept.
Lines of Best Fit When data show a correlation, you can estimate and draw a line of best fit that approximates a trend for a set of data and use it to.
SLOPE 8.2.spi11 Finding the slope of a line: The slope of a hill means how steeply it goes up or down. Lines and curves also have a slope. To find slope:
Section 7.1 The Rectangular Coordinate System and Linear Equations in Two Variables Math in Our World.
LINEAR EQUATIONS PART I
Graphing and Equations
§ 1.3 Intercepts.
CLOSE Please YOUR LAPTOPS, and get out your note-taking materials.
distance prediction observed y value predicted value zero
Lines of Best Fit When data show a correlation, you can estimate and draw a line of best fit that approximates a trend for a set of data and use it to.
Graphing Linear Equations
LINEAR EQUATIONS PART I
Graphing Linear Equations
Straight Line Equation.
LINEAR EQUATIONS PART I
SLOPE AND GRAPHING LINEAR EQUATIONS (B6, B7, B8)
Find the line of best fit.
Straight Line Equation.
Graphing Linear Equations
How to solve equations One step equations:
LINEAR EQUATIONS PART I
Straight Line Equation.
Straight Line Graphs Drawing Straight line graphs The gradient
Presentation transcript:

Linear Regression By Hand Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.

What is Linear Regression? Linear regression is also known as “line of best fit” Once you find a line that fits the pattern of your data, you’ll need to find the slope and y- intercept for that line. Your line of best fit DOES NOT have to go through the origin (0,0)!!

Steps for Finding a Line of Best Fit The following data shows results from a comparison of the Ford Probe and the Ford Taurus in several categories. Ford Probe Ford Taurus Let’s use this information to make a scatterplot.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus Ford Probe Ford Taurus

Steps for Finding a Line of Best Fit Now we need to find a line that models the pattern in this data Ford Probe Ford Taurus The first step is to find the centroid. This is the average of the x information and the average of the y information.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus The average rating for the Ford Probe is 7.6. Find the average for each column. The average rating for the Ford Taurus is 7.8. Therefore, the centroid is (7.6, 7.8). Plot this point on the graph as a square.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus Ford Probe Ford Taurus

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus Your line of best fit will always go through the centroid! You should look at the pattern in your points. If they are increasing, your line should be increasing.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus The line should touch some points and have a balance of points above and below it. It DOES NOT always have to go through the origin!

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus There are many choices for this line…let’s look at a few.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus What’s good about this line? It goes through the centroid. It is almost horizontal like six of the eleven points.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus What is good about this line? It goes through the centroid. It touches some of the points. There are some points above the line and some below.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus This will be our line of best fit. Now, we need to find the equation of the line.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus First, find where your line crosses the y-axis. Our line crosses at 7 so this is our y- intercept.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus Next, you’ll need to estimate the slope (how the line changes from left to right.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus A good strategy is to pick “points in corners” or points that fall on the gridlines.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus You’ll need to find the change in your y value and the change in your x value between these two points.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus Make a triangle so that the hypotenuse is the distance between the two points.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus What is the height of the triangle? 1 The height goes from 7 to 8 so that is a difference of 1. Therefore, the change in y is 1.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus What is the length of the triangle? 6 The length goes from 3 to 9 so the difference is 6. Therefore, the change in x is 6.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus We then need to divide the change in y by the change in x. This will be the slope. 6 1 Change in y Change in x = 1 6

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus A second way you can find slope is by using two points and the slope formula:

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus First you would need to find two points that are on the line and go through one of the corners of the grid. An example would be: (3,7)

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus Can you find another point? (9,8) would be a good choice since it goes through the grid.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus Our two points are (3,7) and (9,8) Since points are written as (x,y), let’s label the first point and second point: (3, 7) and (9, 8) x 1 y 1 x 2 y 2

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus (3, 7) and (9, 8) x 1 y 1 x 2 y 2 Next we need to substitute the values into the slope formula:

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus Notice that we still get the same value for slope as we did earlier.

Steps for Finding a Line of Best Fit Ford Probe Ford Taurus So now we have our y-intercept and our slope. Let’s put these together to make our equation.

Make Estimations Using a Line of Best Fit Ford Probe Ford Taurus There are two ways to make estimations using your line of best fit. The first is to use the rule you just found to make a table on the calculator.

Make Estimations Using a Line of Best Fit Enter your equation into your list. Set your table setup. Then go to 2 nd GRAPH to look for values in your table.

Make Estimations Using a Line of Best Fit Ford Probe Ford Taurus The key thing to remember when making estimations with your line is to IGNORE THE POINTS and FOCUS ON THE LINE! The second is to use the line you drew on the graph.

Make Estimations Using a Line of Best Fit Ford Probe Ford Taurus Let’s say we want to know the rating for the Ford Taurus if the Ford Probe scored an 8.

Make Estimations Using a Line of Best Fit Ford Probe Ford Taurus Then go up until you reach your line. First, go over to 8 on the x –axis. Then go over to the y-axis to find your value.

Make Estimations Using a Line of Best Fit Ford Probe Ford Taurus Your y-value is about 7.8.

Make Estimations Using a Line of Best Fit Ford Probe Ford Taurus To find an x value if you are given y, go to the value on the y-axis. Go over until you reach your line. Then go down to find your x-value.

Follow-Up Questions Answer the following questions on loose leaf and hand them in to your teacher.

Follow-Up Questions Time Standing in Line People Still in Line for Lunch It is cheesesteak calzone day in the Raider’s Den so there are a lot of students in line. Answer the following questions using the table to the left.

Follow-Up Questions Time Standing in Line (in minutes) People Still in Line for Lunch Make a scatterplot on graph paper. 2.Find the centroid and mark it on the scatterplot. 3.Draw a line of best fit. (Use a ruler!!) 4.Using the line of best fit, estimate how many people would still be in line after 7 minutes.

Follow-Up Questions Time Standing in Line People Still in Line for Lunch If there are 75 people still in line, estimate how long they’ve been standing in line. 6.Find the equation for your line of best fit. 7.Using this line of best fit, estimate how many people will be in line after 7 minutes. Compare this to your answer for #4.