Learn R Programming

ergm (version 3.6.1)

summary.ergm: Summarizing ERGM Model Fits

Description

summary method for class "ergm".

Usage

"summary"(object, ..., digits = max(3, getOption("digits") - 3), correlation = FALSE, covariance = FALSE, total.variation=TRUE)

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 based on this source of variation.
...
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