Learn R Programming

NetMix (version 0.2.0.3)

summary.mmsbm: Summarize 'mmsbm' object

Description

The function summarizes the output of a dynMMSBM model object

Usage

# S3 method for mmsbm
summary(object, ...)

Value

List with named components:

N

Total number of dyad-time period observations.

Number of Clusters

Number of latent groups included in the dynMMSBM model.

Percent of Observations in Each Cluster

Average membership in each latent group, across all node-time periods.

Edge Formation Probabilities

n.groups by n.groups matrix of estimated edge formation probabilities between latent groups.

Dyadic Coefficients

Vector of estimated coefficient values for dyadic covariates.

Monadic Coefficients

Array of estimated coefficient values for monadic covariates. Has n.groups columns, and n.hmmstates slices.

Markov State Probabilities

Average HMM state probabilities across all time periods.

Arguments

object

An object of class mmsbm, a result of a call to mmsbm.

...

Currently ignored

Author

Santiago Olivella (olivella@unc.edu), Adeline Lo (aylo@wisc.edu), Tyler Pratt (tyler.pratt@yale.edu), Kosuke Imai (imai@harvard.edu)

Examples

Run this code
library(NetMix)
## Load datasets
data("lazega_dyadic")
data("lazega_monadic")
## Estimate model with 2 groups
lazega_mmsbm <- mmsbm(SocializeWith ~ Coworkers,
                      ~  School + Practice + Status,
                      senderID = "Lawyer1",
                      receiverID = "Lawyer2",
                      nodeID = "Lawyer",
                      data.dyad = lazega_dyadic,
                      data.monad = lazega_monadic,
                      n.blocks = 2,
                      mmsbm.control = list(seed = 123,
                                           conv_tol = 1e-2,
                                           hessian = TRUE))

## Summarize estimated model
summary(lazega_mmsbm)

Run the code above in your browser using DataLab