Sbm | R Documentation |
An S4 class to represent a Stochastic Block Model. Such model can be used to cluster graph vertex, and model a square adjacency matrix X with the following generative model :
π \sim Dirichlet(α)
Z_i \sim \mathcal{M}(1,π)
θ_{kl} \sim Beta(a_0,b_0)
X_{ij}|Z_{ik}Z_{jl}=1 \sim \mathcal{B}(θ_{kl})
These classes mainly store the prior parameters value α,a_0,b_0 of this generative model.
The Sbm-class
must be used when fitting a simple Sbm whereas the SbmPrior-class
must be used when fitting a CombinedModels-class
.
SbmPrior(a0 = 1, b0 = 1, type = "guess") Sbm(alpha = 1, a0 = 1, b0 = 1, type = "guess")
a0 |
Beta prior parameter over links (default to 1) |
b0 |
Beta prior parameter over no-links (default to 1) |
type |
define the type of networks (either "directed", "undirected" or "guess", default to "guess"), for undirected graphs the adjacency matrix is supposed to be symmetric. |
alpha |
Dirichlet prior parameter over the cluster proportions (default to 1) |
a SbmPrior-class
object
a Sbm-class
object
Nowicki, Krzysztof and Tom A B Snijders (2001). “Estimation and prediction for stochastic block structures”. In:Journal of the American statistical association 96.455, pp. 1077–1087
greed
SbmFit-class
,SbmPath-class
Other DlvmModels:
CombinedModels
,
DcLbm
,
DcSbm
,
DiagGmm
,
DlvmPrior-class
,
Gmm
,
Lca
,
MoM
,
MoR
,
MultSbm
,
greed()
Sbm() SbmPrior() SbmPrior(type = "undirected") Sbm() Sbm(type = "undirected")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.