Exam Preparation Notes
Statistical Hypothesis Testing
- : Null hypothesis (default, uninteresting outcome).
- : Alternative hypothesis.
- Process:
- Assume .
- Under , compute statistic of interest (e.g., ).
- Compare statistic with its distribution under (e.g., ).
- -value: Probability of observing or something more extreme if was true.
P-Value and Significance Level
- Probability Density Function (PDF):
- Cumulative Distribution Function (CDF):
- -value
- Reject if p < \alpha (e.g., 0.05).
- : Probability of False Positives that we accept.
State-Space Identification
- Motivation: Need "states" for control / fault detection / etc.
- System representation:
- Input:
- Output:
- State:
- Equation:
- Controller design (e.g., LQR - Linear Quadratic Regulator) uses state feedback.
Approaches to State-Space Modeling
- App 1) Learn I/O model transform it to state space.
- App 2) Learn state-space model directly.
- State-space models are identifiable up to a change of coordinates of the state.
State-Space Model Equations
- State equation:
- Output equation:
- Transfer function:
Similarity Transformation
- Change of coordinates:
- Transformed state equation:
- Transformed output equation:
- Transfer function invariance:
Extended Observability Matrix
- Under similarity transformation:
- Extended Observability Matrix changes under coordinates
Realization Theory
- Goal: Given a learned I/O model, find a state-space representation.
- Learned I/O model:
- Objective: Solve
Example: Controllable Canonical Form
- State equation:
- Output equation:
State Estimation: Kalman Filter
- Optimal state estimator is the Kalman Filter.
- State-space model:
- State equation:
- Output equation:
- : Process noise.
- : Measurement noise.
- Rearrange output equation:
State Estimation Equations
- Vector of outputs:
Re-arranging equations
- Define:
- Rewrite:
- In theory:
- But use Kalman Filter (KF) instead.
Solving Linear Equations
- : 3 possibilities
- Unique solution: , A is full column rank.
- 0 solutions: solves
- solutions: solves s.t.
Kalman Filter Algorithm
- State equation:
- Output equation:
- Initialization:
- Prediction:
- Update:
- : Kalman Gain.
- Output prediction error:
- Next step prediction:
- Continue with update step