# Markov switching multifractal

In financial econometrics (the application of statistical methods to economic data), the Markov-switching multifractal (MSM) is a model of asset returns developed by Laurent E. Calvet and Adlai J. Fisher that incorporates stochastic volatility components of heterogeneous durations. MSM captures the outliers, log-memory-like volatility persistence and power variation of financial returns. In currency and equity series, MSM compares favorably with standard volatility models such as GARCH(1,1) and FIGARCH both in- and out-of-sample. MSM is used by practitioners in the financial industry for different types of forecasts.

## MSM specification

The MSM model can be specified in both discrete time and continuous time.

### Discrete time

Let $P_{t}$ denote the price of a financial asset, and let $r_{t}=\ln(P_{t}/P_{t-1})$ denote the return over two consecutive periods. In MSM, returns are specified as
    $r_{t}=\mu +{\bar {\sigma }}(M_{1,t}M_{2,t}...M_{{\bar {k}},t})^{1/2}\epsilon _{t},$
where $\mu$ and $\sigma$ are constants and {$\epsilon _{t}$} are independent standard Gaussians. Volatility is driven by the first-order latent Markov state vector:
    $M_{t}=(M_{1,t}M_{2,t}\dots M_{{\bar {k}},t})\in R_{+}^{\bar {k}}.$
Given the volatility state $M_{t}$, the next-period multiplier $M_{k,t+1}$ is drawn from a fixed distribution M with probability $\gamma _{k}$, and is otherwise left unchanged.
    $M_{k,t}$ drawn from distribution Mwith probability $\gamma _{k}$ $M_{k,t}=M_{k,t-1}$with probability $1-\gamma _{k}$
The transition probabilities are specified by
    $\gamma _{k}=1-(1-\gamma _{1})^{(b^{k-1})}$.
The sequence $\gamma _{k}$ is approximately geometric $\gamma _{k}\approx \gamma _{1}b^{k-1}$ at low frequency. The marginal distribution M has a unit mean, has a positive support, and is independent of k.

#### Binomial MSM

In empirical applications, the distribution M is often a discrete distribution that can take the values $m_{0}$ or $2-m_{0}$ with equal probability. The return process $r_{t}$ is then specified by the parameters $\theta =(m_{0},\mu ,{\bar {\sigma }},b,\gamma _{1})$. Note that the number of parameters is the same for all ${\bar {k}}>1$.

### Continuous time

MSM is similarly defined in continuous time. The price process follows the diffusion:
    ${\frac {dP_{t}}{P_{t}}}=\mu dt+\sigma (M_{t})\,dW_{t},$
where $\sigma (M_{t})={\bar {\sigma }}(M_{1,t}\dots M_{{\bar {k}},t})^{1/2}$, $W_{t}$ is a standard Brownian motion, and $\mu$ and ${\bar {\sigma }}$ are constants. Each component follows the dynamics:
    $M_{k,t}$ drawn from distribution Mwith probability $\gamma _{k}dt$ $M_{k,t+dt}=M_{k,t}$with probability $1-\gamma _{k}dt$
The intensities vary geometrically with k:
    $\gamma _{k}=\gamma _{1}b^{k-1}.$
When the number of components ${\bar {k}}$ goes to infinity, continuous-time MSM converges to a multifractal diffusion, whose sample paths take a continuum of local Hölder exponents on any finite time interval.

## Inference and closed-form likelihood

When $M$ has a discrete distribution, the Markov state vector $M_{t}$ takes finitely many values $m^{1},...,m^{d}\in R_{+}^{\bar {k}}$. For instance, there are $d=2^{\bar {k}}$ possible states in binomial MSM. The Markov dynamics are characterized by the transition matrix $A=(a_{i,j})_{1\leq i,j\leq d}$ with components $a_{i,j}=P\left(M_{t+1}=m^{j}|M_{t}=m^{i}\right)$. Conditional on the volatility state, the return $r_{t}$ has Gaussian density
    $f(r_{t}|M_{t}=m^{i})={\frac {1}{\sqrt {2\pi \sigma ^{2}(m^{i})}}}\exp \left[-{\frac {(r_{t}-\mu )^{2}}{2\sigma ^{2}(m^{i})}}\right].$

### Closed-form Likelihood

The log likelihood function has the following analytical expression:
    $\ln L(r_{1},\dots ,r_{T};\theta )=\sum _{t=1}^{T}\ln[\omega (r_{t}).(\Pi _{t-1}A)].$
Maximum likelihood provides reasonably precise estimates in finite samples.

### Other estimation methods

When $M$ has a continuous distribution, estimation can proceed by simulated method of moments, or simulated likelihood via a particle filter.

## Forecasting

Given $r_{1},\dots ,r_{t}$, the conditional distribution of the latent state vector at date $t+n$ is given by:
    ${\hat {\Pi }}_{t,n}=\Pi _{t}A^{n}.\,$
MSM often provides better volatility forecasts than some of the best traditional models both in and out of sample. Calvet and Fisher report considerable gains in exchange rate volatility forecasts at horizons of 10 to 50 days as compared with GARCH(1,1), Markov-Switching GARCH, and Fractionally Integrated GARCH. Lux obtains similar results using linear predictions.

## Applications
### Multiple assets and value-at-risk

Extensions of MSM to multiple assets provide reliable estimates of the value-at-risk in a portfolio of securities.

### Asset pricing

In financial economics, MSM has been used to analyze the pricing implications of multifrequency risk. The models have had some success in explaining the excess volatility of stock returns compared to fundamentals and the negative skewness of equity returns. They have also been used to generate multifractal jump-diffusions.

## Related approaches

MSM is a stochastic volatility model with arbitrarily many frequencies. MSM builds on the convenience of regime-switching models, which were advanced in economics and finance by James D. Hamilton. MSM is closely related to the Multifractal Model of Asset Returns. MSM improves on the MMAR's combinatorial construction by randomizing arrival times, guaranteeing a strictly stationary process. MSM provides a pure regime-switching formulation of multifractal measures, which were pioneered by Benoit Mandelbrot.