- https://www.mathworks.com/help/econ/bssm.html (Documentation for Bayesian state space models in MATLAB)
- 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)
Define the Bayesian state space model state matrix in discrete or continuous ?
1 view (last 30 days)
Show older comments
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 !
0 Comments
Answers (1)
Ayush Anand
on 22 Nov 2023
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:
I hope this helps!
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!