University of Colorado Boulder ASEN 5070 Statistical Orbit determination I Fall 2012 Professor George H. Born Professor Jeffrey S. Parker Lecture 9: Least.

Slides:



Advertisements
Similar presentations
The Maximum Likelihood Method
Advertisements

University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 5: State Deviations and Fundamentals.
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 28: Orthogonal Transformations.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Linear regression models
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 24: Numeric Considerations and.
Ch11 Curve Fitting Dr. Deshi Ye
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 20: Project Discussion and the.
The General Linear Model. The Simple Linear Model Linear Regression.
University of Colorado Boulder ASEN 5070 Statistical Orbit determination I Fall 2012 Professor George H. Born Professor Jeffrey S. Parker Lecture 8: Stat.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 7: Linearization and the State.
Basics of regression analysis
Linear and generalised linear models Purpose of linear models Least-squares solution for linear models Analysis of diagnostics Exponential family and generalised.
PETE 603 Lecture Session #29 Thursday, 7/29/ Iterative Solution Methods Older methods, such as PSOR, and LSOR require user supplied iteration.
Principles of the Global Positioning System Lecture 10 Prof. Thomas Herring Room A;
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 38: Information Filter.
Regression and Correlation Methods Judy Zhong Ph.D.
Colorado Center for Astrodynamics Research The University of Colorado STATISTICAL ORBIT DETERMINATION Project Report Unscented kalman Filter Information.
Physics 114: Lecture 15 Probability Tests & Linear Fitting Dale E. Gary NJIT Physics Department.
University of Colorado Boulder ASEN 5070 Statistical Orbit Determination I Fall 2012 Professor Jeffrey S. Parker Professor George H. Born Lecture 25: Error.
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.
University of Colorado Boulder ASEN 5070 Statistical Orbit determination I Fall 2012 Professor George H. Born Professor Jeffrey S. Parker Lecture 7: Spaceflight.
University of Colorado Boulder ASEN 5070 Statistical Orbit determination I Fall 2012 Professor George H. Born Professor Jeffrey S. Parker Lecture 6: Launches.
MTH 161: Introduction To Statistics
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Deterministic vs. Random Maximum A Posteriori Maximum Likelihood Minimum.
University of Colorado Boulder ASEN 5070 Statistical Orbit determination I Fall 2012 Professor George H. Born Professor Jeffrey S. Parker Lecture 5: Stat.
SUPA Advanced Data Analysis Course, Jan 6th – 7th 2009 Advanced Data Analysis for the Physical Sciences Dr Martin Hendry Dept of Physics and Astronomy.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 18: Minimum Variance Estimator.
1 Multiple Regression A single numerical response variable, Y. Multiple numerical explanatory variables, X 1, X 2,…, X k.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 26: Singular Value Decomposition.
BUS304 – Chapter 6 Sample mean1 Chapter 6 Sample mean  In statistics, we are often interested in finding the population mean (µ):  Average Household.
Chapter 5 Parameter estimation. What is sample inference? Distinguish between managerial & financial accounting. Understand how managers can use accounting.
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION ASEN 5070 LECTURE 11 9/16,18/09.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 21: A Bayesian Approach to the.
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION The Minimum Variance Estimate ASEN 5070 LECTURE.
University of Colorado Boulder ASEN 5070 Statistical Orbit determination I Fall 2012 Professor George H. Born Professor Jeffrey S. Parker Lecture 4: Coding.
University of Colorado Boulder ASEN 5070 Statistical Orbit determination I Fall 2012 Professor George H. Born Professor Jeffrey S. Parker Lecture 11: Batch.
Data Modeling Patrice Koehl Department of Biological Sciences National University of Singapore
Review of fundamental 1 Data mining in 1D: curve fitting by LLS Approximation-generalization tradeoff First homework assignment.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 6: Linearization of OD Problem.
University of Colorado Boulder ASEN 5070 Statistical Orbit Determination I Fall 2012 Professor Jeffrey S. Parker Professor George H. Born Lecture 23: Process.
Curve Fitting Introduction Least-Squares Regression Linear Regression Polynomial Regression Multiple Linear Regression Today’s class Numerical Methods.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 30: Lecture Quiz, Project Details,
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION EKF and Observability ASEN 5070 LECTURE 23 10/21/09.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 8: State Transition Matrix, Part.
University of Colorado Boulder ASEN 6008 Interplanetary Mission Design Statistical Orbit Determination A brief overview 1.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 17: Minimum Variance Estimator.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 32: Gauss-Markov Processes and.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 29: Observability and Introduction.
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION Kalman Filter with Process Noise Gauss- Markov.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 22: Further Discussions of the.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 10: Weighted LS and A Priori.
University of Colorado Boulder ASEN 5070 Statistical Orbit determination I Fall 2012 Professor George H. Born Professor Jeffrey S. Parker Lecture 10: Batch.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 41: Information Filter.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 26: Cholesky and Singular Value.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 15: Statistical Least Squares.
Statistics 350 Lecture 2. Today Last Day: Section Today: Section 1.6 Homework #1: Chapter 1 Problems (page 33-38): 2, 5, 6, 7, 22, 26, 33, 34,
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 19: Examples with the Batch Processor.
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION Statistical Interpretation of Least Squares ASEN.
Fundamentals of Data Analysis Lecture 11 Methods of parametric estimation.
University of Colorado Boulder ASEN 5070 Statistical Orbit Determination I Fall 2012 Professor Jeffrey S. Parker Professor George H. Born Lecture 18: CKF,
ASEN 5070: Statistical Orbit Determination I Fall 2014
STATISTICAL ORBIT DETERMINATION Kalman (sequential) filter
ASEN 5070: Statistical Orbit Determination I Fall 2014
ASEN 5070: Statistical Orbit Determination I Fall 2015
ASEN 5070: Statistical Orbit Determination I Fall 2015
ASEN 5070: Statistical Orbit Determination I Fall 2015
Presentation transcript:

University of Colorado Boulder ASEN 5070 Statistical Orbit determination I Fall 2012 Professor George H. Born Professor Jeffrey S. Parker Lecture 9: Least Squares Estimate 1

University of Colorado Boulder  Homework 2 Graded ◦ Comments included on D2L ◦ Any questions, talk with us this week ◦ Homework 3 Graded by Thursday EOD  Homework 4 due Thursday ◦ Solutions online now. ◦ The solutions show a lot of information – be sure to demonstrate that you know the answers and are not just copying the solutions!  Homework 5 out today 2

University of Colorado Boulder  Problem 1: ◦ Simulate the Stat OD process on a 2-dimensional, point-mass orbit.  Problem 2: ◦ Simple Batch Process exercise.  Problem 3: ◦ Process noisy observations of a spring-mass system. 3

University of Colorado Boulder 4

University of Colorado Boulder  Review of Stat OD Concepts  Least Squares Estimator  Quiz: Observability ◦ ~10% of the class got 4/4 ◦ Majority of the class got 2/4 ◦ We’ll go over the topic more closely toward the end of the lecture! 5

University of Colorado Boulder 6

University of Colorado Boulder  We have noisy observations of certain aspects of the system.  We need some way to relate each observation to the trajectory that we’re estimating. 7 Observed Range Computed Range True Range = ??? ε = O-C = “Residual” X*X*

University of Colorado Boulder  How do we best fit the data? 8 Residuals = ε = O-C No Not bad Good

University of Colorado Boulder  Lp norm estimators 9 p = 1: even weights, but discontinuous p = 2: favors outliers Interior options: optimal for certain scenarios that involve outliers.

University of Colorado Boulder  A good solution, and one easy to code up, is the least-squares solution 10

University of Colorado Boulder  Linearization  Introduce the state deviation vector  If the reference/nominal trajectory is close to the truth trajectory, then a linear approximation is reasonable. 11

University of Colorado Boulder  Goal of the Stat OD process:  The best fit trajectory is represented by 12 This is what we want

University of Colorado Boulder  How do we map the state deviation vector from one time to another?  The state transition matrix. ◦ It tracks how a perturbation grows/shrinks/changes over time along the trajectory. 13

University of Colorado Boulder  The state transition matrix maps a deviation in the state from one epoch to another.  It is constructed via numerical integration, in parallel with the trajectory itself. 14

University of Colorado Boulder  The “A” Matrix: 15

University of Colorado Boulder 16

University of Colorado Boulder 17

University of Colorado Boulder 18

University of Colorado Boulder  Step 1: Define your state and your dynamics. 19

University of Colorado Boulder  Step 1: Define your state and your dynamics. 20

University of Colorado Boulder  Step 2: Integrate your state and STM. 21 Use the “reshape” command: X0 = [ X; reshape(Phi, 8*8, 1) ]

University of Colorado Boulder  Step 2: Integrate your state and STM. 22

University of Colorado Boulder  Step 2: Integrate your state and STM. ◦ Did we do too much work? Yes, yes, we did. 23

University of Colorado Boulder  Step 2: Integrate your state and STM. ◦ Did we do too much work? Yes, yes, we did. 24 Don’t have to integrate these parameters!

University of Colorado Boulder  Step 2: Integrate your state and STM. ◦ Did we do too much work? Yes, yes, we did. 25 Don’t have to integrate these parameters! Might not have to integrate these either!

University of Colorado Boulder  Step 2: Integrate your state and STM. 26 Phi0 = eye(6,8) X0 = [ X; reshape(Phi, 6*8, 1) ]

University of Colorado Boulder  Step 2: Integrate your state and STM. ◦ This is important for your final project. ◦ Rather than integrating 19x18 = 342 equations, Integrate only the 10x6 = 60 equations that change over time. 27

University of Colorado Boulder  Step 3: Process observations.  Step 4: Determine a new best estimate of the state.  Step 5: Iterate/repeat as needed. 28

University of Colorado Boulder  How do we map an observation to the trajectory? 29

University of Colorado Boulder  The Mapping Matrix 30

University of Colorado Boulder  Our state and measurement mappings. 31 ε = O-C = “Residual” X*X*

University of Colorado Boulder  If the state has n unknown parameters and there are l observations at different times  Then there are a total of n×l unknowns.  If we can instead relate each state to an epoch, then we can reduce it to only n unknown state parameters. 32 If the errors are equal to zero, then we can deterministically solve this system using n linearly independent observations.

University of Colorado Boulder 33

University of Colorado Boulder 34 If the errors are not zero, then we now have n unknown state parameters and l unknown errors. If we have multiple observation types (say p types), then we have m = p×l observations and a total of m unknown observation errors. Total unknowns: m+n Total equations: m Least squares criterion provides a best estimate solution in this scenario.

University of Colorado Boulder  Least squares estimate

University of Colorado Boulder  Least squares estimate

University of Colorado Boulder  The state deviation vector that minimizes the least-squares cost function:  Some observations of this solution: ◦ What is the k ? ◦ Are all data points equally weighted? ◦ Does this solution consider correlated data or statistical information in the observations? ◦ What happens if we acquire more data?

University of Colorado Boulder  The state deviation vector that minimizes the least-squares cost function:  Additional Details: ◦ is called the normal matrix ◦ If H is full rank, then this will be positive definite.  If it’s not then we don’t have a least squares estimate! ◦ The best estimate of the observation errors: ◦

University of Colorado Boulder 39

University of Colorado Boulder Or in component form: Expressed in first order form:

University of Colorado Boulder

University of Colorado Boulder

University of Colorado Boulder

University of Colorado Boulder

University of Colorado Boulder  Notice that all variables end up in either the A or matrix, but not necessarily both. A

University of Colorado Boulder  Which equations of motion do we need to integrate? A

University of Colorado Boulder  The previous example (4.2.1 from the book) left us off at the definitions of the matrices.  Next example takes us through the least squares estimate. 47

University of Colorado Boulder Example of least squares Let (Note that this is a linear system) Assume we wish to estimate

University of Colorado Boulder Note that H T H is always a symmetric matrix

University of Colorado Boulder Assume: Then

University of Colorado Boulder Assume: Then, i.e. we have chosen perfect observations

University of Colorado Boulder  Quick Break  Next subject: observability 52

University of Colorado Boulder 53

University of Colorado Boulder 54

University of Colorado Boulder 55

University of Colorado Boulder 56

University of Colorado Boulder 57

University of Colorado Boulder 58

University of Colorado Boulder 59

University of Colorado Boulder 60

University of Colorado Boulder 61

University of Colorado Boulder 62

University of Colorado Boulder 63

University of Colorado Boulder 64

University of Colorado Boulder Three major shortcomings of simple least squares solution: 1. Each observation error is weighted equally even though the accuracy of observations may differ 2. The observation errors may be correlated (not independent), and the simple least squares solution makes no allowance for this. 3. The method does not consider that the errors are samples from a random process and makes no attempt to utilize statistical information 65

University of Colorado Boulder Weighted Least Squares -includes weighting matrix for observations Minimum Variance -considers statistical characteristics of measurement errors Minimum Variance w/ A Priori Information 66

University of Colorado Boulder

University of Colorado Boulder

University of Colorado Boulder

University of Colorado Boulder

University of Colorado Boulder The Weighting Matrix may be chosen by using the RMS of the observation residuals. Compute the RMS of the observation errors for each type of observation

University of Colorado Boulder Let i represent the observation type-say so for two observation types let We use the mean square (MS) so that will be dimensionless. This can enhance numerical stability of the normal equations.

University of Colorado Boulder  Homework 2 Graded ◦ Comments included on D2L ◦ Any questions, talk with us this week ◦ Homework 3 Graded by Thursday EOD  Homework 4 due Thursday ◦ Solutions online now. ◦ The solutions show a lot of information – be sure to demonstrate that you know the answers and are not just copying the solutions!  Homework 5 out today 73