Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Checking if a graph is random using the Erdős–Rényi model?

Given some graph, I would like to determine how likely it is that it was generated randomly. I was told that a comparison to the Erdős–Rényi model was a good way to get this information, but I can't quite figure out how to do that.

Any advice?

like image 777
user108088 Avatar asked Jun 29 '09 20:06

user108088


People also ask

How do you know if a graph is random?

The simplest way would probably be to compare the expected number of links with what you observed in the given graph. A slightly smarter method would be to examine the degree distributions.

What is random graph model?

A random graph model is given by a sequence of graph valued random variables, one for each possible value of n : M=(Gn;n∈N) M = ( G n ; n ∈ N ) ” [53]. “In general, a random graph is a model network in which a specific set of parameters take fixed values, but the network is random in other respects” [100].

What is random graph models of social networks?

A random graph is simple to define. One takes some number N of nodes or “vertices” and places connections or “edges” between them, such that each pair of vertices i, j has a connecting edge with independent probability p. We show an example of such a random graph in Fig.

What is Erdos Renyi random network?

The Erdös-Rényi random network1 (ER random network) is a nice, tractable network model that reduces the large dimension of random networks to a small number of parameters. In the traditional ER random network model, the probability of any edge is p.


2 Answers

The simplest way would probably be to compare the expected number of links with what you observed in the given graph. A slightly smarter method would be to examine the degree distributions. Erdős–Rényi graphs will have a binomial distributions, while real world networks are typically power law.

It might also be easier to test if you had an idea as to what other kinds of models were being used to generate the graph.

like image 147
job Avatar answered Oct 06 '22 04:10

job


You can have a look at the ERGM package for R (www.r-project.org) at www.statnet.org. Although you might not be able to say with 100% certainty that your observed network is produced by a random process, you will be able to assess the likelihood that it was produced by random or non random partner selection processes. ERGM has a function called gof which stands for goodness-of-fit and will compare your observed network with simulated random networks and looks at network statistics such as: geodesic distance distribution, edgewise shared partner distribution, degree distribution and the triad census distribution. This will allow you to make an informed decision whether you consider your network to be random or not.

like image 37
DrDee Avatar answered Oct 06 '22 02:10

DrDee