Skip to main content

Questions tagged [markov-switching]

Filter by
Sorted by
Tagged with
1 vote
0 answers
113 views

Interpreting parameters on Matlab from Patton's code on time varying copulas

I ran Andrew Patton's code (2006) for Markov switching time varying copulas with an example code given in the Matlab tool box. This is the equation for Markov switching time varying normal copulas I ...
nadeem's user avatar
  • 23
0 votes
0 answers
59 views

Reference request: Approximate mapping of a multi-factor stochastic volatility model to single-factor stochastic volatility model

I am looking for approaches to transform a more complicated stochastic volatility model such as the one shown in Section 2.2 of Smile Dynamics II to a single-factor model such as the one shown in ...
fwd_T's user avatar
  • 747
1 vote
0 answers
615 views

Markov Switching Vector Autoregressive (MSVAR) and Markov Switching Dynamic Stochastic General Equilibrium (MSDSGE) Models

I want to reproduce the results of Bianchi et al (2017) Escaping the Great Recession using R and/or Python. Authors in the ...
MYaseen208's user avatar
0 votes
0 answers
162 views

Is variance of residuals of Markov switching GARCH model regime specific?

I'm using MSGARCH package in R. By return_data/Volatility(fit.model), I get the residuals. When I calculate the standard deviation of the residuals, it turns out that it's close to 1 for all residuals....
Chp's user avatar
  • 1
3 votes
0 answers
79 views

Joint Distribution of Correlated Variables with Markov Switching

I am modeling a portfolio of correlated assets whose lack of liquidity can be reasonably described by a Markov-switching model. That is, not only is movement size among assets correlated, but so is ...
CasusBelli's user avatar
2 votes
2 answers
3k views

Multivariate Markov Regime switching GARCH

I have a regression with 4 independent variables and a dependent variable. I want to implement a Regime switching GARCH model but have been unable to find a package in R,Python or Matlab. MSGARCH ...
pulsar's user avatar
  • 21
3 votes
0 answers
946 views

Hidden Markov Models for Higher frequency trading

I'm curious if anyone can validate my train of thought here with the utility of Hidden Markov models for modeling things happening on higher frequency trading activity versus lower frequency, and in ...
Theodore's user avatar
  • 1,182
0 votes
1 answer
140 views

Which method would you use to compare if a time series of financial returns has more "clusterized volatility" than another?

It is known that the historical series of financial returns are characterized by the so-called volatility clustering. Suppose we approximate the number of two-type clusters, namely the high and low ...
Mike9's user avatar
  • 133
4 votes
0 answers
140 views

difference between Meucci fully flexible probability and markov regime swtiching models?

What is the difference between A. Meucci's Fully Flexible Probability (FFP) and Markov Regime Switching Models ? They seem very similar to me, FFP based on state variables that define regimes will ...
annkepan's user avatar
0 votes
1 answer
249 views

Markov switching regime for stock returns

I want to see if day of the week (or month) has some effect on stock returns. I want to use Markov switching model to identify different regimes in time series. If $Y_1,Y_2,...Y_t$ are stock returns,...
Markoff Chainz's user avatar
1 vote
0 answers
243 views

Is there a way I could find a matlab or R code to estimate a regime switching stochastic volatility model (discrete)?

Sorry to bother you with this request but, does anyone know where I could find a matlab or R code to estimate a regime switching stochastic volatility model (discrete)? Thank you very much.
Jorge Alejandro's user avatar
4 votes
2 answers
1k views

Error when trying to estimate a Markov-switching Var model in R

I'm trying to estimate a Markov-switching VAR in R using the command msvar. These are the first 10 entries of my two time series. I have 798. When I try to run this I get an Error message ...
Enrico Forabosco's user avatar
17 votes
0 answers
1k views

Markov-Switching Multifractal and FX Rates

Is there a better model than Markov-Switching Multifractal (MSM) for detecting regime shifts in FX rates across multiple time horizons? I am especially interested in the different aspects of the ...
ismael's user avatar
  • 313
8 votes
1 answer
989 views

Optimal trading strategy in toy world of simple Hidden Markov model with Gaussians

I want to solve the following optimization problem: What is the optimal general trading strategy (in the sense of the highest Sharpe ratio) on a time series which is the result of a Hidden Markov ...
vonjd's user avatar
  • 27.5k
6 votes
2 answers
888 views

Is HMM of Volatility any different from a simple filter?

I have constructed a simple HMM (Hidden Markov Model) with 2 states on the Vol (stdev) of a time series of currency returns. The state vector I produce looks reasonable, in the sense that it appears ...
user2675052's user avatar
9 votes
1 answer
2k views

Markov-Switching E-GARCH with R

I am looking for a R library for modeling a Markov-Switching E-GARCH process. In other questions at StackExchange related to GARCH models, the package rugarch is often mentionned. Do you recommend it ...
tagoma's user avatar
  • 551