Analytical vs. Numerical Minimization Each experimental data point, l, has an error, ε l, associated with it ‣ Difference between the experimentally measured.

Slides:



Advertisements
Similar presentations
AP Statistics Section 3.2 C Coefficient of Determination
Advertisements

Copyright © 2010 Pearson Education, Inc. Slide
Model calibration using. Pag. 5/3/20152 PEST program.
FTP Biostatistics II Model parameter estimations: Confronting models with measurements.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Ch11 Curve Fitting Dr. Deshi Ye
Regression Analysis Using Excel. Econometrics Econometrics is simply the statistical analysis of economic phenomena Here, we just summarize some of the.
A Short Introduction to Curve Fitting and Regression by Brad Morantz
Read Chapter 17 of the textbook
Chapter 10 Simple Regression.
ESTIMATING THE REGRESSION COEFFICIENTS FOR SIMPLE LINEAR REGRESSION.
1 1 Slide © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Lecture 11 Chemical Reaction Engineering (CRE) is the field that studies the rates and mechanisms of chemical reactions and the design of the reactors.
Differential Equations and Boundary Value Problems
Simple Linear Regression Analysis
Non-Linear Simultaneous Equations
Review Guess the correlation. A.-2.0 B.-0.9 C.-0.1 D.0.1 E.0.9.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
Objectives of Multiple Regression
Linear Equations Section 2.4 Equation comes from the Latin aequus meaning “even” or “level”. An equation is a statement in which two algebraic expressions.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 11 Regression.
Least-Squares Regression
CMPS1371 Introduction to Computing for Engineers NUMERICAL METHODS.
Ranga Rodrigo April 6, 2014 Most of the sides are from the Matlab tutorial. 1.
Chapter 14 – Correlation and Simple Regression Math 22 Introductory Statistics.
Inferences for Regression
Non-Linear Models. Non-Linear Growth models many models cannot be transformed into a linear model The Mechanistic Growth Model Equation: or (ignoring.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2003 Thomson/South-Western Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple Coefficient of Determination.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #9 Jose M. Cruz Assistant Professor.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Math 260 Final Project //name //major //picture (optional)
Non-Linear Models. Non-Linear Growth models many models cannot be transformed into a linear model The Mechanistic Growth Model Equation: or (ignoring.
Chem Math 252 Chapter 5 Regression. Linear & Nonlinear Regression Linear regression –Linear in the parameters –Does not have to be linear in the.
Computational Physics Introduction 3/30/11. Goals  Calculate solutions to physics problems  All physics problems can be formulated mathematically. 
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
BIOL 582 Lecture Set 11 Bivariate Data Correlation Regression.
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.
Go to Table of Content Single Variable Regression Farrokh Alemi, Ph.D. Kashif Haqqi M.D.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Regression Regression relationship = trend + scatter
1 Multiple Regression A single numerical response variable, Y. Multiple numerical explanatory variables, X 1, X 2,…, X k.
10B11PD311 Economics REGRESSION ANALYSIS. 10B11PD311 Economics Regression Techniques and Demand Estimation Some important questions before a firm are.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Chapter 13 Multiple Regression
Regression Analysis Part C Confidence Intervals and Hypothesis Testing
Newton’s Method, Root Finding with MATLAB and Excel
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Non-Linear Models. Non-Linear Growth models many models cannot be transformed into a linear model The Mechanistic Growth Model Equation: or (ignoring.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Chapter 2-OPTIMIZATION G.Anuradha. Contents Derivative-based Optimization –Descent Methods –The Method of Steepest Descent –Classical Newton’s Method.
Chapter 8 Linear Regression. Fat Versus Protein: An Example 30 items on the Burger King menu:
MathematicalMarketing Slide 5.1 OLS Chapter 5: Ordinary Least Square Regression We will be discussing  The Linear Regression Model  Estimation of the.
REGRESSION MODELS OF BEST FIT Assess the fit of a function model for bivariate (2 variables) data by plotting and analyzing residuals.
Fundamentals of Data Analysis Lecture 11 Methods of parametric estimation.
Introduction to Differential Equations
Physics 114: Lecture 16 Least Squares Fit to Arbitrary Functions
Another sufficient condition of local minima/maxima
Chapter 7. Classification and Prediction
Correlation and Regression
Multiple Regression.
CHAPTER 10 Correlation and Regression (Objectives)
CHAPTER 29: Multiple Regression*
CHAPTER 26: Inference for Regression
Linear regression Fitting a straight line to observations.
Section 5 Multiple Regression.
Lecture 11 Chemical Reaction Engineering (CRE) is the field that studies the rates and mechanisms of chemical reactions and the design of the reactors.
Presentation transcript:

Analytical vs. Numerical Minimization Each experimental data point, l, has an error, ε l, associated with it ‣ Difference between the experimentally measured value of the response variable, ŷ l, and the value that the model predicts for the response variable, y l ‣ The objective function, Φ, is a measure of the overall error for all the data points collectively ‣ One objective is to find parameters values that minimize Φ ‣ Analytical approach is to take derivatives and set equal to zero  Then solve the resulting set of equations for the θ values  Only works if the model can be solved explicitly for the response ‣ Alternative is to minimize Φ numerically  Model does not have to be solved explicitly for the response Solve the model numerically for y within the code for numerically minimizing Φ  Allows using sets of non-linear equations or sets of initial-value ordinary differential equations as the model The response variable might be one of the unknowns in the set of equation or a quantity calculated from those unknowns

MATLAB Template Files for Single Response Data FitNonlinSR.m (fit a non-linear equation to single response data) ‣ Model: FitNumAlgSR.m (numerically fit a set of non-linear (algebraic) equations to single response data) ‣ Model: ‣ Response:

FitNumDifSR.m (numerically fit a set of initial-value ordinary differential equations to single response data) ‣ Model: ‣ Response: Output ‣ Best value for each parameter ‣ Correlation coefficient, r 2 ‣ 95% confidence interval for each parameter ‣ Plot(s)  Model plot if there is only one set variable  Parity plot and residuals plots if there are more than one set variables The template files must be modified each time they are applied to a new problem

Required Information and Data FitNonlinSR.m ‣ a set of experimental data points, each of which consists of a value for the response variable, ŷ, and corresponding values for each of the set variables x i ‣ a guess for the value of each unknown parameter that appears in the model ‣ code that calculates the model-predicted value of the response variable, given values for the parameters and values for the set variables FitNumAlgSR.m ‣ first two items above ‣ code that evaluates the set of non-linear equations to be solved, given values for the unknowns ‣ code that provides a guess for the values of the unknowns FitNumDifSR.m ‣ first two items above ‣ code that evaluates the derivatives in the set of initial value ordinary differential equations given values of the independent and dependent variables ‣ code that provides the initial values of the independent and dependent variables ‣ code that provides the final value of the independent variable

A Note on Numerical Minimization An objective function may have more than one “local” minimum and maximum The analytical approach (taking the derivatives analytically and solving the resulting equations) will find all minima and maxima of the objective function (red arrows) The numerical algorithm, as described here, will only find one minimum ‣ It could be the global minimum ‣ It could be a local minimum It is advisable to repeat a regression analysis using very different guesses for the parameters to see whether the algorithm finds the same minimum or different ones

Fitting Models to Multiple Response Data The objective function differs depending upon the nature of the data ‣ Here only consider a complete data set where every response variable was measured in every experiment ‣ In this case, MATLAB template files (requiring complete data set) ‣ Analogous to FitNumAlgSR.m and FitNumDifSR.m  filenames end with MR.m instead of SR.m ‣ Correlation coefficient and 95% confidence intervals for parameters are not computed