/network_models

Several examples of network analysis models implemented in Stan

Primary LanguageRMIT LicenseMIT

Network Models in Stan

The following models are implemented in this repository:

  • AME (additive and multiplicative effects model)
  • LDM (latent distance model)
  • SBM (stochastic block model)
  • SRM (social relations model)

Each directory contains an interactive script, sim.R, that runs the respective model on a simulated dataset.

Library Dependencies

The R packages used in this repository can be found with grep.

$ grep --include '*.R' -hr '^library' . | sed -r 's/^library\(([^,]+).*\)/\1/' | sort | uniq