Package: dacc 0.1.0

dacc: Detection and Attribution Analysis of Climate Change

Detection and attribution analysis of climate change using errors-in-variables regression. Implements the polynomial shrinkage framework under variance heterogeneity proposed by Li and Li (2026) <doi:10.48550/arXiv.2608.12496> and the latent factor framework proposed by Li and Li (2026) <doi:10.48550/arXiv.2609.13488>. Estimates forcing scaling factors and variance inflation coefficients for forced simulations and control runs relative to observations. Selects polynomial covariance weights or bias-corrected spiked precision weights by minimizing estimated total asymptotic scaling factor variance, and provides asymptotic confidence intervals and residual diagnostics. Also retains earlier total least squares and estimating equation procedures (Li et al., 2025, <doi:10.1175/JCLI-D-24-0193.1>; Ma et al., 2023, <doi:10.1175/JCLI-D-22-0681.1>) for comparison and reproducibility, together with covariance shrinkage estimators.

Authors:Haoran Li [aut], Yan Li [aut, cre], Kun Chen [aut], Jun Yan [aut]

dacc_0.1.0.tar.gz
dacc_0.1.0.zip(r-4.7-any)dacc_0.1.0.zip(r-4.6-any)dacc_0.1.0.zip(r-4.5-any)
dacc_0.1.0.tgz(r-4.6-any)dacc_0.1.0.tgz(r-4.5-any)
dacc_0.1.0.tar.gz(r-4.7-any)dacc_0.1.0.tar.gz(r-4.6-any)
dacc_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
dacc/json (API)

# Install 'dacc' in R:
install.packages('dacc', repos = c('https://liyanstat.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/liyanstat/dacc/issues

Datasets:
  • globalDat - Sample Dataset Used in Numerical Studies of "Detection and Attribution Analysis of Temperature Changes with Estimating Equations".
  • simDat - Sample Dataset in Simulation Studies of "Regularized Fingerprinting in Detection and Attribution of Climate Change with Weight Matrix Optimizing the Efficiency in Scaling Factor Estimation".

On CRAN:

Conda:

4.90 score 20 stars 6 scripts 467 downloads 6 exports 32 dependencies

Last updated from:ffa77ab555. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK168
source / vignettesOK184
linux-releaseOK129
macos-releaseOK121
macos-oldrelOK114
windows-develOK79
windows-releaseOK82
windows-oldrelOK77
wasm-releaseOK93

Exports:CovestfingerprintfingerprintLatentfingerprintLegacyfingerprintPolyfpPrep

Dependencies:CFtimeclicpp11dplyrgenericsgluehmsIsojanitorlatticelifecyclelubridatemagrittrMASSncdf4pillarpkgconfigpracmapurrrR6rlangsnakecasespstringistringrtibbletidyrtidyselecttimechangeutf8vctrswithr