SMFilter {SMFilter} | R Documentation |
SMFilter: a package implementing the filtering algorithms for the state-space models on the Stiefel manifold.
Description
The package implements the filtering algorithms for the state-space models on the Stiefel manifold. It also implements sampling algorithms for uniform, vector Langevin-Bingham and matrix Langevin-Bingham distributions on the Stiefel manifold.
Details
Two types of the state-space models on the Stiefel manifold are considered.
The type one model on Stiefel manifold takes the form:
where is a
-vector of the dependent variable,
and
are explanatory variables wit dimension
and
,
and
have no overlap,
matrix
is the coefficients for
,
is the error vector.
The matrices and
have dimensions
and
, respectively.
Note that
is strictly smaller than both
and
.
and
are both non-singular matrices.
is time-varying while
is time-invariant.
Furthermore, fulfills the condition
,
and therefor it evolves on the Stiefel manifold.
denotes the Matrix Langevin distribution or matrix von Mises-Fisher distribution on the Stiefel manifold.
Its density function takes the form
where denotes
,
and
is the (0,1)-type hypergeometric function for matrix.
The type two model on Stiefel manifold takes the form:
where is a
-vector of the dependent variable,
and
are explanatory variables wit dimension
and
,
and
have no overlap,
matrix
is the coefficients for
,
is the error vector.
The matrices and
have dimensions
and
, respectively.
Note that
is strictly smaller than both
and
.
and
are both non-singular matrices.
is time-varying while
is time-invariant.
Furthermore, fulfills the condition
,
and therefor it evolves on the Stiefel manifold.
denotes the Matrix Langevin distribution or matrix von Mises-Fisher distribution on the Stiefel manifold.
Its density function takes the form
where denotes
,
and
is the (0,1)-type hypergeometric function for matrix.
Author and Maintainer
Yukai Yang
Department of Statistics, Uppsala University
References
Yang, Yukai and Bauwens, Luc. (2018) "State-Space Models on the Stiefel Manifold with a New Approach to Nonlinear Filtering", Econometrics, 6(4), 48.
Simulation
SimModel1
simulate from the type one state-space model on the Stiefel manifold.
SimModel2
simulate from the type two state-space model on the Stiefel manifold.
Filtering
FilterModel1
filtering algorithm for the type one model.
FilterModel2
filtering algorithm for the type two model.
Sampling
runif_sm
sample from the uniform distribution on the Stiefel manifold.
rvlb_sm
sample from the vector Langevin-Bingham distribution on the Stiefel manifold.
rmLB_sm
sample from the matrix Langevin-Bingham distribution on the Stiefel manifold.
Other Functions
version
shows the version number and some information of the package.