This function accepts pointers to compiled c++ evaluator functions for the observation equations and the transition equations, plus data and parameters, and evaluates the UKF.
dataMat |
matrix containing observed data, by-column |
initState |
initial state vector values |
initProcCov |
initial variance-covariance matrix of the state vector |
modelParams |
|
predict_Xptr |
|
evaluate_XPtr |
|
control_XPtr |
|
List
with the following fields: estimState
(T+1)
x N
matrix of filtered states, with the initial state vector in the first
row; stateCovCube
3-dimensional array of posterior state
variance-covariance matrices, N x N x T
; logL
vector of
Gaussian likelihood values, see e.g. "Time Series Analysis" by J.D.
Hamilton, predMat
T x M
matrix of predictions of
observations at time t
given observations at time t-1
,
fitMat
T x M
matrix of observation equations evaluated at
filtered state values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.