Define the Bayesian state space model state matrix in discrete or continuous ?

조회 수: 1 (최근 30일)
bouboule
bouboule 2022년 4월 30일
답변: Ayush Anand 2023년 11월 22일
Hello,In the doc it is say that the state space model Bayesian is continuous. But in the examples the description a done in discrete (XT and xt-1 not DX/dt).So do I need to put the state matrix with values for discrète or continuous mode ? Thanks à lot !

답변 (1개)

Ayush Anand
Ayush Anand 2023년 11월 22일
Hi,
I understand you are using the Bayesian state space model and want to know whether you need to put the state matrix with values for discrete or continuous mode. This will depend on the nature of your data and the specific application, as the Bayesian model can have both modes depending on it. If you're working with time series data that are observed at regular discrete intervals, you should use a discrete state space model. If the data or the underlying processes you're modelling are inherently continuous, you might use a continuous model.
You can define a general Bayesian state space model in the following way:
Mdl = bssm(@paramMap,@priorDistribution)
where “paramMap” is parameter-to-matrix mapping function, stored as a function handle and “priorDistribution” is log density of parameter prior distribution.
You might refer to the following pages for more information:
  1. https://www.mathworks.com/help/econ/bssm.html (Documentation for Bayesian state space models in MATLAB)
  2. https://www.mathworks.com/matlabcentral/answers/409026-discretizing-a-continuous-state-space-model (MATLAB Answer that talks about conversion between discrete and continuous Bayesian state space models)
I hope this helps!

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by