Least-Squares Regression
|
|
- Jasmin Nicholson
- 5 years ago
- Views:
Transcription
1 Least-quares Regression ChEn 2450 Concept: Given data points (x i, ), find parameters in the function f(x) that minimize the error between f(x i ) and. f(x) f(x) x x Regression.key - eptember 22, 204
2 Introduction: Regression to a Linear Function f(x) (x 2,y 2 ) (x 3,y 3 ) What we would like: y + x y 2 + x 2 y 3 + x 3 Problem: 3 equations (3 data points), but only 2 unknowns (a0, a). (x,y ) x Idea: minimize the error between f(x i ) and (x i ). A measure of error (sum of squared errors): (y f(x )) 2 +(y 2 f(x 2 )) 2 +(y 3 f(x 3 )) 2 (y x ) 2 +(y 2 x 2 ) 2 +(y 3 x 3 ) 2 To minimize error, we change a0 and a to minimize. et the slope 2(y x )( )+2(y x 2 )( )+2(y x 3 2x (y x ) 2x 2 (y x 2 ) 2x 3 (y x 3 ) To fit a linear polynomial to three data points: 3y 3 + (x + x 2 + x 3 ) 3y (x + x 2 + x 3 ) (x + x 2 + x 3 )+ (x 2 + x x 2 3) olve for a0,. 2 Regression.key - eptember 22, 204
3 Hoffman Linear Least-quares Regression Concept: Given data points (xi,yi), find parameters in the function f(x) that minimize the error between f(xi) and yi. y, f(x) (x i, ) f(x) x [ f(x i )] 2 - um of the squared errors. To minimize (error between function & data), we take partial derivatives w.r.t. the function parameters and set to zero. AUME f(x) is an n p -order polynomial: a k f(x) n p k0 2x k i a k x k n p j0 a j x j i 0 Only for polynomials n p k0 a k x k i 2 k 0... n p i - data point index k - polynomial coefficient index i - data point index j - dummndex k - polynomial coefficient index np+ equations for np+ unknowns (ak). Equations are linear w.r.t. ak. Linear Least quares regression. 3 Regression.key - eptember 22, 204
4 Example: n p (Linear Polynomial) a k Linear polynomial, np: f(x) + x Apply chain rule. x k i X nx g i n p j0 g i a j x j i 0 [ x i ] 2 g 2 i g i x i nx (2g i )( ) 2( x i ) k 0... n p X nx g i Here we divided the entire equation by -2. (why?) g i nx (2g i )( x i ) 2x i ( x i ) 2( ) [ x i ] 2( x i ) [ x i ] 0 0 [ x i ] [ x i ] x i x i ( + x i ) ( + x i ) x i 2 equations, 2 unknowns (a0, a) 4 Regression.key - eptember 22, 204
5 Example (cont d.) x i ( + x i ) ( + x i ) x i 2 equations, 2 unknowns. Let s put these in Matrix form... For 4 points, y + y 2 + y 3 + y 4 ( + x )+( + x 2 )+( + x 3 )+( + x 4 ) y x + y 2 x 2 + y 3 x 3 + y 4 x 4 ( + x ) x +( + x 2 ) x 2 +( + x 3 ) x 3 +( + x 4 ) x 4 tep : define the solution variable vector. a0 tep 2: define the matrix and RH vector. " P x i P x i P x2 i # P! P x i " P x i P x i P x2 i # a0 P! P x i Linear least squares regression for a linear polynomial. 5 Regression.key - eptember 22, 204
6 Example - Reaction Rate Constant rate constant ln(k) ln(a) " Pre-exponential factor k A exp Gas constant R8.34 J/mol-K RT y + x RT y ln(k), x RT, ln(a), P x i P x i P x2 i Activation energy Temperature recall: ln(ab)ln(a)+ln(b) # a0 log(k) (/s) b0 b Benzene diazonium chloride Cl ln(a) Ea data best fit /RT (mol/j) x 0 4 Chlorobenzene T (K) Cl + 2 k (/s) ote: we need to calculate A (pre-exponential factor) from a0. ow we are ready to go to the computer to determine a0 and a. 6 Regression.key - eptember 22, 204
7 Polynomial Regression & The ormal Equations (Alternative Formulation for Linear Least quares) p + x + a 2 x 2 + a 3 x a n x n One equation for each observation ( equations) Given >n p observations (x i, ), and a n p order polynomial, find a j. x x 2 x n p x 2 x 2 2 x n p x x 2 xn p A OTE: this is an overdetermined (more equations than unknowns) linear problem for the coefficients, a i.. a np y. y b A T A A T b ormal Equations Another form of linear least-squares regression. Example - linear polynomial: x x 2.. x p(x) + x y y 2. x x 2 x y x x 2.. x x x 2 x y y 2. y 7 Regression.key - eptember 22, 204
8 The Two are One... Consider each of the previous approaches for a first order polynomial. a k Direct Least quares x i x k i k0 k x i x2 i n p j0 + x i + ( x i ) 0, x i ( x i ) 0 a j x j i 0 x i x 2 i k 0... n p, x i x i A A T b A T A A T A x x 2.. x A T b x i x i x i x2 i b Typically most convenient for linear regression problems. y y 2 y 3. y Matrix Transpose Approach 8 Regression.key - eptember 22, 204
9 Example - Reaction Rate Constant rate constant ln(k) ln(a) Pre-exponential factor k A exp Gas constant R8.34 J/mol-K RT y + x RT y ln(k), x RT, ln(a), RT RT 2.. RT A Activation energy Temperature recall: ln(ab)ln(a)+ln(b) ln(k ) ln(k 2 ). ln(k ) b log(k) (/s) Benzene diazonium chloride Cl ln(a) Ea data best fit /RT (mol/j) x 0 4 A T A A T b Chlorobenzene T (K) ote: need to calculate A (preexponential factor) from a0. Cl + 2 k (/s) Regression.key - eptember 22, 204
10 Linear Least quares Regression in matlab BEFORE you go to the computer, formulate the problem as a polynomial regression problem! Do it manually - the way that we just showed. ee MATLAB code for previous example posted on class website. This is my favored method, and provides maximum flexibility! Polynomial regression: ppolyfit(x,y,n) polyval(p,xi) evaluates the resulting polynomial at xi. gives the best fit for a polynomial of order n through the data. if n(length(x)-) then you get an interpolant. if n<(length(x)-) then you get a least-squares fit. You still must get the problem into a polynomial form. 0 Regression.key - eptember 22, 204
11 The R 2 Value How well does the regressed line fit the data? R 2 ( f(x i )) 2 ( ȳ) 2 (xi,yi) - data points that we are regressing. f(x) - function we are regressing to. f(xi) - regression function value at xi. ȳ Average value of R 2 Perfect fit Regression.key - eptember 22, 204
12 onlinear Least quares Regression Assume f(x) has n parameters ak that we want to determine via regression. [ f(x i )] 2 a k 0, ame approach as before, but now the parameters of f(x) may enter nonlinearly! k... n Example: f(x) ax b a X b X 2x b i ax b i 2ax b i ln(x i ) X ax b i ax b 2 i 0 0 X x b i ax b i X x b i ln(x X g 2 i, g i ax X ax i X 2g i x b X 2g i ax b i ln(x i ) Two nonlinear equations to solve for a and b. Can we reformulate this as a linear problem? 2 Regression.key - eptember 22, 204
13 Kinetics Example Revisited um of squared errors. A exp Minimize w.r.t. A and Ea. gi 2, g i @ X apple 2g i X X apple A 2g i exp Ea 2 rate constant A 0 0 Pre-exponential factor k A exp exp 2 exp 2A exp T i exp Gas constant R8.34 J/mol-K RT A exp Activation energy A exp Temperature A exp A exp 2 nonlinear equations with 2 unknowns A,. We will show how to solve this soon! 3 Regression.key - eptember 22, 204
Minimizing & Maximizing Functions
Minimizing & Maximizing Functions Nonlinear functions may have zero to many minima and maxima. Example: find the minimum of y = 3x 2 2x + 1 Minima & maxima occur in functions where the slope changes sign
More informationLeast Squares Regression
Least Squares Regression Chemical Engineering 2450 - Numerical Methods Given N data points x i, y i, i 1 N, and a function that we wish to fit to these data points, fx, we define S as the sum of the squared
More informationCurve Fitting and Interpolation
Chapter 5 Curve Fitting and Interpolation 5.1 Basic Concepts Consider a set of (x, y) data pairs (points) collected during an experiment, Curve fitting: is a procedure to develop or evaluate mathematical
More informationCurve Fitting. Objectives
Curve Fitting Objectives Understanding the difference between regression and interpolation. Knowing how to fit curve of discrete with least-squares regression. Knowing how to compute and understand the
More informationSolutions to: Kinetics Homework Problem Set S.E. Van Bramer
Solutions to: Kinetics Homework Problem Set S.E. Van Bramer. The following experimenat data was collected for the reaction at 98 K. 2 N 2 O 5 --> 4 NO 2 + O 2 a. What is the average rate of N2O5 loss and
More information7.4* General logarithmic and exponential functions
7.4* General logarithmic and exponential functions Mark Woodard Furman U Fall 2010 Mark Woodard (Furman U) 7.4* General logarithmic and exponential functions Fall 2010 1 / 9 Outline 1 General exponential
More informationPython Analysis. PHYS 224 September 25/26, 2014
Python Analysis PHYS 224 September 25/26, 2014 Goals Two things to teach in this lecture 1. How to use python to fit data 2. How to interpret what python gives you Some references: http://nbviewer.ipython.org/url/media.usm.maine.edu/~pauln/
More informationAGEC 661 Note Eleven Ximing Wu. Exponential regression model: m (x, θ) = exp (xθ) for y 0
AGEC 661 ote Eleven Ximing Wu M-estimator So far we ve focused on linear models, where the estimators have a closed form solution. If the population model is nonlinear, the estimators often do not have
More informationRegression and Nonlinear Axes
Introduction to Chemical Engineering Calculations Lecture 2. What is regression analysis? A technique for modeling and analyzing the relationship between 2 or more variables. Usually, 1 variable is designated
More informationChapter 13 - Chemical Kinetics II. Integrated Rate Laws Reaction Rates and Temperature
Chapter 13 - Chemical Kinetics II Integrated Rate Laws Reaction Rates and Temperature Reaction Order - Graphical Picture A ->Products Integrated Rate Laws Zero Order Reactions Rate = k[a] 0 = k (constant
More informationInput: A set (x i -yy i ) data. Output: Function value at arbitrary point x. What for x = 1.2?
Applied Numerical Analysis Interpolation Lecturer: Emad Fatemizadeh Interpolation Input: A set (x i -yy i ) data. Output: Function value at arbitrary point x. 0 1 4 1-3 3 9 What for x = 1.? Interpolation
More informationBSM510 Numerical Analysis
BSM510 Numerical Analysis Polynomial Interpolation Prof. Manar Mohaisen Department of EEC Engineering Review of Precedent Lecture Polynomial Regression Multiple Linear Regression Nonlinear Regression Lecture
More informationA First Course on Kinetics and Reaction Engineering Example 4.6
Example 4.6 Problem Purpose This example illustrates the use of an Arrhenius plot to determine the best values of a preexponential factor and an activation energy. Problem Statement Kinetic studies were
More informationSalinity Calibration fit with Matlab
Salinity Calibration fit with Matlab ME 121 Notes Gerald Recktenwald Portland State University Department of Mechanical Engineering gerry@pdx.edu ME 121: Salinity calibration fit Overview These slides
More informationPython Analysis. PHYS 224 October 1/2, 2015
Python Analysis PHYS 224 October 1/2, 2015 Goals Two things to teach in this lecture 1. How to use python to fit data 2. How to interpret what python gives you Some references: http://nbviewer.ipython.org/url/media.usm.maine.edu/~pauln/
More informationCalculus I Announcements
Slide 1 Calculus I Announcements Read sections 3.9-3.10 Do all the homework for section 3.9 and problems 1,3,5,7 from section 3.10. The exam is in Thursday, October 22nd. The exam will cover sections 3.2-3.10,
More informationCalculus Overview. f(x) f (x) is slope. I. Single Variable. A. First Order Derivative : Concept : measures slope of curve at a point.
Calculus Overview I. Single Variable A. First Order Derivative : Concept : measures slope of curve at a point. Notation : Let y = f (x). First derivative denoted f ʹ (x), df dx, dy dx, f, etc. Example
More information2. Theory of the Derivative
2. Theory of the Derivative 2.1 Tangent Lines 2.2 Definition of Derivative 2.3 Rates of Change 2.4 Derivative Rules 2.5 Higher Order Derivatives 2.6 Implicit Differentiation 2.7 L Hôpital s Rule 2.8 Some
More informationCS 195-5: Machine Learning Problem Set 1
CS 95-5: Machine Learning Problem Set Douglas Lanman dlanman@brown.edu 7 September Regression Problem Show that the prediction errors y f(x; ŵ) are necessarily uncorrelated with any linear function of
More information1 Lecture 8: Interpolating polynomials.
1 Lecture 8: Interpolating polynomials. 1.1 Horner s method Before turning to the main idea of this part of the course, we consider how to evaluate a polynomial. Recall that a polynomial is an expression
More informationIt must be determined from experimental data, which is presented in table form.
Unit 10 Kinetics The rate law for a reaction describes the dependence of the initial rate of a reaction on the concentrations of its reactants. It includes the Arrhenius constant, k, which takes into account
More informationSection 5.8 Regression/Least Squares Approximation
Section 5.8 Regression/Least Squares Approximation Key terms Interpolation via linear systems Regression Over determine linear system Closest vector to a column space Linear regression; least squares line
More informationCorrelation 1. December 4, HMS, 2017, v1.1
Correlation 1 December 4, 2017 1 HMS, 2017, v1.1 Chapter References Diez: Chapter 7 Navidi, Chapter 7 I don t expect you to learn the proofs what will follow. Chapter References 2 Correlation The sample
More informationNewton's forward interpolation formula
Newton's Interpolation Formulae Interpolation is the process of approximating a given function, whose values are known at N + 1 tabular points, by a suitable polynomial, P N (x) of degree N which takes
More informationAnalysis II: Basic knowledge of real analysis: Part V, Power Series, Differentiation, and Taylor Series
.... Analysis II: Basic knowledge of real analysis: Part V, Power Series, Differentiation, and Taylor Series Kenichi Maruno Department of Mathematics, The University of Texas - Pan American March 4, 20
More informationINDIAN INSTITUTE OF SCIENCE STOCHASTIC HYDROLOGY. Lecture -30 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc.
INDIAN INSTITUTE OF SCIENCE STOCHASTIC HYDROLOGY Lecture -30 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc. Summary of the previous lecture IDF relationship Procedure for creating
More informationMath 343 Lab 7: Line and Curve Fitting
Objective Math 343 Lab 7: Line and Curve Fitting In this lab, we explore another use of linear algebra in statistics. Specifically, we discuss the notion of least squares as a way to fit lines and curves
More informationPolynomial Regression and Regularization
Polynomial Regression and Regularization Administrivia o If you still haven t enrolled in Moodle yet Enrollment key on Piazza If joined course recently, email me to get added to Piazza o Homework 1 posted
More informationLECTURE 16 GAUSS QUADRATURE In general for Newton-Cotes (equispaced interpolation points/ data points/ integration points/ nodes).
CE 025 - Lecture 6 LECTURE 6 GAUSS QUADRATURE In general for ewton-cotes (equispaced interpolation points/ data points/ integration points/ nodes). x E x S fx dx hw' o f o + w' f + + w' f + E 84 f 0 f
More informationAppendix 4. Some Equations for Curve Fitting
Excep for Scientists and Engineers: Numerical Methods by E. Joseph Billo Copyright 0 2007 John Wiley & Sons, Inc. Appendix 4 Some Equations for Curve Fitting This appendix describes a number of equation
More informationp(z)
Chapter Statistics. Introduction This lecture is a quick review of basic statistical concepts; probabilities, mean, variance, covariance, correlation, linear regression, probability density functions and
More informationMath Review ECON 300: Spring 2014 Benjamin A. Jones MATH/CALCULUS REVIEW
MATH/CALCULUS REVIEW SLOPE, INTERCEPT, and GRAPHS REVIEW (adapted from Paul s Online Math Notes) Let s start with some basic review material to make sure everybody is on the same page. The slope of a line
More informationQ1. Discuss, compare and contrast various curve fitting and interpolation methods
Q1. Discuss, compare and contrast various curve fitting and interpolation methods McMaster University 1 Curve Fitting Problem statement: Given a set of (n + 1) point-pairs {x i,y i }, i = 0,1,... n, find
More informationTopics Covered in Math 115
Topics Covered in Math 115 Basic Concepts Integer Exponents Use bases and exponents. Evaluate exponential expressions. Apply the product, quotient, and power rules. Polynomial Expressions Perform addition
More informationSKMM 3023 Applied Numerical Methods
UNIVERSITI TEKNOLOGI MALAYSIA SKMM 3023 Applied Numerical Methods Numerical Differentiation ibn Abdullah Faculty of Mechanical Engineering Òº ÙÐÐ ÚºÒÙÐÐ ¾¼½ SKMM 3023 Applied Numerical Methods Numerical
More informationLeast Squares. Ken Kreutz-Delgado (Nuno Vasconcelos) ECE 175A Winter UCSD
Least Squares Ken Kreutz-Delgado (Nuno Vasconcelos) ECE 75A Winter 0 - UCSD (Unweighted) Least Squares Assume linearity in the unnown, deterministic model parameters Scalar, additive noise model: y f (
More informationNonparametric Regression. Badr Missaoui
Badr Missaoui Outline Kernel and local polynomial regression. Penalized regression. We are given n pairs of observations (X 1, Y 1 ),...,(X n, Y n ) where Y i = r(x i ) + ε i, i = 1,..., n and r(x) = E(Y
More informationd dx [xn ] = nx n 1. (1) dy dx = 4x4 1 = 4x 3. Theorem 1.3 (Derivative of a constant function). If f(x) = k and k is a constant, then f (x) = 0.
Calculus refresher Disclaimer: I claim no original content on this ocument, which is mostly a summary-rewrite of what any stanar college calculus book offers. (Here I ve use Calculus by Dennis Zill.) I
More informationCHAPTER 5 LINEAR REGRESSION AND CORRELATION
CHAPTER 5 LINEAR REGRESSION AND CORRELATION Expected Outcomes Able to use simple and multiple linear regression analysis, and correlation. Able to conduct hypothesis testing for simple and multiple linear
More informationGRAPHICAL ANALYSIS. y=mx+b (22)
GRAPHCAL ANALYSS A purpose of many experiments is to find the relationship between measured variables. A good way to accomplish this task is to plot a graph of the data and then analyze the graph. These
More informationCURVE FITTING LEAST SQUARE LINE. Consider the class of linear function of the form. = Ax+ B...(1)
CURVE FITTIG LEAST SQUARE LIE Consider the class of linear function of the form y = f( x) = B...() In previous chapter we saw how to construct a polynomial that passes through a set of points. If all numerical
More informationSolutions to Problem Assignment 1 (Kinetics) Oxtoby Problems -- see Solutions Manual. Solutions to Lecture Problems I # 1-6
Solutions to Problem Assignment 1 (Kinetics) Oxtoby Problems -- see Solutions Manual Solutions to Lecture Problems I # 1-6 I-1. This problem illustrates how the differential rate law (DRL) can be simplified
More informationF-tests and Nested Models
F-tests and Nested Models Nested Models: A core concept in statistics is comparing nested s. Consider the Y = β 0 + β 1 x 1 + β 2 x 2 + ǫ. (1) The following reduced s are special cases (nested within)
More informationConsider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity
1 Second Order Ordinary Differential Equations 1.1 The harmonic oscillator Consider an ideal pendulum as shown below. θ l Fr mg l θ is the angular acceleration θ is the angular velocity A point mass m
More informationLecture 10 Polynomial interpolation
Lecture 10 Polynomial interpolation Weinan E 1,2 and Tiejun Li 2 1 Department of Mathematics, Princeton University, weinan@princeton.edu 2 School of Mathematical Sciences, Peking University, tieli@pku.edu.cn
More informationData Assimilation. Matylda Jab lońska. University of Dar es Salaam, June Laboratory of Applied Mathematics Lappeenranta University of Technology
Laboratory of Applied Mathematics Lappeenranta University of Technology University of Dar es Salaam, June 2013 Overview 1 Empirical modelling 2 Overview Empirical modelling Experimental plans for various
More informationLegendre s Equation. PHYS Southern Illinois University. October 18, 2016
Legendre s Equation PHYS 500 - Southern Illinois University October 18, 2016 PHYS 500 - Southern Illinois University Legendre s Equation October 18, 2016 1 / 11 Legendre s Equation Recall We are trying
More informationReview of Econometrics
Review of Econometrics Zheng Tian June 5th, 2017 1 The Essence of the OLS Estimation Multiple regression model involves the models as follows Y i = β 0 + β 1 X 1i + β 2 X 2i + + β k X ki + u i, i = 1,...,
More informationWRT in 2D: Poisson Example
WRT in 2D: Poisson Example Consider 2 u f on [, L x [, L y with u. WRT: For all v X N, find u X N a(v, u) such that v u dv v f dv. Follows from strong form plus integration by parts: ( ) 2 u v + 2 u dx
More informationECON 450 Development Economics
ECON 450 Development Economics Statistics Background University of Illinois at Urbana-Champaign Summer 2017 Outline 1 Introduction 2 3 4 5 Introduction Regression analysis is one of the most important
More informationChapter 2. First-Order Differential Equations
Chapter 2 First-Order Differential Equations i Let M(x, y) + N(x, y) = 0 Some equations can be written in the form A(x) + B(y) = 0 DEFINITION 2.2. (Separable Equation) A first-order differential equation
More informationMATH 350: Introduction to Computational Mathematics
MATH 350: Introduction to Computational Mathematics Chapter V: Least Squares Problems Greg Fasshauer Department of Applied Mathematics Illinois Institute of Technology Spring 2011 fasshauer@iit.edu MATH
More informationManifesto on Numerical Integration of Equations of Motion Using Matlab
Manifesto on Numerical Integration of Equations of Motion Using Matlab C. Hall April 11, 2002 This handout is intended to help you understand numerical integration and to put it into practice using Matlab
More informationExponential and logarithmic functions (pp ) () Supplement October 14, / 1. a and b positive real numbers and x and y real numbers.
MA123, Supplement Exponential and logaritmic functions pp. 315-319) Capter s Goal: Review te properties of exponential and logaritmic functions. Learn ow to differentiate exponential and logaritmic functions.
More informationAn Overly Simplified and Brief Review of Differential Equation Solution Methods. 1. Some Common Exact Solution Methods for Differential Equations
An Overly Simplified and Brief Review of Differential Equation Solution Methods We will be dealing with initial or boundary value problems. A typical initial value problem has the form y y 0 y(0) 1 A typical
More informationExtrapolation in Numerical Integration. Romberg Integration
Extrapolation in Numerical Integration Romberg Integration Matthew Battaglia Joshua Berge Sara Case Yoobin Ji Jimu Ryoo Noah Wichrowski Introduction Extrapolation: the process of estimating beyond the
More informationMATH 236 ELAC FALL 2017 CA 9 NAME: SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.
MATH 236 ELAC FALL 207 CA 9 NAME: SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question. ) 27 p 3 27 p 3 ) 2) If 9 t 3 4t 9-2t = 3, find t. 2) Solve the equation.
More informationLogarithmic Functions
Metropolitan Community College The Natural Logarithmic Function The natural logarithmic function is defined on (0, ) as ln x = x 1 1 t dt. Example 1. Evaluate ln 1. Example 1. Evaluate ln 1. Solution.
More informationLogistic Regression. Seungjin Choi
Logistic Regression Seungjin Choi Department of Computer Science and Engineering Pohang University of Science and Technology 77 Cheongam-ro, Nam-gu, Pohang 37673, Korea seungjin@postech.ac.kr http://mlg.postech.ac.kr/
More informationand verify that it satisfies the differential equation:
MOTIVATION: Chapter One: Basic and Review Why study differential equations? Suppose we know how a certain quantity changes with time (for example, the temperature of coffee in a cup, the number of people
More informationa x a y = a x+y a x a = y ax y (a x ) r = a rx and log a (xy) = log a (x) + log a (y) log a ( x y ) = log a(x) log a (y) log a (x r ) = r log a (x).
You should prepare the following topics for our final exam. () Pre-calculus. (2) Inverses. (3) Algebra of Limits. (4) Derivative Formulas and Rules. (5) Graphing Techniques. (6) Optimization (Maxima and
More informationInternet Mat117 Formulas and Concepts. d(a, B) = (x 2 x 1 ) 2 + (y 2 y 1 ) 2. ( x 1 + x 2 2., y 1 + y 2. (x h) 2 + (y k) 2 = r 2. m = y 2 y 1 x 2 x 1
Internet Mat117 Formulas and Concepts 1. The distance between the points A(x 1, y 1 ) and B(x 2, y 2 ) in the plane is d(a, B) = (x 2 x 1 ) 2 + (y 2 y 1 ) 2. 2. The midpoint of the line segment from A(x
More informationMa 530 Power Series II
Ma 530 Power Series II Please note that there is material on power series at Visual Calculus. Some of this material was used as part of the presentation of the topics that follow. Operations on Power Series
More informationSimple Linear Regression for the MPG Data
Simple Linear Regression for the MPG Data 2000 2500 3000 3500 15 20 25 30 35 40 45 Wgt MPG What do we do with the data? y i = MPG of i th car x i = Weight of i th car i =1,...,n n = Sample Size Exploratory
More informationInterpolation and Polynomial Approximation I
Interpolation and Polynomial Approximation I If f (n) (x), n are available, Taylor polynomial is an approximation: f (x) = f (x 0 )+f (x 0 )(x x 0 )+ 1 2! f (x 0 )(x x 0 ) 2 + Example: e x = 1 + x 1! +
More informationINSTRUCTOR RESOURCES
Kinetic Studies of the Ferroin Complex INSTRUCTOR RESOURCES The CCLI Initiative Learning Objectives The purpose of this experiment is to... to determine the rate of a chemical reaction. to determine the
More informationMAC Learning Objectives. Logarithmic Functions. Module 8 Logarithmic Functions
MAC 1140 Module 8 Logarithmic Functions Learning Objectives Upon completing this module, you should be able to 1. evaluate the common logarithmic function. 2. solve basic exponential and logarithmic equations.
More informationCalculus Example Exam Solutions
Calculus Example Exam Solutions. Limits (8 points, 6 each) Evaluate the following limits: p x 2 (a) lim x 4 We compute as follows: lim p x 2 x 4 p p x 2 x +2 x 4 p x +2 x 4 (x 4)( p x + 2) p x +2 = p 4+2
More informationThis does not cover everything on the final. Look at the posted practice problems for other topics.
Class 7: Review Problems for Final Exam 8.5 Spring 7 This does not cover everything on the final. Look at the posted practice problems for other topics. To save time in class: set up, but do not carry
More informationFirst and Last Name: 2. Correct The Mistake Determine whether these equations are false, and if so write the correct answer.
. Correct The Mistake Determine whether these equations are false, and if so write the correct answer. ( x ( x (a ln + ln = ln(x (b e x e y = e xy (c (d d dx cos(4x = sin(4x 0 dx xe x = (a This is an incorrect
More informationReminders. Thought questions should be submitted on eclass. Please list the section related to the thought question
Linear regression Reminders Thought questions should be submitted on eclass Please list the section related to the thought question If it is a more general, open-ended question not exactly related to a
More information1. Algebra and Functions
1. Algebra and Functions 1.1.1 Equations and Inequalities 1.1.2 The Quadratic Formula 1.1.3 Exponentials and Logarithms 1.2 Introduction to Functions 1.3 Domain and Range 1.4.1 Graphing Functions 1.4.2
More informationReview of Section 1.1. Mathematical Models. Review of Section 1.1. Review of Section 1.1. Functions. Domain and range. Piecewise functions
Review of Section 1.1 Functions Mathematical Models Domain and range Piecewise functions January 19, 2017 Even and odd functions Increasing and decreasing functions Mathematical Models January 19, 2017
More informationSupport Vector Machine (SVM) and Kernel Methods
Support Vector Machine (SVM) and Kernel Methods CE-717: Machine Learning Sharif University of Technology Fall 2016 Soleymani Outline Margin concept Hard-Margin SVM Soft-Margin SVM Dual Problems of Hard-Margin
More informationChapter 8: Taylor s theorem and L Hospital s rule
Chapter 8: Taylor s theorem and L Hospital s rule Theorem: [Inverse Mapping Theorem] Suppose that a < b and f : [a, b] R. Given that f (x) > 0 for all x (a, b) then f 1 is differentiable on (f(a), f(b))
More informationGAUSS-LAGUERRE AND GAUSS-HERMITE QUADRATURE ON 64, 96 AND 128 NODES
GAUSS-LAGUERRE AND GAUSS-HERMITE QUADRATURE ON 64, 96 AND 128 NODES RICHARD J. MATHAR Abstract. The manuscript provides tables of abscissae and weights for Gauss- Laguerre integration on 64, 96 and 128
More informationAP Calculus Chapter 9: Infinite Series
AP Calculus Chapter 9: Infinite Series 9. Sequences a, a 2, a 3, a 4, a 5,... Sequence: A function whose domain is the set of positive integers n = 2 3 4 a n = a a 2 a 3 a 4 terms of the sequence Begin
More informationIntroduction to Machine Learning (67577) Lecture 3
Introduction to Machine Learning (67577) Lecture 3 Shai Shalev-Shwartz School of CS and Engineering, The Hebrew University of Jerusalem General Learning Model and Bias-Complexity tradeoff Shai Shalev-Shwartz
More informationGaussian Processes for Machine Learning
Gaussian Processes for Machine Learning Carl Edward Rasmussen Max Planck Institute for Biological Cybernetics Tübingen, Germany carl@tuebingen.mpg.de Carlos III, Madrid, May 2006 The actual science of
More informationNONLINEAR CLASSIFICATION AND REGRESSION. J. Elder CSE 4404/5327 Introduction to Machine Learning and Pattern Recognition
NONLINEAR CLASSIFICATION AND REGRESSION Nonlinear Classification and Regression: Outline 2 Multi-Layer Perceptrons The Back-Propagation Learning Algorithm Generalized Linear Models Radial Basis Function
More informationSec 4.1 Limits, Informally. When we calculated f (x), we first started with the difference quotient. f(x + h) f(x) h
1 Sec 4.1 Limits, Informally When we calculated f (x), we first started with the difference quotient f(x + h) f(x) h and made h small. In other words, f (x) is the number f(x+h) f(x) approaches as h gets
More information1) The line has a slope of ) The line passes through (2, 11) and. 6) r(x) = x + 4. From memory match each equation with its graph.
Review Test 2 Math 1314 Name Write an equation of the line satisfying the given conditions. Write the answer in standard form. 1) The line has a slope of - 2 7 and contains the point (3, 1). Use the point-slope
More informationTransformations of Functions and Exponential Functions January 24, / 35
Exponential Functions January 24, 2017 Exponential Functions January 24, 2017 1 / 35 Review of Section 1.2 Reminder: Week-in-Review, Help Sessions, Oce Hours Mathematical Models Linear Regression Function
More informationSimplifying Rational Expressions and Functions
Department of Mathematics Grossmont College October 15, 2012 Recall: The Number Types Definition The set of whole numbers, ={0, 1, 2, 3, 4,...} is the set of natural numbers unioned with zero, written
More informationA mathematical statement that asserts that two quantities are equal is called an equation. Examples: x Mathematics Division, IMSP, UPLB
EQUATIONS A mathematical statement that asserts that two quantities are equal is called an equation. Examples: 1.. 3. 1 9 1 x 3 11 x 4xy y 0 Consider the following equations: 1. 1 + 9 = 1. x + 9 = 1 Equation
More informationMathematical Economics: Lecture 2
Mathematical Economics: Lecture 2 Yu Ren WISE, Xiamen University September 25, 2012 Outline 1 Number Line The number line, origin (Figure 2.1 Page 11) Number Line Interval (a, b) = {x R 1 : a < x < b}
More informationMATH10001 Mathematical Workshop Graph Fitting Project part 2
MATH10001 Mathematical Workshop Graph Fitting Project part 2 Polynomial models Modelling a set of data with a polynomial curve can be convenient because polynomial functions are particularly easy to differentiate
More informationThe Treatment of Numerical Experimental Results
Memorial University of Newfoundl Department of Physics Physical Oceanography The Treatment of Numerical Experimental Results The purpose of these notes is to introduce you to some techniques of error analysis
More informationMath 0230 Calculus 2 Lectures
Math 00 Calculus Lectures Chapter 8 Series Numeration of sections corresponds to the text James Stewart, Essential Calculus, Early Transcendentals, Second edition. Section 8. Sequences A sequence is a
More informationLeast squares regression
Curve Fitting Least squares regression Interpolation Two categories of curve fitting. 1. Linear least squares regression, determining the straight line that best fits data points. 2. Interpolation, determining
More informationSTAT 361 Fall Homework 1: Solution. It is customary to use a special sign Σ as an abbreviation for the sum of real numbers
STAT 361 Fall 2016 Homework 1: Solution It is customary to use a special sign Σ as an abbreviation for the sum of real numbers x 1, x 2,, x n : x i = x 1 + x 2 + + x n. If x 1,..., x n are real numbers,
More informationMAC Module 8. Exponential and Logarithmic Functions I. Learning Objectives. - Exponential Functions - Logarithmic Functions
MAC 1105 Module 8 Exponential and Logarithmic Functions I Learning Objectives Upon completing this module, you should be able to: 1. Distinguish between linear and exponential growth. 2. Model data with
More informationCorrelation and Regression
A. The Basics of Correlation Analysis 1. SCATTER DIAGRAM A key tool in correlation analysis is the scatter diagram, which is a tool for analyzing potential relationships between two variables. One variable
More informationEC5555 Economics Masters Refresher Course in Mathematics September 2013
EC5555 Economics Masters Refresher Course in Mathematics September 013 Lecture 3 Differentiation Francesco Feri Rationale for Differentiation Much of economics is concerned with optimisation (maximise
More informationMAC Module 8 Exponential and Logarithmic Functions I. Rev.S08
MAC 1105 Module 8 Exponential and Logarithmic Functions I Learning Objectives Upon completing this module, you should be able to: 1. Distinguish between linear and exponential growth. 2. Model data with
More informationPartititioned Methods for Multifield Problems
Partititioned Methods for Multifield Problems Joachim Rang, 22.7.215 22.7.215 Joachim Rang Partititioned Methods for Multifield Problems Seite 1 Non-matching matches usually the fluid and the structure
More informationClassification objectives COMS 4771
Classification objectives COMS 4771 1. Recap: binary classification Scoring functions Consider binary classification problems with Y = { 1, +1}. 1 / 22 Scoring functions Consider binary classification
More informationPetter Mostad Mathematical Statistics Chalmers and GU
Petter Mostad Mathematical Statistics Chalmers and GU Solution to MVE55/MSG8 Mathematical statistics and discrete mathematics MVE55/MSG8 Matematisk statistik och diskret matematik Re-exam: 4 August 6,
More informationNumerical Methods for ODEs. Lectures for PSU Summer Programs Xiantao Li
Numerical Methods for ODEs Lectures for PSU Summer Programs Xiantao Li Outline Introduction Some Challenges Numerical methods for ODEs Stiff ODEs Accuracy Constrained dynamics Stability Coarse-graining
More informationGeorgia Department of Education Common Core Georgia Performance Standards Framework CCGPS Advanced Algebra Unit 2
Polynomials Patterns Task 1. To get an idea of what polynomial functions look like, we can graph the first through fifth degree polynomials with leading coefficients of 1. For each polynomial function,
More information