Source author record

Mauro Bernardi

Mauro Bernardi appears in the imported research catalog. Authorship, coauthor and topic links are available while profile ownership is still unclaimed.

ResearcherUnclaimed source record

Catalog footprint

What is connected

12works
6topics
4close collaborators

Actions

Connect this record

Log in to claim

Research graph

See the researcher in context

Open full explorer

Inspect adjacent papers, topics, institutions and collaborators without losing the researcher page.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Published work

12 published item(s)

preprint2022arXiv

Doubly-online changepoint detection for monitoring health status during sports activities

We provide an online framework for analyzing data recorded by smart watches during running activities. In particular, we focus on identifying variations in the behavior of one or more measurements caused by changes in physical condition, such as physical discomfort, periods of prolonged de-training, or even the malfunction of measuring devices. Our framework considers data as a sequence of running activities represented by multivariate time series of physical and biometric data. We combine classical changepoint detection models with an unknown number of components with Gaussian state space models to detect distributional changes between a sequence of activities. The model considers multiple sources of dependence due to the sequential nature of subsequent activities, the autocorrelation structure within each activity, and the contemporaneous dependence between different variables. We provide an online Expectation-Maximization (EM) algorithm involving a sequential Monte Carlo (SMC) approximation of changepoint predicted probabilities. As a byproduct of our model assumptions, our proposed approach processes sequences of multivariate time series in a doubly-online framework. While classical changepoint models detect changes between subsequent activities, the state space framework coupled with the online EM algorithm provides the additional benefit of estimating the real-time probability that a current activity is a changepoint.

preprint2022arXiv

Missing data patterns in runners' careers: do they matter?

Predicting the future performance of young runners is an important research issue in experimental sports science and performance analysis. We analyse a data set with annual seasonal best performances of male middle distance runners for a period of 14 years and provide a modelling framework that accounts for both the fact that each runner has typically run in three distance events (800, 1500 and 5000 meters) and the presence of periods of no running activities. We propose a latent class matrix-variate state space model and we empirically demonstrate that accounting for missing data patterns in runners' careers improves the out of sample prediction of their performances over time. In particular, we demonstrate that for this analysis, the missing data patterns provide valuable information for the prediction of runner's performance.

preprint2016arXiv

Bayesian Robust Quantile Regression

Traditional Bayesian quantile regression relies on the Asymmetric Laplace distribution (ALD) mainly because of its satisfactory empirical and theoretical performances. However, the ALD displays medium tails and it is not suitable for data characterized by strong deviations from the Gaussian hypothesis. In this paper, we propose an extension of the ALD Bayesian quantile regression framework to account for fat-tails using the Skew Exponential Power (SEP) distribution. Beside having the $τ$-level quantile as parameter, the SEP distribution has an additional key parameter governing the decay of the tails, making it attractive for robust modeling of conditional quantiles at different confidence levels. Linear and Generalized Additive Models (GAM) with penalized spline are considered to show the flexibility of the SEP in the Bayesian quantile regression context. Lasso priors are considered in both cases to account for shrinking parameters problem when the parameters space becomes wide. To implement the Bayesian inference we propose a new adaptive Metropolis--Hastings algorithm in the linear model and an adaptive Metropolis within Gibbs one in the GAM framework. Empirical evidence of the statistical properties of the proposed SEP Bayesian quantile regression method is provided through several example based on simulated and real dataset.

preprint2016arXiv

On the Lp-quantiles for the Student t distribution

L_p-quantiles represent an important class of generalised quantiles and are defined as the minimisers of an expected asymmetric power function, see Chen (1996). For p=1 and p=2 they correspond respectively to the quantiles and the expectiles. In his paper Koenker (1993) showed that the tau quantile and the tau expectile coincide for every tau in (0,1) for a class of rescaled Student t distributions with two degrees of freedom. Here, we extend this result proving that for the Student t distribution with p degrees of freedom, the tau quantile and the tau L_p-quantile coincide for every tau in (0,1) and the same holds for any affine transformation. Furthermore, we investigate the properties of L_p-quantiles and provide recursive equations for the truncated moments of the Student t distribution.

preprint2016arXiv

Portfolio Optimisation Under Flexible Dynamic Dependence Modelling

Signals coming from multivariate higher order conditional moments as well as the information contained in exogenous covariates, can be effectively exploited by rational investors to allocate their wealth among different risky investment opportunities. This paper proposes a new flexible dynamic copula model being able to explain and forecast the time-varying shape of large dimensional asset returns distributions. Moreover, we let the univariate marginal distributions to be driven by an updating mechanism based on the scaled score of the conditional distribution. This framework allows us to introduce time-variation in up to the fourth moment of the conditional distribution. The time-varying dependence pattern is subsequently modelled as function of a latent Markov Switching process, allowing also for the inclusion of exogenous covariates in the dynamic updating equation. We empirically assess that the proposed model substantially improves the optimal portfolio allocation of rational investors maximising their expected utility.

preprint2016arXiv

Switching-GAS Copula Models With Application to Systemic Risk

Recent financial disasters have emphasised the need to accurately predict extreme financial losses and their consequences for the institutions belonging to a given financial market. The ability of econometric models to predict extreme events strongly relies on their flexibility to account for the highly nonlinear and asymmetric dependence observed in financial returns. We develop a new class of flexible Copula models where the evolution of the dependence parameters follow a Markov-Switching Generalised Autoregressive Score (SGASC) dynamics. Maximum Likelihood estimation is consistently performed using the Inference Functions for Margins (IFM) approach and a version of the Expectation-Maximisation (EM) algorithm specifically tailored to this class of models. The SGASC models are then used to estimate the Conditional Value-at-Risk (CoVaR), which is defined as the VaR of a given asset conditional on another asset (or portfolio) being in financial distress, and the Conditional Expected Shortfall (CoES). Our empirical investigation shows that the proposed SGASC models are able to explain and predict the systemic risk contribution of several European countries. Moreover, we also find that the SGASC models outperform competitors using several CoVaR backtesting procedures.

preprint2015arXiv

Comparison of Value-at-Risk models: the MCS package

This paper compares the Value--at--Risk (VaR) forecasts delivered by alternative model specifications using the Model Confidence Set (MCS) procedure recently developed by Hansen et al. (2011). The direct VaR estimate provided by the Conditional Autoregressive Value--at--Risk (CAViaR) models of Eengle and Manganelli (2004) are compared to those obtained by the popular Autoregressive Conditional Heteroskedasticity (ARCH) models of Engle (1982) and to the recently introduced Generalised Autoregressive Score (GAS) models of Creal et al. (2013) and Harvey (2013). The Hansen's procedure consists on a sequence of tests which permits to construct a set of "superior" models, where the null hypothesis of Equal Predictive Ability (EPA) is not rejected at a certain confidence level. Our empirical results, suggest that, after the Global Financial Crisis (GFC) of 2007-2008, highly non-linear volatility models deliver better VaR forecasts for the European countries as opposed to other regions. The R package MCS is introduced for performing the model comparisons whose main features are discussed throughout the paper.

preprint2014arXiv

Are news important to predict large losses?

In this paper we investigate the impact of news to predict extreme financial returns using high frequency data. We consider several model specifications differing for the dynamic property of the underlying stochastic process as well as for the innovation process. Since news are essentially qualitative measures, they are firstly transformed into quantitative measures which are subsequently introduced as exogenous regressors into the conditional volatility dynamics. Three basic sentiment indexes are constructed starting from three list of words defined by historical market news response and by a discriminant analysis. Models are evaluated in terms of their predictive accuracy to forecast out-of-sample Value-at-Risk of the STOXX Europe 600 sectors at different confidence levels using several statistic tests and the Model Confidence Set procedure of Hansen et al. (2011). Since the Hansen's procedure usually delivers a set of models having the same VaR predictive ability, we propose a new forecasting combination technique that dynamically weights the VaR predictions obtained by the models belonging to the optimal final set. Our results confirms that the inclusion of exogenous information as well as the right specification of the returns' conditional distribution significantly decrease the number of actual versus expected VaR violations towards one, as this is especially true for higher confidence levels.

preprint2014arXiv

Extracting the Italian output gap: a Bayesian approach

During the last decades particular effort has been directed towards understanding and predicting the relevant state of the business cycle with the objective of decomposing permanent shocks from those having only a transitory impact on real output. This trend--cycle decomposition has a relevant impact on several economic and fiscal variables and constitutes by itself an important indicator for policy purposes. This paper deals with trend--cycle decomposition for the Italian economy having some interesting peculiarities which makes it attractive to analyse from both a statistic and an historical perspective. We propose an univariate model for the quarterly real GDP, subsequently extended to include the price dynamics through a Phillips curve. This study considers a series of the Italian quarterly real GDP recently released by OECD which includes both the 1960s and the recent global financial crisis of 2007--2008. Parameters estimate as well as the signal extraction are performed within the Bayesian paradigm which effectively handles complex models where the parameters enter the log--likelihood function in a strongly nonlinear way. A new Adaptive Independent Metropolis--within--Gibbs sampler is then developed to efficiently simulate the parameters of the unobserved cycle. Our results suggest that inflation influences the Output Gap estimate, making the extracted Italian OG an important indicator of inflation pressures on the real side of the economy, as stated by the Phillips theory. Moreover, our estimate of the sequence of peaks and troughs of the Output Gap is in line with the OECD official dating of the Italian business cycle.

preprint2014arXiv

Multivariate Markov-Switching models and tail risk interdependence

Markov switching models are often used to analyze financial returns because of their ability to capture frequently observed stylized facts. In this paper we consider a multivariate Student-t version of the model as a viable alternative to the usual multivariate Gaussian distribution, providing a natural robust extension that accounts for heavy-tails and time varying non-linear correlations. Moreover, these modelling assumptions allow us to capture extreme tail co-movements which are of fundamental importance to assess the underlying dependence structure of asset returns during extreme events such as financial crisis. For the considered model we provide new risk interdependence measures which generalize the existing ones, like the Conditional Value-at-Risk (CoVaR). The proposed measures aim to capture interconnections among multiple connecting market participants which is particularly relevant during period of crisis when several institutions may contemporaneously experience distress instances. Those measures are analytically evaluated on the predictive distribution of the modes in order to provide a forward-looking risk quantification. Application on a set of U.S. banks is considered to show that the right specification of the model conditional distribution along with a multiple risk interdependence measure may help to better understand how the overall risk is shared among institutions.

preprint2014arXiv

The Model Confidence Set package for R

This paper presents the R package MCS which implements the Model Confidence Set (MCS) procedure recently developed by Hansen et al. (2011). The Hansen's procedure consists on a sequence of tests which permits to construct a set of 'superior' models, where the null hypothesis of Equal Predictive Ability (EPA) is not rejected at a certain confidence level. The EPA statistic tests is calculated for an arbitrary loss function, meaning that we could test models on various aspects, for example punctual forecasts. The relevance of the package is shown using an example which aims at illustrating in details the use of the functions provided by the package. The example compares the ability of different models belonging to the ARCH family to predict large financial losses. We also discuss the implementation of the ARCH--type models and their maximum likelihood estimation using the popular R package rugarch developed by Ghalanos (2014).

preprint2013arXiv

Bayesian inference for CoVaR

Recent financial disasters emphasised the need to investigate the consequence associated with the tail co-movements among institutions; episodes of contagion are frequently observed and increase the probability of large losses affecting market participants' risk capital. Commonly used risk management tools fail to account for potential spillover effects among institutions because they provide individual risk assessment. We contribute to analyse the interdependence effects of extreme events providing an estimation tool for evaluating the Conditional Value-at-Risk (CoVaR) defined as the Value-at-Risk of an institution conditioned on another institution being under distress. In particular, our approach relies on Bayesian quantile regression framework. We propose a Markov chain Monte Carlo algorithm exploiting the Asymmetric Laplace distribution and its representation as a location-scale mixture of Normals. Moreover, since risk measures are usually evaluated on time series data and returns typically change over time, we extend the CoVaR model to account for the dynamics of the tail behaviour. Application on U.S. companies belonging to different sectors of the Standard and Poor's Composite Index (S&P500) is considered to evaluate the marginal contribution to the overall systemic risk of each individual institution