Clear Filters
Clear Filters

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

1 view (last 30 days)
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 !

Answers (1)

Ayush Anand
Ayush Anand on 22 Nov 2023
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. (Documentation for Bayesian state space models in MATLAB)
  2. (MATLAB Answer that talks about conversion between discrete and continuous Bayesian state space models)
I hope this helps!


Community Treasure Hunt

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

Start Hunting!