Linear Regression.

Slides:



Advertisements
Similar presentations
A Brief Introduction to Spatial Regression
Advertisements

Kin 304 Regression Linear Regression Least Sum of Squares
Correlation and regression
Regresi Linear Sederhana Pertemuan 01 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
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.
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.
Statistics for the Social Sciences
EGR 105 Foundations of Engineering I Fall 2007 – week 7 Excel part 3 - regression.
1 Relationships We have examined how to measure relationships between two categorical variables (chi-square) one categorical variable and one measurement.
Correlation 1. Correlation - degree to which variables are associated or covary. (Changes in the value of one tends to be associated with changes in the.
Regression, Residuals, and Coefficient of Determination Section 3.2.
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Linear Regression Analysis
Linear Regression.
Introduction to Linear Regression and Correlation Analysis
Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Ch4 Describing Relationships Between Variables. Section 4.1: Fitting a Line by Least Squares Often we want to fit a straight line to data. For example.
Regression. Population Covariance and Correlation.
Regression Regression relationship = trend + scatter
Revision: Pivot Table 1. Histogram 2. Trends 3. Linear 4. Exponential
Creating a Residual Plot and Investigating the Correlation Coefficient.
Scatter Diagrams scatter plot scatter diagram A scatter plot is a graph that may be used to represent the relationship between two variables. Also referred.
Ch14: Linear Least Squares 14.1: INTRO: Fitting a pth-order polynomial will require finding (p+1) coefficients from the data. Thus, a straight line (p=1)
Basic Statistics Linear Regression. X Y Simple Linear Regression.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Regression Analysis Deterministic model No chance of an error in calculating y for a given x Probabilistic model chance of an error First order linear.
Chapter 8 Linear Regression. Fat Versus Protein: An Example 30 items on the Burger King menu:
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Lecturer: Ing. Martina Hanová, PhD.. Regression analysis Regression analysis is a tool for analyzing relationships between financial variables:  Identify.
PreCalculus 1-7 Linear Models. Our goal is to create a scatter plot to look for a mathematical correlation to this data.
Part II Exploring Relationships Between Variables.
Linear Regression Essentials Line Basics y = mx + b vs. Definitions
Correlation Measures the relative strength of the linear relationship between two variables Unit-less Ranges between –1 and 1 The closer to –1, the stronger.
Regression Analysis AGEC 784.
Linear Regression Special Topics.
Practice. Practice Practice Practice Practice r = X = 20 X2 = 120 Y = 19 Y2 = 123 XY = 72 N = 4 (4) 72.
Kin 304 Regression Linear Regression Least Sum of Squares
Linear Regression and Correlation Analysis
SIMPLE LINEAR REGRESSION MODEL
BPK 304W Regression Linear Regression Least Sum of Squares
Section 13.7 Linear Correlation and Regression
2.1 Equations of Lines Write the point-slope and slope-intercept forms
CHAPTER 10 Correlation and Regression (Objectives)
Linear Functions.
2. Find the equation of line of regression
Lesson 5.3 How do you write linear equations in point-slope form?
Correlation and Regression
Least-Squares Regression
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Linear regression Fitting a straight line to observations.
Least-Squares Regression
Correlation and Regression
Correlation and Regression
y = mx + b Linear Regression line of best fit REMEMBER:
DSS-ESTIMATING COSTS Cost estimation is the process of estimating the relationship between costs and cost driver activities. We estimate costs for three.
Multivariate Analysis Regression
Linear Functions.
Scatter Plots Unit 11 B.
Ch 4.1 & 4.2 Two dimensions concept
Sleeping and Happiness
Linear proportional relationship Linear non-proportional relationship
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 14 Multiple Regression
Presentation transcript:

Linear Regression

Example data and scatter plot

Regression Line Best fitting straight line that minimizes the sum of the squared errors of prediction The colored lines show the amount of the error of prediction

Parts of the regression equation Y = (slope times X) + intercept

Measure 2 variables, plot results Data for Scots Pine Logically a tree with zero diameter would have a zero crown size. If a linear relationship exists, it should pass through the origin. This makes the formula Y = slope times X

Find out if relationship exists and how good the fit is y = mx + b In Excel…

Regression and Correlation The relationship between the value of X and it’s corresponding value of Y can be inverse or negatively correlated (higher values of X result in lower values of Y). Example might be X equals poison ingested and Y is survivors. It can be positive where higher values of X result in higher values of Y. Example might be x equals fuel added and Y equals heat given off by a fire. If you plot your data points and the line is flat, that means regardless of the level of X, Y stays the same. This means there is no correlation between X and Y. So the closer your line is to horizontal the weaker the correlation. Can you imagine a situation where this would occur?

Correlation Coefficients

Problems with linear regression Outliers, typos Non-linear data Curvilinear Point cloud

Multiple Regression Taking simple linear regression one step further Predicting the value of a dependent variable based on the value of 2 or more independent variables. Y = intercept + (coefficient1 X Variable1) + (coefficient2 X Variable2)…

Polynomial Regression Intercept = constant +/- (coefficient1 X variable1) +/- (coefficent2 X variable1 squared)

Polynomial Curve fitting used in forestry