Stochastic Block Model — Communities

Nodes belong to latent blocks; edges form with probability pin within blocks and pout between them. The Kesten-Stigum threshold separates detectable from undetectable community structure.

Controls

Edges:
KS detectable:
Modularity Q:
Colors = true blocks.
KS threshold:
(p_in-p_out)² > (K-1)·p̄
where p̄ = mean edge prob.