Learn R Programming

NonParRolCor (version 0.8.0)

a Non-Parametric Statistical Significance Test for Rolling Window Correlation

Description

Estimates and plots (as a single plot and as a heat map) the rolling window correlation coefficients between two time series and computes their statistical significance, which is carried out through a non-parametric computing-intensive method. This method addresses the effects due to the multiple testing (inflation of the Type I error) when the statistical significance is estimated for the rolling window correlation coefficients. The method is based on Monte Carlo simulations by permuting one of the variables (e.g., the dependent) under analysis and keeping fixed the other variable (e.g., the independent). We improve the computational efficiency of this method to reduce the computation time through parallel computing. The 'NonParRolCor' package also provides examples with synthetic and real-life environmental time series to exemplify its use. Methods derived from R. Telford (2013) and J.M. Polanco-Martinez and J.L. Lopez-Martinez (2021) .

Copy Link

Version

Install

install.packages('NonParRolCor')

Monthly Downloads

190

Version

0.8.0

License

GPL (>= 2)

Maintainer

Josue Polanco-Martinez

Last Published

October 30th, 2022

Functions in NonParRolCor (0.8.0)

ecodata2

Environmental data set to exemplify the use of the functions contained in NonParRolCor
ecodata

Ecological data set to exemplify the use of the functions contained in NonParRolCor
NonParRolCor-package

Non-parametric statistical significance test for rolling window correlation
plot_rolcor_estim_heatmap

Plot the variables under analysis and a heat map of the rolling correlation coefficients that are statistically significant
syntheticdata

Synthetic data set to exemplify the use of the functions contained in NonParRolCor
rolcor_estim_1win

Estimates the rolling window correlation coefficients for only one window-length and their statistical significance
rolcor_estim_heatmap

Estimates the rolling window correlation coefficients for several window-lengths and their statistical significance
plot_rolcor_estim_1win

Plot the variables under analysis and the rolling correlation coefficients that are statistically significant for only one window-length