Linear and Nonlinear Methods for Analyzing Daily and Monthly
Dendroclimatological Data
Provides methods for analyzing the relationships between
tree-ring proxies and daily or monthly climate data. daily_response() and
monthly_response() aggregate climate data over moving windows of
different widths and positions, optionally extending into previous
years. For each window, they calculate the correlation (Pearson,
Spearman or Kendall) with a proxy, or the explained variance of linear
models or Bayesian regularized neural networks with one or more proxies,
and find the window with the strongest relationship.
daily_response_seascorr() and monthly_response_seascorr() calculate
partial correlations between a proxy and a primary climate variable,
controlling for a second one, following 'seascorr' by Meko et al. (2011)
. They also partition the variance
explained in the optimal window between the two variables and can
calculate the partial correlations of the second variable. The climate
data in each window can be aggregated as means, sums and other
statistics, or as the Standardized Precipitation-Evapotranspiration
Index (SPEI) by Vicente-Serrano et al. (2010)
, calculated from the climatic water balance
that water_balance() derives from precipitation and temperature. The
aggregated climate series can be detrended linearly or with the spline,
mean, autoregressive and Friedman methods of dplR::detrend(). Windows
that are not significant can be removed with a per-window test or with
corrections for multiple testing. Bootstrap confidence intervals are
available, and the optimal window can be checked for temporal stability
and by cross-validation. compare_methods() compares multiple linear
regression, neural networks, model trees and random forests for climate
reconstruction. The methods are described in Jevsenak and Levanic (2018)
, Jevsenak et al. (2018)
and Jevsenak (2020)
.