ELEC 413 Linear Least Squares. Regression Analysis The study and measure of the statistical relationship that exists between two or more variables Two.

Slides:



Advertisements
Similar presentations
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Advertisements

Topic 12: Multiple Linear Regression
Chapter 12 Simple Linear Regression
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Regresi Linear Sederhana Pertemuan 01 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Probability & Statistical Inference Lecture 9
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
11 Simple Linear Regression and Correlation CHAPTER OUTLINE
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
1 Simple Linear Regression and Correlation The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES Assessing the model –T-tests –R-square.
Ch11 Curve Fitting Dr. Deshi Ye
Definition  Regression Model  Regression Equation Y i =  0 +  1 X i ^ Given a collection of paired data, the regression equation algebraically describes.
Chapter 12 Simple Linear Regression
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.
The Simple Linear Regression Model: Specification and Estimation
Regression Analysis. Unscheduled Maintenance Issue: l 36 flight squadrons l Each experiences unscheduled maintenance actions (UMAs) l UMAs costs $1000.
SIMPLE LINEAR REGRESSION
Simple Linear Regression Analysis
Regression Chapter 10 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
REGRESSION Predict future scores on Y based on measured scores on X Predictions are based on a correlation from a sample where both X and Y were measured.
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Correlation & Regression Math 137 Fresno State Burger.
Regression, Residuals, and Coefficient of Determination Section 3.2.
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Correlation & Regression
Least-Squares Regression
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Introduction to Linear Regression and Correlation Analysis
Relationship of two variables
Simple Linear Regression
Chapter 13 Statistics © 2008 Pearson Addison-Wesley. All rights reserved.
1 FORECASTING Regression Analysis Aslı Sencer Graduate Program in Business Information Systems.
Chapter 6 & 7 Linear Regression & Correlation
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.
INTRODUCTORY LINEAR REGRESSION SIMPLE LINEAR REGRESSION - Curve fitting - Inferences about estimated parameter - Adequacy of the models - Linear.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
MBP1010H – Lecture 4: March 26, Multiple regression 2.Survival analysis Reading: Introduction to the Practice of Statistics: Chapters 2, 10 and 11.
Copyright © 2005 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Managerial Economics Thomas Maurice eighth edition Chapter 4.
Basic Concepts of Correlation. Definition A correlation exists between two variables when the values of one are somehow associated with the values of.
Regression Regression relationship = trend + scatter
1 11 Simple Linear Regression and Correlation 11-1 Empirical Models 11-2 Simple Linear Regression 11-3 Properties of the Least Squares Estimators 11-4.
Chapter 11 Correlation and Simple Linear Regression Statistics for Business (Econ) 1.
AP STATISTICS LESSON 14 – 1 ( DAY 1 ) INFERENCE ABOUT THE MODEL.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Chapter 12 Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n Testing.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 9 l Simple Linear Regression 9.1 Simple Linear Regression 9.2 Scatter Diagram 9.3 Graphical.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
The simple linear regression model and parameter estimation
Correlation & Regression
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Basic Estimation Techniques
Correlation and Regression
Ch12.1 Simple Linear Regression
Simple Linear Regression
Regression Analysis PhD Course.
Basic Estimation Techniques
6-1 Introduction To Empirical Models
M248: Analyzing data Block D UNIT D2 Regression.
Least-Squares Regression
SIMPLE LINEAR REGRESSION
Regression and Correlation of Data
Introduction to Regression
Correlation and Simple Linear Regression
Presentation transcript:

ELEC 413 Linear Least Squares

Regression Analysis The study and measure of the statistical relationship that exists between two or more variables Two variables  simple regression Three or more variables  multiple regression An estimating or predicting equation is developed to describe the pattern or functional nature of the relationship A regression plane replaces a regression line in multiple regression

Regression Analysis An independent or explanatory or regressor or predictor variable is the one that presumably exerts an influence on or explains variations in the dependent variable. The dependent or response variable is the variable to be estimated; customarily plotted on the vertical, or y-axis  denoted by ‘y’

The Scatter Diagram Outputs and aptitude test results of 8 employees of a toy manufacturing company are as shown: Employee Aptitude Test Output (Dozens Results (X) of units) (Y) A 6 30 B 9 49 C 3 18 D 8 42 E 7 39 F 5 25 G 8 41 H 10 52

Simple Linear Regression Analysis Considers a single regressor or predictor x and a dependent or response variable Y. The relationship between x and y can be adequately described by a straight line = computed estimate of dependent variable  0 = y-intercept  1 = slope of the regression line x = a given value of the independent variable

The method of least squares is used to estimate the parameters,  0 and  1 by minimizing the sum of the squares of the vertical deviations

Employee XYXYX 2 Y 2 A B C D E F G H __ ___ ____ ___ _____ Total

Matrix Formulation of Simple Least Squares Rewriting the two normal equations, In matrix notation,

Matrix Formulation of Simple Least Squares Recall, where

Matrix Formulation of Simple Least Squares The normal equations resulting from is given by If the matrix X T X is nonsingular, the solution for the least-squares coefficients can be found by is called a pseudo-inverse.

Polynomial Model Fit the polynomial equation to the N pairs of data M is the degree of the polynomial The polynomial model is considered a special case of general multiple linear model

Example Fit a parabola curve to the following data x y

Making Predictions with Regression Eq. Estimate or predict values of the dependent variable given values of the independent variable

Logical Reasoning Fallacy Post Hoc Ergo Propter Hoc The Trend must go on

Does a true relationship exist? A true relationship doesn’t exist if  1 is zero

Example The electric power consumed each month (y) by a chemical plant is thought to be related to x 1 = the average ambient temperature, x 2 = the number of days in the month, x 3 = the average product purity, and x 4 = the tons of product produced. The data were recorded in the table (next page). Fit a multiple linear regression model to the data and predict power consumption in a month in which x 1 = 75 o F, x 2 = 24 days, x 3 = 90%, and x 4 = 98 tons.

Power X 1 X 2 X 3 X

Example Find c 0, c 1, and c 2 so that the function is a least-squares fit to a triangular wave with period of 5 ms. Use a sampling frequency of 3000 Hz. Show the fit by plotting one period of the triangular wave.