Learn R Programming

ergm (version 3.1.3)

summary.ergm: Summarizing ERGM Model Fits

Description

summary method for class "ergm".

Usage

## S3 method for class 'ergm':
summary(object, \dots,
               digits = max(3, getOption("digits") - 3),
               correlation = FALSE, covariance = FALSE, 
               total.variation=TRUE,
               eps = 1e-04)

Arguments

object
an object of class "ergm", usually, a result of a call to ergm.
digits
Significant digits for coefficients
correlation
logical; if TRUE, the correlation matrix of the estimated parameters is returned and printed.
covariance
logical; if TRUE, the covariance matrix of the estimated parameters is returned and printed.
total.variation
logical; if TRUE, the standard errors reported in the Std. Error column are based on the sum of the likelihood variation and the MCMC variation. If FALSE only the likelihood varuation is used. The $p$-values are base
eps
number; indicates the smallest p-value. See printCoefmat.
...
Arguments to logLik.ergm

Value

  • The function summary.ergm computes and returns a list of summary statistics of the fitted ergm model given in object.

Details

summary.ergm tries to be smart about formatting the coefficients, standard errors, etc.

See Also

network, ergm, print.ergm. The model fitting function ergm, summary.

Function coef will extract the matrix of coefficients with standard errors, t-statistics and p-values.

Examples

Run this code
data(florentine)

 x <- ergm(flomarriage ~ density)
 summary(x)

Run the code above in your browser using DataLab