amen1.4.5 package

Additive and Multiplicative Effects Models for Networks and Relational Data

addlines

Add lines

ame

AME model fitting routine

ame_rep

AME model fitting routine for replicated relational data

amen-package

Additive and Multiplicative Effects Models for Networks and Relational...

circplot

Circular network plot

design_array

Computes the design socioarray of covariate values

el2sm

Edgelist to sociomatrix

gofstats

Goodness of fit statistics

ldZgbme

log density for GBME models

llsrmRho

SRM log likelihood evaluated on a grid of rho-values

mhalf

Symmetric square root of a matrix

netplot

Network plotting

plot.ame

Plot results of an AME object

precomputeX

Precomputation of design matrix quantities.

raSab_bin_fc

Simulate a and Sab from full conditional distributions under bin likel...

raSab_cbin_fc

Simulate a and Sab from full conditional distributions under the cbin ...

raSab_frn_fc

Simulate a and Sab from full conditional distributions under frn likel...

rbeta_ab_fc

Conditional simulation of additive effects and regression coefficients

rbeta_ab_rep_fc

Gibbs sampling of additive row and column effects and regression coeff...

rmvnorm

Simulation from a multivariate normal distribution

rrho_fc

Griddy Gibbs update for dyadic correlation

rrho_mh

Metropolis update for dyadic correlation

rrho_mh_rep

Metropolis update for dyadic correlation with independent replicate da...

rs2_fc

Gibbs update for dyadic variance

rs2_rep_fc

Gibbs update for dyadic variance with independent replicate relational...

rSab_fc

Gibbs update for additive effects covariance

rSuv_fc

Gibbs update for multiplicative effects covariance

rUV_fc

Gibbs sampling of U and V

rUV_rep_fc

Gibbs sampling of U and V

rUV_sym_fc

Gibbs sampling of U and V

rwish

Simulation from a Wishart distribution

rZ_bin_fc

Simulate Z based on a probit model

rZ_cbin_fc

Simulate Z given fixed rank nomination data

rZ_frn_fc

Simulate Z given fixed rank nomination data

rZ_nrm_fc

Simulate missing values in a normal AME model

rZ_ord_fc

Simulate Z given the partial ranks

rZ_rrl_fc

Simulate Z given relative rank nomination data

rZ_tob_fc

Simulate Z based on a tobit model

simY_bin

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

simY_frn

Simulate an relational matrix based on a fixed rank nomination scheme

simY_nrm

Simulate a normal relational matrix

simY_ord

Simulate an ordinal relational matrix

simY_rrl

Simulate an relational matrix based on a relative rank nomination sche...

simY_tob

Simulate a tobit relational matrix

simZ

Simulate Z given its expectation and covariance

sm2el

Sociomatrix to edgelist

summary.ame

Summary of an AME object

Xbeta

Linear combinations of submatrices of an array

xnet

Network embedding

zscores

rank-based z-scores

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) <DOI:10.1037/0022-3514.37.10.1742>, Wong (1982) <DOI:10.2307/2287296>), and multiplicative factor models (Hoff(2009) <DOI:10.1007/s10588-008-9040-4>). 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) <DOI:10.1017/nws.2013.17>. Development of this software was supported in part by NIH grant R01HD067509.

  • Maintainer: Peter Hoff
  • License: GPL-3
  • Last published: 2024-02-20