summary.mmsbm {NetMix} | R Documentation |
Summarize 'mmsbm' object
Description
The function summarizes the output of a dynMMSBM model object
Usage
## S3 method for class 'mmsbm'
summary(object, ...)
Arguments
object |
An object of class |
... |
Currently ignored |
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
byn.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, andn.hmmstates
slices.- Markov State Probabilities
Average HMM state probabilities across all time periods.
Author(s)
Santiago Olivella (olivella@unc.edu), Adeline Lo (aylo@wisc.edu), Tyler Pratt (tyler.pratt@yale.edu), Kosuke Imai (imai@harvard.edu)
Examples
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)