RolWinMulCor: An R package for estimating rolling window multiple correlation in ecological time series

被引:26
作者
Polanco-Martinez, Josue M. [1 ,2 ]
机构
[1] Univ Deusto, Fac Engn, DeustoTech, Avda Univ 25, Bilbao 48007, Spain
[2] Univ Basque Country, Basque Ctr Climate Change BC3, Sci Campus, Leioa 48940, Spain
关键词
Correlation; Rolling window correlation; Multiple correlation; Multi-scale; Heat map; BLUEFIN TUNA CAPTURES; WAVELET ANALYSIS; GIBRALTAR STRAIT;
D O I
10.1016/j.ecoinf.2020.101163
中图分类号
Q14 [生态学(生物生态学)];
学科分类号
071012 ; 0713 ;
摘要
RolWinMulCor estimates the rolling window correlation for bi- and multi-variate cases between regular time series, with particular emphasis on ecological data. It is based on the concept of rolling, running or sliding window correlation, being useful for evaluating the evolution and stability of correlation over time. RolWinMulCor contains six functions to estimate and to plot the correlation coefficients and their respective p-values. The first two focus on the bi-variate case: (1) rolwincor_1win and (2) rolwincor_heatmap, estimate the correlation coefficients and the p-values for only one window-length (time-scale) and considering all possible window-lengths or a band of window-lengths, respectively. The second two functions: (3) rolwinmulcor_1win and (4) rolwinmulcor_heatmap, are designed to analyze the multi-variate case, following the bi-variate case to visually display the results, but these two approaches are methodologically different (the multi-variate case estimate the adjusted coefficients of determination instead of the correlation coefficients). The last two functions: (5) plot_1win and (6) plot_heatmap, are used to represent graphically the outputs of the four aforementioned functions as simple plots or as heat maps. The functions contained in RolWinMulCor are highly flexible, containing several parameters for controlling the estimation of correlation and the features of the plot output. The RolWinMulCor package also provides examples with synthetic and real-life ecological time series for illustrating its use.
引用
收藏
页数:12
相关论文
共 36 条
[1]  
[Anonymous], 2007, ENCY MEASUREMENT STA
[2]   CONTROLLING THE FALSE DISCOVERY RATE - A PRACTICAL AND POWERFUL APPROACH TO MULTIPLE TESTING [J].
BENJAMINI, Y ;
HOCHBERG, Y .
JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES B-STATISTICAL METHODOLOGY, 1995, 57 (01) :289-300
[3]  
Borchers H. W., 2019, R PACKAGE VERSION
[4]   Myriads: P-value-based multiple testing correction [J].
Carvajal-Rodriguez, Antonio .
BIOINFORMATICS, 2018, 34 (06) :1043-1045
[5]   A new multitest correction (SGoF) that increases its statistical power when increasing the number of tests [J].
Carvajal-Rodriguez, Antonio ;
de Una-Alvarez, Jacobo ;
Rolan-Alvarez, Emilio .
BMC BIOINFORMATICS, 2009, 10 :209
[6]  
Castro-Conde I, 2014, R J, V6, P96
[7]   Wavelet analysis of ecological time series [J].
Cazelles, Bernard ;
Chavez, Mario ;
Berteaux, Dominique ;
Menard, Frederic ;
Vik, Jon Olav ;
Jenouvrier, Stephanie ;
Stenseth, Nils C. .
OECOLOGIA, 2008, 156 (02) :287-304
[8]   A dynamic analysis of S&P 500, FTSE 100 and EURO STOXX 50 indices under different exchange rates [J].
Chen, Yanhua ;
Mantegna, Rosario N. ;
Pantelous, Athanasios A. ;
Zuev, Konstantin M. .
PLOS ONE, 2018, 13 (03)
[9]   Climate effects on historic bluefin tuna captures in the Gibraltar Strait and Western Mediterranean [J].
Ganzedo, Unai ;
Polanco-Martinez, Josue M. ;
Caballero-Alfonso, Angela M. ;
Faria, Sergio H. ;
Li, Jianke ;
Castro-Hernandez, Jose J. .
JOURNAL OF MARINE SYSTEMS, 2016, 158 :84-92
[10]   Application of the cross wavelet transform and wavelet coherence to geophysical time series [J].
Grinsted, A ;
Moore, JC ;
Jevrejeva, S .
NONLINEAR PROCESSES IN GEOPHYSICS, 2004, 11 (5-6) :561-566