Download presentation

Presentation is loading. Please wait.

Published byKaitlyn Scoble Modified over 2 years ago

1
Data Modeling and Parameter Estimation Nov 9, 2005 PSCI 702

2
Predictive and Descriptive Models Predictive models attempt to predict the value of a variable, given the values of other independent variables. (regression) Descriptive models don’t make distinction between variables. There is no such thing as “independent variable”. (mean, variance)

3
Models

6
Least Square Fit Approximations Suppose we want to fit the data set.

7
Least Square Fit Approximations We would like to find the best straight line to fit the data? y = -1.11733x + 8.66608

8
Nonlinear Least Squared Approximation Method Take the natural log of the equations and

9
Nonlinear Least Square Example The equation is:

10
Continuous Least Square Functions Instead of modeling a known complex function over a region, we would like to model the values with a simple polynomial. This technique uses a least squares over a continuous region. The coefficients of the polynomial can be determined using same technique that was used in discrete method.

11
Continuous Least Square Functions The technique minimizes the error of the function uses an integral. where

12
Continuous Least Square Functions Take the derivative of the error with respect to the coefficients and set it equal to zero. And compute the components of the coefficient matrix. The right hand side of the matrix will be the function we are modeling times a x value.

13
Continuous Least Square Function Example Given the following function: Model the function with a quadratic polynomial. from 0 to 1

14
Continuous Least Square Function Example The integral for the error is:

15
Continuous Least Square Function Example The integral for the components are:

16
Continuous Least Square Function Example The coefficient matrix becomes:

17
Continuous Least Square Function Example The right-hand side of the equation becomes:

18
Continuous Least Square Function Example The function becomes : f(x) = 0.3328 -2.5806x + 9.1642x 2

19
Legendre Polynomial The Legendre polynomials are a set of orthogonal functions, which can be used to represent a function as components of a function.

20
Legendre Polynomial These function are orthogonal over a range [ -1, 1 ]. This range can be scaled to fit the function. The orthogonal functions are defined as:

21
Legendre Polynomial The Legendre functions are:

22
Legendre Polynomial How would you work with a least square fit of a function.

23
Legendre Polynomial How would you work with a least square fit of a function.

24
Legendre Polynomial The coefficient a 0 is determined by the orthogonality of the Legendre polynomials:

25
Legendre Polynomial Example Given a simple polynomial: We want to throw a loop, let’s model it from 0 to 4 with f(x):

26
Legendre Polynomial Example The first step will be to scale the function: We know that at the ends are 0 and 4 for x and -1 to 1 for u so

27
Legendre Polynomial Example The coefficients are

28
Legendre Polynomial Example The Legendre functions must be adjusted to handle the scaling:

29
Damped Harmonic Motion

31
DHM

33
Find all T* that make the sin()=1 Find the period of the sin function Find ω, and φ. Estimate X 0. Estimate A and β. Determine the error between theoretical function and the data. Adjust X 0 to improve this value.

34
Beat Frequencies

Similar presentations

OK

MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo

MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Convert pdf ppt to ppt online Ppt on email etiquettes presentation folder Ppt on power system engineering Ppt on group development models Ppt on sea level rise predictions Ppt on supply chain management of asian paints Ppt on computer graphics moving animations Ppt on bank lending policies Ppt on sources of energy for class 8 Ppt on eddy current loss