Tell me more ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I'm missing a bit of inbetween-math, and having some trouble understanding this, but:

I want to generate a set of data that follows a power law. Let's say I have 10,000,000 people who like a power-law-distribution of 1,000,000 items, sorted into groups by popularity. Could someone give me an example of/explain to me:

  • How many people like the 25 most-popular items? How many like the next 50 most-popular items? How many like the next 100? Etc. In simplest-terms/math possible, how do I calculate the number of liked-items for person-N?

  • Could you break this down for me a bit? Is there a more specific description of what kind of power law this graph follows?

I apologize for my lack of background-knowledge here--I'm coming from a non-mathematical background. Thanks!

share|improve this question

1 Answer

Power law is a ranked distribution. Let us assume that we have the twitter personalities on the x-axis and the number of followers they have on the y-axis. The distribution is plotted in such a way that the personality with the highest number of followers is introduced on the first position of the x-axis, the personality with the second highest number of followers is introduced on the second position of the x-axis, so on and so forth, and the last personality on the x-axis has the least number of followers.

The plot can be modeled as y = C(x^-a) Apply log on both sides : log(y) = log(C) - a.log(x) -a is the slope the line and C is some control parameter. substitute the ranked numerical user id (for twitter personality) at 'x', and set the C and -a values. This results in mapped 'y' (number of twitter followers) value.

Ref: http://www.hpl.hp.com/research/idl/papers/ranking/ranking.html#ap1

share|improve this answer
Thanks! First paragraph makes complete sense, but what's "a" and what's "C"? I guess I learn more by example. Is there any way you could take a guess at C and a for this graph? – Will Jan 23 at 8:46
@Will: a good was is to fix 'C' and 'a' is to visualize the plot and see if that makes a good fit. This is just to begin with. However, you can look into model fitting literature to choose one of the good automatic methods to fit the curve. – Vikram Jan 25 at 16:31
Not math-minded enough I guess. I'm coming from a programming background with little math. – Will Feb 4 at 1:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.