Description Usage Arguments Details Value Examples
Calculates the convolution of two Gaussian distributions
1 | posteriorPredictive(x, P, Tt, GGt)
|
x |
the mean of x_{t|t} |
P |
the variance of x_{t|t} |
Tt |
the state transition matrix |
GGt |
the variance of the transition noise |
This function calculates
p(x_{t+1} | y_{t}) = \int dx_{t} p(x_{t+1}| x_{t}) p(x_{t} | y_{1:t})
assuming that both distributions on the right are Gaussian. This function also assumes that the mean of x_{t+1|t} is linear in x_{t}:
p(x_{t+1} | x_{t}) = N(Tt x_{t|t}, GGt).
The result is therefore:
p(x_{t+1} | y_{t}) = N(Tt x_{t|t}, Tt P Tt' + GGt).
a list with components x
, the mean of x_{t+1|t}, P
the variance of x_{t+1|t} and Pinv
, the inverse of P
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.