Learn R Programming

⚠️There's a newer version (1.4.5) of this package.Take me there.

amen (version 1.3)

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) ). Four different link functions accommodate different relational data structures, including binary/network data (bin), normal relational data (nrm), ordinal relational data (ord) and data from fixed-rank nomination schemes (frn). 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

348

Version

1.3

License

GPL-3

Maintainer

Peter Hoff

Last Published

May 25th, 2017

Functions in amen (1.3)

YX_nrm

normal relational data and covariates
YX_ord

ordinal relational data and covariates
IR90s

International relations in the 90s
Xbeta

Linear combinations of submatrices of an array
YX_bin

binary relational data and covariates
YX_bin_long

binary relational data and covariates
YX_rrl

row-specific ordinal relational data and covariates
addhealthc3

AddHealth community 3 data
YX_cbin

Censored binary nomination data and covariates
YX_frn

Fixed rank nomination data and covariates
addhealthc9

AddHealth community 9 data
addlines

Add lines
netplot

Network plotting
plot.ame

Plot results of an AME object
coldwar

Cold War data
comtrade

Comtrade data
el2sm

Edgelist to sociomatrix
gofstats

Goodness of fit statistics
design_array

Computes the design socioarray of covariate values
dutchcollege

Dutch college data
rUV_fc

Gibbs sampling of U and V
rUV_rep_fc

Gibbs sampling of U and V
ame

AME model fitting routine
ame_rep

AME model fitting routine for replicated relational data
rUV_sym_fc

Gibbs sampling of U and V
amen-package

Additive and Multiplicative Effects Models for Networks and Relational Data
circplot

Circular network plot
rrho_mh_rep

Metropolis update for dyadic correlation with independent replicate data
rbeta_ab_fc

Gibbs sampling of additive row and column effects and regression coefficient
rbeta_ab_rep_fc

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

Sampson's monastery data
sheep

Sheep dominance data
rZ_rrl_fc

Simulate Z given relative rank nomination data
raSab_bin_fc

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

Gibbs update for dyadic variance
sm2el

Sociomatrix to edgelist
summary.ame

Summary of an AME object
rZ_bin_fc

Simulate Z based on a probit model
rZ_nrm_fc

Simulate missing values in a normal AME model
rZ_ord_fc

Simulate Z given the partial ranks
simY_bin

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

Lazega's law firm data
mhalf

Symmetric square root of a matrix
raSab_cbin_fc

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

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

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

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

Simulate Z given its expectation and covariance
rZ_cbin_fc

Simulate Z given fixed rank nomination data
rZ_frn_fc

Simulate Z given fixed rank nomination data
rmvnorm

Simulation from a multivariate normal distribution
rrho_mh

Metropolis update for dyadic correlation
xnet

Network embedding
zscores

rank-based z-scores
rs2_rep_fc

Gibbs update for dyadic variance with independent replicate relational data
rwish

Simulation from a Wishart distribution
simY_nrm

Simulate a normal relational matrix
simY_ord

Simulate an ordinal relational matrix