TY - JOUR AU - Bagnato, Luca AU - De Capitani, Lucio AU - Mazza, Angelo AU - Punzo, Antonio PY - 2015/03/20 Y2 - 2024/03/28 TI - SDD: An R Package for Serial Dependence Diagrams JF - Journal of Statistical Software, Code Snippets JA - J. Stat. Soft. VL - 64 IS - 2 SE - Code Snippets DO - 10.18637/jss.v064.c02 UR - https://www.jstatsoft.org/index.php/jss/article/view/v064c02 SP - 1 - 19 AB - Detecting and measuring lag-dependencies is very important in time-series analysis. This study is commonly carried out by focusing on the linear lag-dependencies via the well-known autocorrelogram. However, in practice, there are many situations in which the autocorrelogram fails because of the nonlinear structure of the serial dependence. To cope with this problem, in this paper the R package SDD is introduced. Among the available approaches to analyze the lag-dependencies in an omnibus way, the SDD package considers the autodependogram and some of its variants. The autodependogram, defined by computing the classical Pearson χ2 -statistic at various lags, is a graphical device recently proposed in the literature to analyze lag-dependencies. The concept of reproducibility probability, and several density-based measures of divergence, are considered to define the variants of the autodependogram. An application to daily returns of the Swiss Market Index is also presented to exemplify the use of the package. ER -