igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Something strange about the Power-law distribution of Barabasi.


From: Ravi Varadhan
Subject: [igraph] Something strange about the Power-law distribution of Barabasi.game
Date: Fri, 30 Apr 2010 19:00:23 -0400

Hi All,

 

We have been trying to understand the degree distribution of the network generated by the Barabasi game, using the barabasi.game(), function in “igraph”.  We are noticing some strange behavior of the degree distribution near the right tail (i.e. large values of degree).  In this region, the degree distribution appears to significantly deviate from a power law distribution.  Is there something wrong with the code for Barabasi game or is this the expected behavior? 

 

Here is the code that demonstrates this problem:

 

g <- barabasi.game(100000)

 

d <- degree(g, mode="in")

 

ans <- table(d)

 

# the folowing plot doesn't look nice in the right-tail region

plot(as.numeric(names(ans))+ 1, table(d), log="xy")

 

 

Thanks for any insights.

 

Best regards,

Ravi.

 

----------------------------------------------------------------------------------------------------------

Ravi Varadhan, Ph.D.

Assistant Professor,

Center on Aging and Health,

Johns Hopkins University School of Medicine

(410)502-2619

address@hidden

http://www.jhsph.edu/agingandhealth/People/Faculty_personal_pages/Varadhan.html

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]