1 / 34

Data Modeling and Parameter Estimation

Data Modeling and Parameter Estimation. Nov 9, 2005 PSCI 702. Predictive and Descriptive Models. Predictive models attempt to predict the value of a variable, given the values of other independent variables. (regression)

candid
Download Presentation

Data Modeling and Parameter Estimation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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

  4. Models

  5. 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: from 0 to 1 Model the function with a quadratic polynomial.

  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.1642x2

  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 a0 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

  30. Damped Harmonic Motion

  31. DHM

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

  33. Beat Frequencies

More Related