[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] why different result for the same data set
From: |
Weijia You |
Subject: |
[igraph] why different result for the same data set |
Date: |
Fri, 23 Jan 2009 18:28:52 +0800 |
Dear colleagues,
I'm doing the work on getting alpha.
I tried the power.law.fit in igraph first, and get the alpha = 1.85.
------------------the codes are as follows-----------------------------------
>library(igraph)
>g2002911d <- read.graph("o/2002/2002-9-11-dup_r",format="ncol",directed=TRUE)
>g2002dall = degree(g2002911d, mode="all")
>power.law.fit(g2002dall+1)
Call:
mle(minuslogl = mlogl, start = list(alpha = start))
Coefficients:
alpha
1.848955
$xmin
[1] 19
$alpha
[1] 2.19
$D
[1] 0.02631497.
------------------the codes are as follows-----------------------------------
plfit(g2002dall)
I wonder if anyone happen to touch this area before and give me some hints on it.
Thank you very much in anticipation!
Weijia
- [igraph] why different result for the same data set,
Weijia You <=