ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 26 Regression Analysis-Chapter 17.

Slides:



Advertisements
Similar presentations
Kin 304 Regression Linear Regression Least Sum of Squares
Advertisements

Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Regression, Correlation. Research Theoretical empirical Usually combination of the two.
Simple Regression. Major Questions Given an economic model involving a relationship between two economic variables, how do we go about specifying the.
P M V Subbarao Professor Mechanical Engineering Department
Engineering experiments involve the measuring of the dependent variable as the independent one has been altered, so as to determine the relationship between.
Function Approximation
Least Square Regression
Curve-Fitting Regression
Least Square Regression
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 25 Regression Analysis-Chapter 17.
EGR 105 Foundations of Engineering I Fall 2007 – week 7 Excel part 3 - regression.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 17 Least Square Regression.
EGR 105 Foundations of Engineering I Fall 2007 – week 7 Excel part 3 - regression.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 22 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW III.
Engineering Computation Curve Fitting 1 Curve Fitting By Least-Squares Regression and Spline Interpolation Part 7.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 23 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 24 Regression Analysis-Chapter 17.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 171 CURVE.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 21 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 171 Least.
Curve fit noise=randn(1,30); x=1:1:30; y=x+noise ………………………………… [p,s]=polyfit(x,y,1);
Calibration & Curve Fitting
Least-Squares Regression
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Stats for Engineers Lecture 9. Summary From Last Time Confidence Intervals for the mean t-tables Q Student t-distribution.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 4 Curve Fitting.
CISE301_Topic41 CISE301: Numerical Methods Topic 4: Least Squares Curve Fitting Lectures 18-19: KFUPM Read Chapter 17 of the textbook.
Linear Regression Least Squares Method: the Meaning of r 2.
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Chapter 8 Curve Fitting.
Curve-Fitting Regression
1 Multiple Regression A single numerical response variable, Y. Multiple numerical explanatory variables, X 1, X 2,…, X k.
Simple Linear Regression. The term linear regression implies that  Y|x is linearly related to x by the population regression equation  Y|x =  +  x.
Lecture 16 - Approximation Methods CVEN 302 July 15, 2002.
Linear Prediction Correlation can be used to make predictions – Values on X can be used to predict values on Y – Stronger relationships between X and Y.
Math 4030 – 11b Method of Least Squares. Model: Dependent (response) Variable Independent (control) Variable Random Error Objectives: Find (estimated)
Curve Fitting Pertemuan 10 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Stats of Engineers, Lecture 8. 1.If the sample mean was larger 2.If you increased your confidence level 3.If you increased your sample size 4.If the population.
Curve Fitting Introduction Least-Squares Regression Linear Regression Polynomial Regression Multiple Linear Regression Today’s class Numerical Methods.
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.
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.
3-1Forecasting Weighted Moving Average Formula w t = weight given to time period “t” occurrence (weights must add to one) The formula for the moving average.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Applied Numerical Methods With MATLAB ® for Engineers.
Regression and Correlation of Data Summary
Linear Regression.
Part 5 - Chapter
Part 5 - Chapter 17.
ENME 392 Regression Theory
Chapter 12 Curve Fitting : Fitting a Straight Line Gab-Byung Chae
Part 5 - Chapter 17.
LESSON 21: REGRESSION ANALYSIS
Linear Regression.
MATH 2140 Numerical Methods
Linear regression Fitting a straight line to observations.
Least Squares Method: the Meaning of r2
Major: All Engineering Majors Authors: Autar Kaw, Luke Snyder
MATH 2140 Numerical Methods
Discrete Least Squares Approximation
Industrial Engineering Majors Authors: Autar Kaw, Luke Snyder
Least Square Regression
Ch 4.1 & 4.2 Two dimensions concept
Mechanical Engineering Majors Authors: Autar Kaw, Luke Snyder
SKTN 2393 Numerical Methods for Nuclear Engineers
Regression and Correlation of Data
Regression and Correlation of Data
Regression and Correlation of Data
Presentation transcript:

ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 26 Regression Analysis-Chapter 17

Curve Fitting Often we are faced with the problem… what value of y corresponds to x=0.935?

Curve Fitting Question 2 : Is it possible to find a simple and convenient formula that represents data approximately ? e.g. Best Fit ? Approximation

Experimental Measurements Strain Stress

Experimental Measurements Strain Stress

BEST FIT CRITERIA Strain y Stress Error at each Point

Best Fit => Minimize Error Best Strategy

Best Fit => Minimize Error Objective: What are the values of a o and a 1 that minimize ?

Least Square Approximation In our case Since x i and y i are known from given data

Least Square Approximation 2 Eqtns 2 Unknowns

Least Square Approximation

Example

Quantification of Error Average

Quantification of Error Average

Quantification of Error Average

Quantification of Error Standard Deviation Shows Spread Around mean Value

Quantification of Error

“Standard Deviation” for Linear Regression

Quantification of Error Better Representation Less Spread

Quantification of Error Coefficient of Determination Correlation Coefficient

Linearized Regression The Exponential Equation

Linearized Regression The Power Equation

Linearized Regression The Saturation-Growth-Rate Equation

Polynomial Regression A Parabola is Preferable

Polynomial Regression Minimize

Polynomial Regression

3 Eqtns 3 Unknowns

Polynomial Regression Use any of the Methods we Learned

Polynomial Regression With a 0, a 1, a 2 known the Total Error Standard Error Coefficient of Determination

Polynomial Regression For Polynomial of Order m Standard Error Coefficient of Determination