Learn R Programming

eigenmodel (version 1.11)

Semiparametric Factor and Regression Models for Symmetric Relational Data

Description

Estimation of the parameters in a model for symmetric relational data (e.g., the above-diagonal part of a square matrix), using a model-based eigenvalue decomposition and regression. Missing data is accommodated, and a posterior mean for missing data is calculated under the assumption that the data are missing at random. The marginal distribution of the relational data can be arbitrary, and is fit with an ordered probit specification. See Hoff (2007) for details on the model.

Copy Link

Version

Install

install.packages('eigenmodel')

Monthly Downloads

1,888

Version

1.11

License

GPL-2

Maintainer

Last Published

May 28th, 2019

Functions in eigenmodel (1.11)

rZ_fc

Sample from the full conditional distribution of the probit latent variables
eigenmodel_setup

Setup constants and starting values for an eigenmodel fit
rb_fc

Sample from the full conditional distribution of the regression coefficients
plot.eigenmodel_post

Plot the output of an eigenmodel fit
rUL_fc

Sample UL from its full conditional distribution
rmvnorm

Sample from the multivariate normal distribution
ULU

Computes a matrix from its eigenvalue decomposition
XB

Computes a sociomatrix of regression effects
eigenmodel_mcmc

Approximate the posterior distribution of parameters in an eigenmodel
YX_Friend

Sex, race and friendship data from a 12th grade classroom
Y_Gen

Relations between words in the 1st chapter of Genesis
Y_Pro

Butland's protein-protein interaction data
Y_impute

Impute missing values of a sociomatrix
addlines

Adds lines between nodes to an existing plot of nodes
eigenmodel-package

Semiparametric Factor and Regression Models for Symmetric Relational Data