Regression in EXCEL r2 SSE b0 b1 SST.

Slides:



Advertisements
Similar presentations
Warm Up… Solve each equation for y.
Advertisements

AP Statistics Section 3.2 C Coefficient of Determination
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.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Definition  Regression Model  Regression Equation Y i =  0 +  1 X i ^ Given a collection of paired data, the regression equation algebraically describes.
Developing and Using a Simple Regression Equation. The simple regression model is based on the equation for a straight line: Yc = A+BX.
EGR 105 Foundations of Engineering I
Excel Part III Curve-Fitting, Regression Section 8 Fall 2013 EGR 105 Foundations of Engineering I.
Regression Regression: Mathematical method for determining the best equation that reproduces a data set Linear Regression: Regression method applied with.
EGR 105 Foundations of Engineering I Fall 2007 – week 7 Excel part 3 - regression.
EGR 105 Foundations of Engineering I Fall 2007 – week 7 Excel part 3 - regression.
GOAL SEEK AND SOLVER Both of these tools come with the standard Excel package, but Solver has to be installed. If it is not on your computer, do the following:
Regression Analysis In regression analysis we analyze the relationship between two or more variables. The relationship between two or more variables could.
Spreadsheet Problem Solving
Least Squares Regression Fitting a Line to Bivariate Data.
Graphing & Interpreting Data
Forecasting using trend analysis
Simple Linear Regression
EC339: Lecture 6 Chapter 5: Interpreting OLS Regression.
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.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
4.2 Introduction to Correlation Objective: By the end of this section, I will be able to… Calculate and interpret the value of the correlation coefficient.
Section 2.2 Functions  Functions & Graphs  Function Notation & Equations  Applications: Interpolation & Extrapolation 12.2.
Fitting Exponentials and Polynomials to Data Lesson 11.7.
Applied Quantitative Analysis and Practices LECTURE#22 By Dr. Osman Sadiq Paracha.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Regression Regression relationship = trend + scatter
Analyzing Data using Line Graphs Slope & Equation of a Line.
Algebra 1 Notes Lesson 7-4 Elimination Using Multiplication.
Trend Projection Model b0b0 b1b1 YiYi
Revision: Pivot Table 1. Histogram 2. Trends 3. Linear 4. Exponential
Curve Fitting Discovering Relationships. Purpose of Curve Fitting Effectively communicate (describe) information Effectively communicate (describe) information.
. 5.1 write linear equation in slope intercept form..5.2 use linear equations in slope –intercept form..5.3 write linear equation in point slope form..5.4.
Residuals Recall that the vertical distances from the points to the least-squares regression line are as small as possible.  Because those vertical distances.
9.1: Solving Equations Graphically in One Variable January 6, 2009.
LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.
Review after Christmas!. Solve the below equations for the variable..5 (6x +8) = 16 1.
EXCEL DECISION MAKING TOOLS AND CHARTS BASIC FORMULAE - REGRESSION - GOAL SEEK - SOLVER.
Describing Relationships. Least-Squares Regression  A method for finding a line that summarizes the relationship between two variables Only in a specific.
The simple linear regression model and parameter estimation
Excel - Data Analysis Dr. Theodore Cleveland University of Houston
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
Linear Regression Special Topics.
Warm Up: Graph y = - 2x + 7 and find the x-intercept and y-intercept.
Chapter 5 LSRL.
SIMPLE LINEAR REGRESSION MODEL
ANALYZING functions Unit 1 Day
Chapter 3.2 LSRL.
CHAPTER 10 Correlation and Regression (Objectives)
Investigating Relationships
Least Squares Regression Line LSRL Chapter 7-continued
Lesson 5.7 Predict with Linear Models The Zeros of a Function
DRILL Given each table write an equation to find “y” in terms of x.
Chapter 5 LSRL.
Chapter 5 LSRL.
Chapter 5 LSRL.
High School – Pre-Algebra - Unit 8
Least-Squares Regression
Least-Squares Regression
Multivariate Analysis Regression
Solving Linear Equations by Graphing
Systems of Equations Solve by Graphing.
Lesson 2.2 Linear Regression.
Objectives: To graph lines using the slope-intercept equation
Chapter 14 Multiple Regression
Presentation transcript:

Regression in EXCEL r2 SSE b0 b1 SST

Prediction Watch Outs Consider only the relevant range of the explanatory variable (x) Interpolation is valid Extrapolation is not!!!

Linear Regression in Excel Method 1 When all you need is the slope and intercept of a best fit line, you can use Excel functions (SLOPE and INTERCEPT) to determine these values. You can also use RSQ to find the coefficient of determination (R2)

Example #1 Using Excel’s Functions to find the slope, intercept, and coefficient of determination

Linear Regression in Excel Method 2 Performing a linear regression in Excel is very easy. Once the data have been graphed, regression can be done very simply. Just because it is easy, does not mean that a linear regression always makes sense. Graph the data first and always inspect the “quality” of the fit.

Linear Regression in Excel Method 2 When regression is done with the trend line feature of Excel, the fitted curve is automatically added to the graph.

Linear Regression in Excel Method 2 The process of performing a linear regression for a slope and intercept requires the computation of various sums using both the independent (x) values and dependant (y) values in the data set being analyzed.

Linear Regression in Excel Method 2 You can calculate the slope b1 and intercept b0 with formula’s, but Excel will do this for you  When trying to find the best fit, always start with a linear fit (unless it is obvious that won’t work), then try exponential and polynomial fits if you think you can get a better fit.

Example #2 Using Excel’s Trendline feature find the equation for a model that fits the data

Linear Regression in Excel Method 3 There is an add-in under tools (regression) that can provide you all the details resulting from a linear regression. It is easy to use, but interpreting the results requires some understanding of regression terminology

Using Excel’s Regression Analysis Tool Example #3 Using Excel’s Regression Analysis Tool

Solving Equations You can use Excel to solve a single equation. Like most things in Excel you can do this in many different ways Graphical solution (find the roots of an equation) Trial and guess Excel features…solver and goal seek

Using Graphical means to find equation solution Example #1 Using Graphical means to find equation solution

Using Goal Seek to find equation solution Example #2 Using Goal Seek to find equation solution

Using Solver to find solutions Example #3 Using Solver to find solutions