Learn R Programming

amen (version 1.4.5)

Additive and Multiplicative Effects Models for Networks and Relational Data

Description

Analysis of dyadic network and relational data using additive and multiplicative effects (AME) models. The basic model includes regression terms, the covariance structure of the social relations model (Warner, Kenny and Stoto (1979) , Wong (1982) ), and multiplicative factor models (Hoff(2009) ). Several different link functions accommodate different relational data structures, including binary/network data, normal relational data, zero-inflated positive outcomes using a tobit model, ordinal relational data and data from fixed-rank nomination schemes. Several of these link functions are discussed in Hoff, Fosdick, Volfovsky and Stovel (2013) . Development of this software was supported in part by NIH grant R01HD067509.

Copy Link

Version

Install

install.packages('amen')

Monthly Downloads

541

Version

1.4.5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

February 20th, 2024

Functions in amen (1.4.5)

design_array

Computes the design socioarray of covariate values
dutchcollege

Dutch college data
addhealthc9

AddHealth community 9 data
addlines

Add lines
coldwar

Cold War data
precomputeX

Precomputation of design matrix quantities.
rSab_fc

Gibbs update for additive effects covariance
comtrade

Comtrade data
netplot

Network plotting
plot.ame

Plot results of an AME object
rZ_frn_fc

Simulate Z given fixed rank nomination data
ame

AME model fitting routine
llsrmRho

SRM log likelihood evaluated on a grid of rho-values
rZ_bin_fc

Simulate Z based on a probit model
rZ_tob_fc

Simulate Z based on a tobit model
amen-package

Additive and Multiplicative Effects Models for Networks and Relational Data
rZ_cbin_fc

Simulate Z given fixed rank nomination data
rrho_mh

Metropolis update for dyadic correlation
rrho_mh_rep

Metropolis update for dyadic correlation with independent replicate data
raSab_bin_fc

Simulate a and Sab from full conditional distributions under bin likelihood
simY_frn

Simulate an relational matrix based on a fixed rank nomination scheme
simY_nrm

Simulate a normal relational matrix
circplot

Circular network plot
sheep

Sheep dominance data
sm2el

Sociomatrix to edgelist
summary.ame

Summary of an AME object
rZ_nrm_fc

Simulate missing values in a normal AME model
simY_ord

Simulate an ordinal relational matrix
ame_rep

AME model fitting routine for replicated relational data
ldZgbme

log density for GBME models
lazegalaw

Lazega's law firm data
simY_rrl

Simulate an relational matrix based on a relative rank nomination scheme
xnet

Network embedding
simY_bin

Simulate a network, i.e. a binary relational matrix
simY_tob

Simulate a tobit relational matrix
mhalf

Symmetric square root of a matrix
el2sm

Edgelist to sociomatrix
rUV_rep_fc

Gibbs sampling of U and V
rUV_sym_fc

Gibbs sampling of U and V
simZ

Simulate Z given its expectation and covariance
rZ_ord_fc

Simulate Z given the partial ranks
rZ_rrl_fc

Simulate Z given relative rank nomination data
rmvnorm

Simulation from a multivariate normal distribution
rbeta_ab_fc

Conditional simulation of additive effects and regression coefficients
rs2_fc

Gibbs update for dyadic variance
rbeta_ab_rep_fc

Gibbs sampling of additive row and column effects and regression coefficient with independent replicate relational data
gofstats

Goodness of fit statistics
rrho_fc

Griddy Gibbs update for dyadic correlation
rs2_rep_fc

Gibbs update for dyadic variance with independent replicate relational data
zscores

rank-based z-scores
rSuv_fc

Gibbs update for multiplicative effects covariance
raSab_cbin_fc

Simulate a and Sab from full conditional distributions under the cbin likelihood
rUV_fc

Gibbs sampling of U and V
rwish

Simulation from a Wishart distribution
raSab_frn_fc

Simulate a and Sab from full conditional distributions under frn likelihood
sampsonmonks

Sampson's monastery data
IR90s

International relations in the 90s
YX_cbin

Censored binary nomination data and covariates
Xbeta

Linear combinations of submatrices of an array
YX_bin

binary relational data and covariates
addhealthc3

AddHealth community 3 data
YX_ord

ordinal relational data and covariates
YX_frn

Fixed rank nomination data and covariates
YX_bin_long

binary relational data and covariates
YX_rrl

row-specific ordinal relational data and covariates
YX_nrm

normal relational data and covariates