{'fraction_non_alphanumeric': 0.020318021201413426, 'fraction_numerical': 0.0, 'mean_word_length': 5.625730994152047, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Improved Nonlinear Multivariate Financial Time Series Prediction with Mixed-State Latent Factor Models

The deficiencies of stationary models applied to financial time series are well documented. A special form of non-stationarity, where the underlying generator switches between (approximately) stationary regimes, seems particularly appropriate for financial markets. We use a dynamic switching (modelled by a hidden Markov model) combined with a linear conditionally heteroskedastic latent factor model in a hybrid mixed-state latent factor model (MSFM) and discuss the practical details of training such models with a new approximated version of the Viterbi algorithm in conjunction with the expectation-maximization (EM) algorithm to iteratively estimate the model parameters in a maximum-likelihood sense. The performance of the MSFM is evaluated on both simulated and financial data sets. On the basis of out-of-sample forecast encompassing tests as well as other measures for forecasting accuracy, our results indicate that the use of this new method yields overall better forecasts than those generated by competing models.