Package: btergm 1.10.12

btergm: Temporal Exponential Random Graph Models by Bootstrapped Pseudolikelihood

Temporal Exponential Random Graph Models (TERGM) estimated by maximum pseudolikelihood with bootstrapped confidence intervals or Markov Chain Monte Carlo maximum likelihood. Goodness of fit assessment for ERGMs, TERGMs, and SAOMs. Micro-level interpretation of ERGMs and TERGMs. The methods are described in Leifeld, Cranmer and Desmarais (2018), JStatSoft <doi:10.18637/jss.v083.i06>.

Authors:Philip Leifeld [aut, cre], Skyler J. Cranmer [ctb], Bruce A. Desmarais [ctb]

btergm_1.10.12.tar.gz
btergm_1.10.12.zip(r-4.5)btergm_1.10.12.zip(r-4.4)btergm_1.10.12.zip(r-4.3)
btergm_1.10.12.tgz(r-4.4-any)btergm_1.10.12.tgz(r-4.3-any)
btergm_1.10.12.tar.gz(r-4.5-noble)btergm_1.10.12.tar.gz(r-4.4-noble)
btergm_1.10.12.tgz(r-4.4-emscripten)btergm_1.10.12.tgz(r-4.3-emscripten)
btergm.pdf |btergm.html
btergm/json (API)

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

Peer review:

Bug tracker:https://github.com/leifeld/btergm/issues

Datasets:
  • LSP - Longitudinal international defense alliance network, 1981-2000
  • advice - Longitudinal classroom friendship network and behavior
  • alcohol - Longitudinal classroom friendship network and behavior
  • allyNet - Longitudinal international defense alliance network, 1981-2000
  • ch_coaut - Swiss political science co-authorship network 2013
  • ch_dist100km - Swiss political science co-authorship network 2013
  • ch_en_article_sim - Swiss political science co-authorship network 2013
  • ch_nodeattr - Swiss political science co-authorship network 2013
  • ch_topicsim - Swiss political science co-authorship network 2013
  • committee - German Toxic Chemicals Policy Network in the 1980s
  • contigMat - Longitudinal international defense alliance network, 1981-2000
  • delinquency - Longitudinal classroom friendship network and behavior
  • demographics - Longitudinal classroom friendship network and behavior
  • friendship - Longitudinal classroom friendship network and behavior
  • infrep - German Toxic Chemicals Policy Network in the 1980s
  • intpos - German Toxic Chemicals Policy Network in the 1980s
  • lNet - Longitudinal international defense alliance network, 1981-2000
  • pol - German Toxic Chemicals Policy Network in the 1980s
  • primary - Longitudinal classroom friendship network and behavior
  • scifrom - German Toxic Chemicals Policy Network in the 1980s
  • scito - German Toxic Chemicals Policy Network in the 1980s
  • types - German Toxic Chemicals Policy Network in the 1980s
  • warNet - Longitudinal international defense alliance network, 1981-2000

On CRAN:

complex-networksdynamic-analysisergmestimationgoodness-of-fitinferencelongitudinal-datanetwork-analysispredictiontergm

6.62 score 16 stars 2 packages 81 scripts 2.7k downloads 1 mentions 60 exports 45 dependencies

Last updated 8 months agofrom:09b773804b. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-winOKOct 27 2024
R-4.5-linuxOKOct 27 2024
R-4.4-winNOTEOct 27 2024
R-4.4-macNOTEOct 27 2024
R-4.3-winNOTEOct 27 2024
R-4.3-macNOTEOct 27 2024

Exports:adjustb1degb1starb2degb2starbtergmbtergm.secheckdegeneracycoefcomembconfintcreateGOFdegdspedgebetweenness.modularityedgebetweenness.predgebetweenness.rocedgeprobespfastgreedy.modularityfastgreedy.prfastgreedy.rocgeodesicgetformulagofhandleMissingsideginterpretistarkcyclekstarlouvain.modularitylouvain.prlouvain.rocmarginalplotmaxmod.modularitymaxmod.prmaxmod.rocmtergmnobsnspodegostarrocprshowspinglass.modularityspinglass.prspinglass.rocsummarytbergmtergmpreparetimecovtimesteps.btergmtimesteps.mtergmtimesteps.tbergmtriad.directedtriad.undirectedwalktrap.modularitywalktrap.prwalktrap.roc

Dependencies:bitopsbootcachemcaToolsclicodacpp11DEoptimRergmevaluatefansifastmapgluegplotsgtoolshighrigraphKernSmoothknitrlatticelifecyclelpSolveAPImagrittrMatrixmemoisenetworkpillarpkgconfigpurrrrbibutilsRdpackrlangrlerobustbaseROCRsnastatnet.commonstringistringrtibbletrustutf8vctrsxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Temporal Exponential Random Graph Models by Bootstrapped Pseudolikelihoodbtergm-package
Adjust the dimensions of a source object to the dimensions of a target objectadjust
Longitudinal international defense alliance network, 1981-2000alliances allyNet contigMat lNet LSP warNet
Estimate a TERGM by MPLE with temporal bootstrappingbtergm
An S4 class to represent a fitted TERGM by bootstrapped MPLEbtergm-class btergm.se coef,btergm-method confint,btergm-method nobs,btergm-method show,btergm-method summary,btergm-method timesteps.btergm
Check for degeneracy in fitted TERGMscheckdegeneracy checkdegeneracy,btergm-method checkdegeneracy,mtergm-method checkdegeneracy-methods plot.degeneracy print.degeneracy
German Toxic Chemicals Policy Network in the 1980s (Volker Schneider)chemnet committee infrep intpos pol scifrom scito types
Swiss political science co-authorship network 2013ch_coaut ch_coauthor ch_dist100km ch_en_article_sim ch_nodeattr ch_topicsim coauthor
Constructor for btergm objectscreateBtergm
Constructor for mtergm objectscreateMtergm
Constructor for tbergm objectscreateTbergm
Create all predicted tie probabilities using MPLEedgeprob
Extract the formula from a modelgetformula getformula,btergm-method getformula,ergm-method getformula,mtergm-method getformula,tbergm-method getformula-methods
Goodness-of-fit diagnostics for ERGMs, TERGMs, SAOMs, and logit modelscreateGOF gof gof,btergm-method gof,ergm-method gof,matrix-method gof,mtergm-method gof,network-method gof,sienaFit-method gof,tbergm-method gof-methods gofmethods
Plot and print methods for GOF outputgof-plot gofplot plot,boxplot-method plot,gof-method plot,pr-method plot,roc-method plot,rocpr-method plot,univariate-method plot-gof plot.boxplot plot.gof plot.pr plot.roc plot.rocpr plot.univariate plotgof print,boxplot-method print,gof-method print,pr-method print,roc-method print,rocpr-method print,univariate-method print.boxplot print.gof print.pr print.roc print.rocpr print.univariate
Statistics for goodness-of-fit assessment of network modelsb1deg b1star b2deg b2star comemb deg dsp edgebetweenness.modularity edgebetweenness.pr edgebetweenness.roc esp fastgreedy.modularity fastgreedy.pr fastgreedy.roc geodesic gof-statistics gofstatistics ideg istar kcycle kstar louvain.modularity louvain.pr louvain.roc maxmod.modularity maxmod.pr maxmod.roc nsp odeg ostar rocpr spinglass.modularity spinglass.pr spinglass.roc triad.directed triad.undirected walktrap.modularity walktrap.pr walktrap.roc
Handle missing data in matriceshandleMissings
Micro-Level Interpretation of (T)ERGMsinterpret interpret,btergm-method interpret,ergm-method interpret,mtergm-method interpret-methods
Longitudinal classroom friendship network and behavior (Andrea Knecht)advice alcohol delinquency demographics friendship knecht primary
Plot marginal effects for two-way interactions in (T)ERGMsmarginalplot
Estimate a TERGM by MCMC-MLEmtergm
An S4 Class to represent a fitted TERGM by MCMC-MLEcoef,mtergm-method mtergm-class nobs,mtergm-method show,mtergm-method summary,mtergm-method timesteps.mtergm
Simulate Networks from a 'btergm' Objectsimulate.btergm simulate.mtergm
Estimate a TERGM using Bayesian estimationtbergm
An S4 class to represent a fitted TERGM using Bayesian estimationnobs,tbergm-method show,tbergm-method summary,tbergm-method tbergm-class timesteps.tbergm
Temporal dependencies for TERGMsdelrecip memory tergm-terms timecov
Prepare data structure for TERGM estimation, including composition changetergmprepare