{'fraction_non_alphanumeric': 0.016414141414141416, 'fraction_numerical': 0.0, 'mean_word_length': 5.0534351145038165, '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}}
Bayesian Mixtures of Autoregressive Models

In this article we propose a class of time-domain models for analyzing possibly nonstationary time series. This class of models is formed as a mixture of time series models, whose mixing weights are a function of time. We consider specifically mixtures of autoregressive models with a common but unknown lag. To make the methodology work we show that it is necessary to first partition the data into small non-overlapping segments, so that all observations within one segment are always allocated to the same component. The model parameters, including the number of mixture components, are then estimated via Markov chain Monte Carlo methods. The methodology is illustrated with simulated and real data. Supplemental materials are available online.