Package: Bergm.ws 0.1.0

Alberto Caimo

Bergm.ws: Bayesian Multi-Layer ERGMs for Weighted and Signed Weighted Networks

Bayesian hierarchical multi-layer dissolution exponential random graph models for weighted and signed weighted networks. A weighted network is decomposed into nested binary layers by thresholding its edge weights, and each transition between consecutive layers is modelled conditionally on the observed lower layers: on the layers alone with bergm_w(), or jointly with the edge signs with bergm_ws(). Layer-specific parameters are partially pooled through a Normal-inverse-Wishart hierarchical prior and estimated with an adaptive approximate exchange algorithm: joint or layer-wise updates, delayed acceptance with a Gaussian approximation of the likelihood, the hierarchical mean integrated out of the exchange step, and a proposal covariance initialised from the Fisher information, learned during the burn-in and pooled across chains. The package also provides a model builder that checks that every statistic is computed on its own layer, prior and posterior predictive checks with goodness-of-fit statistics not used in the model, convergence diagnostics and a check of the length of the auxiliary chains.

Authors:Alberto Caimo [aut, cre], Isabella Gollini [aut]

Bergm.ws_0.1.0.tar.gz
Bergm.ws_0.1.0.zip(r-4.7-any)Bergm.ws_0.1.0.zip(r-4.6-any)
Bergm.ws_0.1.0.tar.gz(r-4.7-any)Bergm.ws_0.1.0.tar.gz(r-4.6-any)
Bergm.ws_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
Bergm.ws/json (API)

# Install 'Bergm.ws' in R:
install.packages('Bergm.ws', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • toy_ws - A small simulated signed weighted network

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.70 score 6 scripts 8 exports 42 dependencies

Last updated from:bb4c5deb96. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK149
source / vignettesOK182
linux-releaseOK149
windows-develOK94
windows-releaseOK110
wasm-releaseOK110

Exports:bergm_wbergm_wsws_aux_checkws_dataws_modelws_predictivews_priorws_simulate

Dependencies:cachemclicodaDEoptimRdplyrergmergm.multievaluatefastmapgenericsgluehighrknitrlatticelifecyclelpSolveAPImagrittrMASSMatrixmemoisenetworknetworkLitepillarpkgconfigpurrrR6rbibutilsRdpackrlangrlerobustbasestatnet.commonstringistringrtibbletidyselecttrustutf8vctrswithrxfunyaml