{'fraction_non_alphanumeric': 0.018893387314439947, 'fraction_numerical': 0.0, 'mean_word_length': 5.710407239819005, '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}}
A NON‐GAUSSIAN FAMILY OF STATE‐SPACE MODELS WITH EXACT MARGINAL LIKELIHOOD

The Gaussian assumption generally employed in many state‐space models is usually not satisfied for real time series. Thus, in this work, a broad family of non‐Gaussian models is defined by integrating and expanding previous work in the literature. The expansion is obtained at two levels: at the observational level, it allows for many distributions not previously considered, and at the latent state level, it involves an expanded specification for the system evolution. The class retains analytical availability of the marginal likelihood function, uncommon outside Gaussianity. This expansion considerably increases the applicability of the models and solves many previously existing problems such as long‐term prediction, missing values and irregular temporal spacing. Inference about the state components can be performed because of the introduction of a new and exact smoothing procedure, in addition to filtered distributions. Inference for the hyperparameters is presented from the classical and Bayesian perspectives. The results seem to indicate competitive results of the models when compared with other non‐Gaussian state‐space models available. The methodology is applied to Gaussian and non‐Gaussian dynamic linear models with time‐varying means and variances and provides a computationally simple solution to inference in these models. The methodology is illustrated in a number of examples.