Last chance! 50% off unlimited learning
Sale ends in
regime_distance
calculates "distance" between two scaled regimes. This is used in
the genetic algorithm.
regime_distance(regime_pars1, regime_pars2)
a length
a length
Returns "distance" between regime_pars1
and regime_pars2
. Values are scaled
before calculating the "distance". Read the source code for more details.
No argument checks!
Kalliovirta L., Meitz M. and Saikkonen P. 2016. Gaussian mixture vector autoregression. Journal of Econometrics, 192, 485-498.
Virolainen S. 2020. Structural Gaussian mixture vector autoregressive model. Unpublished working paper, available as arXiv:2007.04713.