DCSBM.estimate | R Documentation |
Estimates DCSBM model by given community labels
DCSBM.estimate(A, g)
A |
adjacency matrix |
g |
vector of community labels for the nodes |
Estimation is based on maximum likelhood.
A list object of
Phat |
estimated probability matrix |
B |
the B matrix with block connection probability, up to a scaling constant |
Psi |
vector of of degree parameter theta, up to a scaling constant |
Tianxi Li, Elizaveta Levina, Ji Zhu
Maintainer: Tianxi Li tianxili@virginia.edu
B. Karrer and M. E. Newman. Stochastic blockmodels and community structure in networks. Physical Review E, 83(1):016107, 2011.
SBM.estimate
dt <- BlockModel.Gen(30,300,K=3,beta=0.2,rho=0.9,simple=FALSE,power=TRUE)
A <- dt$A
ssc <- reg.SSP(A,K=3,lap=TRUE)
est <- DCSBM.estimate(A,ssc$cluster)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.