The Best-Fit Line Linear Regression. PGCC CHM 103 Sinex How do you determine the best-fit line through data points? x-variable y-variable Fortunately.

Slides:



Advertisements
Similar presentations
Objective - To graph linear equations using the slope and y-intercept.
Advertisements

Kin 304 Regression Linear Regression Least Sum of Squares
Linear Equations Review. Find the slope and y intercept: y + x = -1.
Excel Notes Phys244/246 © 2007, B.J. Lieb. Calculating Velocity The velocity is calculated by entering the following: =(B3-B2) / (A3-A2). Then drag the.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Regression, Correlation. Research Theoretical empirical Usually combination of the two.
Calibration Methods Introduction
Definition  Regression Model  Regression Equation Y i =  0 +  1 X i ^ Given a collection of paired data, the regression equation algebraically describes.
Chapter 10 Regression. Defining Regression Simple linear regression features one independent variable and one dependent variable, as in correlation the.
Regression Regression: Mathematical method for determining the best equation that reproduces a data set Linear Regression: Regression method applied with.
Write an equation given the slope and y-intercept EXAMPLE 1 Write an equation of the line shown.
5-7: Scatter Plots & Lines of Best Fit. What is a scatter plot?  A graph in which two sets of data are plotted as ordered pairs  When looking at the.
LINEAR REGRESSION: What it Is and How it Works Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
LINEAR REGRESSION: What it Is and How it Works. Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
Chapter 12a Simple Linear Regression
Linear Regression and Correlation Topic 18. Linear Regression  Is the link between two factors i.e. one value depends on the other.  E.g. Drivers age.
Least Squares Regression Line (LSRL)
The Line of Best Fit Linear Regression. Definition - A Line of Best or a trend line is a straight line on a Scatter plot that comes closest to all of.
Write an equation given the slope and y-intercept EXAMPLE 1 Write an equation of the line shown.
2-4: Writing Linear Equations Using Slope Intercept Form.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Correlation and regression 1: Correlation Coefficient
Linear Trend Lines Y t = b 0 + b 1 X t Where Y t is the dependent variable being forecasted X t is the independent variable being used to explain Y. In.
12b. Regression Analysis, Part 2 CSCI N207 Data Analysis Using Spreadsheet Lingma Acheson Department of Computer and Information Science,
Linear Trend Lines = b 0 + b 1 X t Where is the dependent variable being forecasted X t is the independent variable being used to explain Y. In Linear.
Chapter 3 concepts/objectives Define and describe density curves Measure position using percentiles Measure position using z-scores Describe Normal distributions.
Regression Maarten Buis Outline Recap Estimation Goodness of Fit Goodness of Fit versus Effect Size transformation of variables and effect.
1.6 Linear Regression & the Correlation Coefficient.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Regression. Population Covariance and Correlation.
Simple Linear Regression. Deterministic Relationship If the value of y (dependent) is completely determined by the value of x (Independent variable) (Like.
Linear Trend Lines = b 0 + b 1 X t Where is the dependent variable being forecasted X t is the independent variable being used to explain Y. In Linear.
Trend Projection Model b0b0 b1b1 YiYi
Regression Lesson 11. The General Linear Model n Relationship b/n predictor & outcome variables form straight line l Correlation, regression, t-tests,
Graphical Analysis in Excel EGN 1006 – Introduction to Engineering.
Graphing Types of graphs & how to create graphs in Excel.
Revision: Pivot Table 1. Histogram 2. Trends 3. Linear 4. Exponential
Correlation The apparent relation between two variables.
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,
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Section 1-3: Graphing Data
When an equation is in slope-intercept form: Examples: Identify the slope of the line and the y- intercept for each equation. 1. y = 3x y = ½.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression.
Method 3: Least squares regression. Another method for finding the equation of a straight line which is fitted to data is known as the method of least-squares.
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.
1. Analyzing patterns in scatterplots 2. Correlation and linearity 3. Least-squares regression line 4. Residual plots, outliers, and influential points.
Common Core Standards Covered in this lesson: HSA-CED.A.2 --Create equations in two or more variables to represent relationships between quantities 8.F.A.3.
Regression and Correlation of Data Summary
Slope Intercept Form Algebra
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
Kin 304 Regression Linear Regression Least Sum of Squares
CHM 103 Sinex The Best-Fit Line Linear Regression.
Linear Trends and Correlations
r = The correlation between price and calories is 0. 79
Graphing Linear Equations
^ y = a + bx Stats Chapter 5 - Least Squares Regression
DRILL Given each table write an equation to find “y” in terms of x.
M248: Analyzing data Block D UNIT D2 Regression.
Least-Squares Regression
Lesson 2.2 Linear Regression.
Correlation and Regression
Graphing Linear Equations
y = mx + b Linear Regression line of best fit REMEMBER:
Graphing Linear Equations
Multivariate Analysis Regression
Slope-intercept Form of Equations of Straight Lines
Algebra Review The equation of a straight line y = mx + b
9/27/ A Least-Squares Regression.
Presentation transcript:

The Best-Fit Line Linear Regression

PGCC CHM 103 Sinex How do you determine the best-fit line through data points? x-variable y-variable Fortunately technology, such as the graphing calculator and Excel, can do a better job than your eye and a ruler!

PGCC CHM 103 Sinex The Equation of a Straight Line y = mx + b where m is the slope or  y/  x and b is the y-intercept In some physical settings, b = 0 so the equation simplifies to: y = mx

PGCC CHM 103 Sinex x-variable y-variable deviation = residual = y data point – y equation Linear regression minimizes the sum of the squared deviations y = mx + b

PGCC CHM 103 Sinex Linear Regression Minimizes the sum of the square of the deviations for all the points and the best-fit line Judge the goodness of fit with r 2 r 2 x100 tells you the percent of the variation of the y-variable that is explained by the variation of the x- variable (a perfect fit has r 2 = 1)

PGCC CHM 103 Sinex x-variable y-variable Goodness of Fit: Using r 2 r 2 is high r 2 is low How about the value of r 2 ?

PGCC CHM 103 Sinex Strong direct relationship 99.1% of the y-variation is due to the variation of the x-variable

PGCC CHM 103 Sinex Noisy indirect relationship Only 82% of the y-variation is due to the variation of the x-variable - what is the other 18% caused by?

PGCC CHM 103 Sinex When there is no trend! No relationship!

PGCC CHM 103 Sinex In Excel When the chart is active, go to chart, and select Add Trendline, choose the type and on option select display equation and display r 2 For calibration curves, select the set intercept = 0 option Does this make physical sense?

PGCC CHM 103 Sinex Using the set intercept = 0 option lowers the r 2 value by a small amount and changes the slope slightly Does the set intercept = 0 option make a difference?

PGCC CHM 103 Sinex The equation becomes A = mc or A = 0.89c 99.1% of the variation of the absorbance is due to the variation of the concentration.