Different result in lognormal parameter mu

16 views
Skip to first unread message

siemp...@gmail.com

unread,
Sep 26, 2018, 8:46:30 PM9/26/18
to powerlaw-general
In the powerlaw package,

from the blackout data, i get 

alpha=2.27294151618296
xmin=230.0
mu=0.11187397927010287.

But when I use the scipy module, I get the result as follows:

y=stats.lognorm.fit(x)
Out[16]: (1.3552951967493034, -1.8967595989237462, 98.50870652291903)
scale=y[2]
np.log(scale)
Out[17]: 4.590056548178043

Furthermore, in matlab and R there are same mu value like using scipy.
Plz tell me why those results are different. 
Thanks.

Jeff Alstott

unread,
Sep 26, 2018, 10:20:31 PM9/26/18
to powerlaw...@googlegroups.com
I think you need to read the documentation of scipy and powerlaw more closely. They do very different things. For example, "xmin" is not a concept for scipy. 

--
You received this message because you are subscribed to the Google Groups "powerlaw-general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to powerlaw-gener...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

siemp...@gmail.com

unread,
Sep 26, 2018, 11:29:08 PM9/26/18
to powerlaw-general
Thanks Jeff.
I have been understanding the concept of the algorithm. 
I would like to express my sincere appreciation for this package.

2018년 9월 27일 목요일 오전 11시 20분 31초 UTC+9, Jeff 님의 말:
Reply all
Reply to author
Forward
0 new messages