Skip to content
We use only essential cookies to keep you signed in and remember your preferences. See our Cookie Policy.
TestStop
MocksPracticeResourcesIndiaBlogPricing
Sign in
Resources › Derivations › Negative binomial, lognormal, Pareto
Derivation · Statistics

The negative binomial, lognormal and Pareto distributions, derived

The standard list of distributions stops short of three that economists meet constantly. The negative binomial counts how long you wait for several successes. The lognormal is the shape of incomes that grow by percentages. The Pareto is the shape of the top of the income scale, and it is where the 80/20 rule comes from. Each is derived here from something you already know.

SymbolsReading the maths on this pageΣ, x̄, E[ ] and friends: how to say them and what they tell you to do.

Tap a symbol.

In this guide
Derivation · about 45 minutes
  1. Three questions the standard list does not answer
  2. The negative binomial, derived
  3. The lognormal, derived
  4. The Pareto, derived
  5. Which one fits income?
  6. The mistakes examiners are fishing for
  7. Worked examples
  8. The page on one screen
  9. Check yourself
  10. Quick answers
01
The idea

Three questions the standard list does not answer

The binomial counts successes in a fixed number of trials. Flip the question, and ask how many trials it takes to reach a fixed number of successes: that is the negative binomial. The normal describes sums of many small influences. When the influences multiply instead, as percentage raises do, the logarithm is normal and the variable is lognormal. And when you look only at the very top of the income scale, a different law takes over: a power law, the Pareto distribution.

Pause and predict
The mean household income of a district is ₹30,000 and the median is ₹25,000. Which of these is the most natural shape for the income distribution?
02
Derivation

The negative binomial, derived

Derive it

The negative binomial: waiting for the r-th success

We want to show
The number of trials X needed to get r successes, each trial succeeding with chance p, has P(X=x)=(r−1x−1​)prqx−r for x = r, r + 1, …, with mean r ÷ p and variance rq ÷ p², where q = 1 − p.
  1. 1
    What has to happen.

    X = x means the r-th success arrives on trial x exactly. So the last trial is a success, and the first x − 1 trials contain exactly r − 1 successes, in any order. A worker applies for jobs and each application succeeds with chance 0.25. How many applications until the third offer? Take x = 5: the fifth application is an offer and the first four contain two offers.

  2. 2
    Count the orders and multiply.

    The r − 1 earlier successes can fall among the first x − 1 trials in C(x − 1, r − 1) ways. Every such sequence has r successes and x − r failures, so each has probability prqx−r. The sequences are exclusive, so the probabilities add:

    P(X=x)=(r−1x−1​)prqx−r

    For r = 3, p = 0.25 and x = 5: C(4, 2) × 0.25³ × 0.75² = 6 × 0.015625 × 0.5625 = 0.0527. The probabilities over x = 3, 4, 5, … add to 1. With r = 1 this is the geometric distribution, the wait for the first success.

  3. 3
    Mean and variance from r geometric waits.

    The wait for the r-th success is the wait for the first, plus the further wait for the second, and so on: r independent geometric waits, each with mean 1 ÷ p and variance q ÷ p². Means add and, for independent waits, variances add:

    E(X)=pr​,Var(X)=p2rq​

    For r = 3 and p = 0.25 that is 12 applications on average, with variance 36. The same product idea gives the moment generating function, the r-th power of the geometric one: [1−qetpet​]r, as in the MGF derivation.

  4. 4
    The link to the binomial, and a warning about conventions.

    The r-th success has arrived by trial x exactly when the first x trials contain at least r successes, so P(X ≤ x) = P(Binomial(x, p) ≥ r). The lab shows the two numbers agreeing. Some books count instead the failures before the r-th success, Y = X − r, with mean rq ÷ p (here 9) and the same variance. Check which version a question uses before substituting.

Step 1 of 4
So
P(X = x) = C(x − 1, r − 1) prqx−r, mean r ÷ p, variance rq ÷ p², the sum of r independent geometric waits. P(X ≤ x) = P(Binomial(x, p) ≥ r).
The negative binomial distribution
P(X=x)=(r−1x−1​)prqx−r,  x=r,r+1,…;E(X)=pr​,Var(X)=p2rq​
X is the number of trials to the r-th success. q = 1 − p. Some books count failures instead.
03
Derivation

The lognormal, derived

Derive it

The lognormal: when the logarithm of income is normal

We want to show
If X is normal with mean μ and variance σ², then Y = eX has density yσ2π​1​e−(lny−μ)2/(2σ2), mean eμ+σ²/2, median eμ and mode eμ−σ², so mode < median < mean.
  1. 1
    Why take logs.

    Incomes change by percentages: a raise of 5% multiplies income by 1.05. A product of many such factors becomes a sum after taking logs, and a sum of many small independent pieces is close to normal by the central limit theorem. So when growth compounds, ln Y is normal and Y is lognormal. The sixty Ashanagar incomes behave this way: the mean of ln (income in thousands) is 3.253 and its standard deviation is 0.471.

  2. 2
    The density, by changing variables.

    Y ≤ y exactly when X ≤ ln y, so the distribution function is P(Y ≤ y) = Φ((ln y − μ) ÷ σ). The density is its slope. The slope of ln y is 1 ÷ y, which brings in the extra factor:

    f(y)=y1​⋅σ1​φ(σlny−μ​)=yσ2π​1​e−(lny−μ)2/(2σ2)

    The curve starts at zero, rises to a peak and has a long tail to the right, since y can be any positive number.

  3. 3
    Moments from the normal MGF.

    E(Yk) = E(ekX), which is the moment generating function of the normal at t = k, namely ekμ + k²σ²/2 (MGF derivation). Put k = 1 and k = 2:

    E(Y)=eμ+σ2/2,Var(Y)=E(Y2)−E(Y)2=(eσ2−1)e2μ+σ2

    For the Ashanagar fit the mean is ₹28.9 thousand, close to the households’ actual 28.8.

  4. 4
    Median, mode and why the mean is the largest.

    The median: P(Y ≤ eμ) = P(X ≤ μ) = ½, so the median is eμ. The mode: set the slope of ln f(y) = −ln y − (ln y − μ)² ÷ (2σ²) to zero, which gives −1 ÷ y − (ln y − μ) ÷ (σ²y) = 0, so ln y = μ − σ² and the mode is eμ−σ². Since σ² > 0, eμ−σ² < eμ < eμ+σ²/2. For Ashanagar: mode 20.7, median 25.9, mean 28.9. A few high incomes pull the mean up, and they do so more as σ grows: the mean is eσ²/2 times the median.

  5. 5
    Inequality in one number.

    The Lorenz curve of a lognormal is L(p) = Φ(Φ⁻¹(p) − σ), and integrating it gives a Gini coefficient that depends on σ alone, G = 2Φ(σ ÷ √2) − 1. The scale μ does not matter: doubling every income leaves inequality unchanged. For σ = 0.47 it gives 0.261, against 0.256 computed straight from the sixty incomes. The top tenth of households hold 20.9% by the model. We state the integral and check it against simulated data. The Gini guide builds the Lorenz curve from scratch.

Step 1 of 5
So
Y = eX with X normal: mean eμ+σ²/2, median eμ, mode eμ−σ², variance (eσ² − 1)e2μ+σ², Gini 2Φ(σ ÷ √2) − 1. Mode < median < mean.
The lognormal distribution
mode=eμ−σ2<median=eμ<mean=eμ+σ2/2,G=2Φ(2​σ​)−1
ln Y is normal with mean μ and variance σ². μ sets the scale and σ the inequality.
04
Derivation

The Pareto, derived

Derive it

The Pareto: a power-law tail, the 80/20 rule and the Gini coefficient

We want to show
If P(X > x) = (xm ÷ x)α for x ≥ xm, the mean is αxm ÷ (α − 1) for α > 1, the top fraction q of earners hold q1−1/α of the total, and the Gini coefficient is 1 ÷ (2α − 1).
  1. 1
    A power law.

    Pareto noticed that the number of people with income above x falls by a constant factor each time x is doubled, whatever x is. With P(X > x) = (xm ÷ x)α, doubling x multiplies the survival chance by 2−α. That is scale-freedom: nothing in the shape depends on the unit of rupees. xm is the smallest income and α, the tail index, says how fast the tail falls. On log scales P(X > x) is a straight line of slope −α. The density is the negative slope of the survival function:

    f(x)=xα+1αxmα​​,x≥xm​
  2. 2
    The mean, and when it fails to exist.

    Integrate x times the density:

    E(X)=∫xm​∞​x⋅xα+1αxmα​​dx=αxmα​∫xm​∞​x−αdx=α−1αxm​​(α>1)

    For α ≤ 1 the integral of x−α diverges, so there is no mean at all. The same calculation for E(X²) needs α > 2, giving variance αxm² ÷ ((α − 1)²(α − 2)). With xm = 10 and α = 2 the mean is 20, the median is 10 × 21/2 = 14.1, and the variance is infinite: averages of such incomes converge to the mean very slowly, if at all.

  3. 3
    The share of the top.

    The fraction of people above x is q = (xm ÷ x)α. Their total income is the integral of t f(t) from x, which is αxmαx1−α ÷ (α − 1). Divide by the mean αxm ÷ (α − 1):

    share of those above x=(xxm​​)α−1=q(α−1)/α=q1−1/α

    The 80/20 rule, the top 20% holding 80%, asks 0.21−1/α = 0.8, which gives α = ln 5 ÷ ln 4 = 1.161. With α = 2 the top 10% hold 0.10.5 = 31.6%.

  4. 4
    The Gini coefficient.

    The shares above give the Lorenz curve directly. The poorest fraction p = 1 − q holds 1 − q1−1/α, so L(p) = 1 − (1 − p)1−1/α. The Gini coefficient is 1 − 2∫L(p)dp:

    ∫01​L(p)dp=1−2−1/α1​=2α−1α−1​ ⟹ G=1−2α−12(α−1)​=2α−11​

    A thinner tail (larger α) means less inequality: α = 2 gives G = 0.333, α = 3 gives 0.2. The lab draws the density and the straight log-log line and reads off these shares.

Step 1 of 4
So
P(X > x) = (xm ÷ x)α. Mean αxm ÷ (α − 1) for α > 1, variance finite only for α > 2, top-q share q1−1/α, Gini 1 ÷ (2α − 1). The 80/20 rule corresponds to α ≈ 1.16.
The Pareto distribution
P(X>x)=(xxm​​)α,E(X)=α−1αxm​​,G=2α−11​
x_m is the smallest value and α the tail index. A smaller α is a fatter tail and more inequality.
05
Putting it together

Which one fits income?

Neither fits every part of an income distribution, and that is itself a useful fact. The lognormal describes the bulk, the bottom and middle: a hump with a right tail. The Pareto describes only the extreme upper tail, where a straight line on log scales takes over. Real distributions are often lognormal in the body and Pareto in the top few percent.

FeatureLognormalPareto
Built fromMultiplying growth: the log is normalA power-law tail: the log of the survival chance is linear in the log of income
ShapeA hump that starts at zero, with a right tailHighest at the minimum xm, then falling as a power
MomentsAll existThe mean needs α > 1, the variance α > 2
InequalityGini 2Φ(σ ÷ √2) − 1Gini 1 ÷ (2α − 1)
AshanagarFit μ = 3.25, σ = 0.47: Gini 0.261, observed 0.256The top 6 of 60 households hold 19.4%. A Pareto with α = 2 would give the top tenth 31.6%
What to remember

In the lognormal, mode < median < mean, and inequality depends on σ alone. In the Pareto, the share held by the top q is q1−1/α, and the tail is so fat that the mean needs α > 1 and the variance needs α > 2. In the negative binomial, the wait for the r-th success is a sum of r geometric waits.

06
Exam focus

The mistakes examiners are fishing for

Watch out for

The mistakes examiners are fishing for

  • Mixing up the two negative binomial conventions. Trials to the r-th success has mean r ÷ p. Failures before it has mean r(1 − p) ÷ p. Read which one the question defines.
  • Using σ as the standard deviation of income. In the lognormal, μ and σ belong to ln Y, not to Y. The standard deviation of Y is a different, larger number.
  • Calling eμ the mean. It is the median. The mean is eμ+σ²/2.
  • Expecting a Pareto mean for every α. Below α = 1 there is no mean, and below α = 2 there is no variance.
  • Reading the Gini formulas as interchangeable. 2Φ(σ ÷ √2) − 1 belongs to the lognormal and 1 ÷ (2α − 1) to the Pareto.
07
Worked examples

Worked examples

A negative binomial
Each job application succeeds with probability 0.25. Find the chance that the 3rd offer comes on the 5th application, and the average number of applications until the 3rd offer.
  1. 1
    The 5th is an offer, and the first 4 hold exactly two.
    C(4, 2) × 0.25³ × 0.75² = 6 × 0.015625 × 0.5625 = 0.0527.
  2. 2
    Mean.
    r ÷ p = 3 ÷ 0.25 = 12 applications.
Answer
About 5.3%, and 12 applications on average. The mean sits far above the minimum of 3, because the wait has a long right tail.
A lognormal
Household incomes are lognormal with ln (income in ₹ thousand) normal with mean 3.25 and standard deviation 0.47. Find the median, the mean and the Gini coefficient.
  1. 1
    Median.
    e^3.25 = 25.8.
  2. 2
    Mean.
    e^(3.25 + 0.47² ÷ 2) = e^3.3605 = 28.8.
  3. 3
    Gini.
    2Φ(0.47 ÷ √2) − 1 = 2Φ(0.3323) − 1 = 0.26.
Answer
Median ₹25.8 thousand, mean ₹28.8 thousand, Gini 0.26. These are close to Ashanagar’s own figures, as they should be: the district’s incomes were drawn from a lognormal.
A Pareto
Incomes in a rich tail are Pareto with α = 1.5 and xm = 100 (₹ thousand). Find the mean, whether the variance exists, and the share of the top 1%.
  1. 1
    Mean.
    αxm ÷ (α − 1) = 1.5 × 100 ÷ 0.5 = 300.
  2. 2
    Variance.
    It needs α > 2, and 1.5 is below 2, so the variance is infinite.
  3. 3
    Top 1%.
    0.01^(1 − 1/1.5) = 0.01^(1/3) = 0.215.
Answer
Mean 300, infinite variance, and the top 1% hold 21.5% of the total, the signature of a fat tail.
08
Revision

The page on one screen

The lesson on one screen
Negative binomial
Trials to the r-th success: P(X = x) = C(x − 1, r − 1) prqx−r. Mean r ÷ p, variance rq ÷ p². A sum of r geometric waits. P(X ≤ x) = P(Binomial(x, p) ≥ r).
Lognormal
ln Y ~ N(μ, σ²). Mode eμ−σ² < median eμ < mean eμ+σ²/2. Variance (eσ² − 1)e2μ+σ². Gini 2Φ(σ ÷ √2) − 1.
Why lognormal
Percentage changes multiply, logs add, and the central limit theorem makes the sum normal.
Pareto
P(X > x) = (xm ÷ x)α. Mean αxm ÷ (α − 1) for α > 1. Variance for α > 2.
Pareto inequality
The top fraction q holds q1−1/α. Gini 1 ÷ (2α − 1). The 80/20 rule is α ≈ 1.16.
Log-log test
A straight line of slope −α on log-log axes marks a Pareto tail.
09
Practice

Check yourself

0 of 17 correct so far

Numbers

Give answers to four decimal places where they are not whole numbers.

A negative binomial probability
Trials succeed with probability 0.5. What is the chance that the 2nd success arrives on exactly the 4th trial?
A mean wait
Each trial succeeds with probability 0.2. How many trials, on average, until the 4th success?
Failures instead of trials
With the same trials (p = 0.2, r = 4), what is the average number of failures before the 4th success?
The binomial link
X counts the trials to the 2nd success with p = 0.5. Find P(X ≤ 3) by treating it as the chance of at least 2 successes in 3 trials.
A lognormal median and mean
ln Y is normal with mean 3 and standard deviation 0.8. Find the mean of Y.
Finding σ from the mean and median
A lognormal income has mean 30 and median 25. Find σ. (Use mean ÷ median = e^(σ²/2).)
A tail chance
ln Y is normal with mean 2 and variance 0.25. Find P(Y > e^2.5).
The lognormal Gini
Find the Gini coefficient of a lognormal with σ = 1, using G = 2Φ(σ ÷ √2) − 1 and Φ(0.7071) = 0.7602.
A Pareto mean
Incomes are Pareto with xm = 10 and α = 3. What is the mean?
A Pareto tail chance
With xm = 10 and α = 2, what is the chance that an income exceeds 40?
The share of the top 20%
With α = 2, what share of total income is held by the top 20%?
A Pareto Gini
Find the Gini coefficient of a Pareto distribution with α = 2.5.

Concepts

1For a lognormal distribution, which ordering is correct?
2A Pareto distribution has α = 1.5. Which statement is true?
3On a log-log plot of the Pareto survival function P(X > x), the points lie
4The negative binomial with r = 1 is the
5Doubling every income in a lognormal population, the Gini coefficient

No past-paper question in our bank asks about these three distributions directly, so this page has none. The nearest are the matching question on negative binomial properties in UGC NET 2025 (its second list is missing from the stored question, so we do not serve it) and the Gini questions in the Gini guide.

10
Quick answers

Quick answers

What is the negative binomial distribution?

It is the distribution of the number of independent trials needed to obtain r successes, when each trial succeeds with probability p. The probability of needing exactly x trials is C(x − 1, r − 1) p^r (1 − p)^(x − r), for x = r, r + 1, …. The mean is r/p and the variance is r(1 − p)/p². With r = 1 it is the geometric distribution.

What is the difference between the binomial and the negative binomial?

The binomial fixes the number of trials and counts the successes. The negative binomial fixes the number of successes and counts the trials needed. They are linked: the r-th success arrives by trial x exactly when x trials contain at least r successes.

What is the lognormal distribution?

A positive variable is lognormal if its natural logarithm is normally distributed. If ln Y is normal with mean μ and variance σ², then Y has median e^μ, mean e^(μ + σ²/2) and mode e^(μ − σ²). It is right-skewed, so the mean exceeds the median, and it is the standard model for incomes and prices that change by percentages.

Why is the mean of a lognormal larger than its median?

Because the long right tail of very high values pulls the mean up while leaving the median, the middle value, in place. The ratio of mean to median is e^(σ²/2), which is above 1 whenever σ is positive and grows with the spread of the logarithm.

What is the Pareto distribution?

The Pareto distribution describes a variable whose upper tail is a power law: the probability of exceeding x is (x_m/x)^α for x at least x_m. It is the classic model for the upper tail of incomes and wealth. The mean exists only for α greater than 1, and the variance only for α greater than 2.

What is the 80/20 rule in terms of the Pareto distribution?

If the top fraction q of earners hold the share q^(1 − 1/α) of the total, the top 20% hold 80% when α = ln 5 / ln 4, about 1.16. A larger α means a thinner tail and a smaller share at the top. The Gini coefficient of a Pareto distribution is 1/(2α − 1).

Read next

All resources →
StatisticsThe exponential and gamma distributions, derivedThe exponential as the wait for the first event of a Poisson process, its mean, variance and median, memorylessness, then the gamma as the wait for the r-th event and as a sum of exponentials, with a memoryless lab and a gamma lab with simulated sums.Derivation · 40 minStatisticsThe Lorenz curve and the Gini coefficient: how to draw, calculate and read themThe six kinds of inequality question, drawing a Lorenz curve from incomes or quintile shares, five ways to calculate the Gini, crossing curves and invariance, India's Gini against other countries, and 26 past-paper questions.Complete guide · 45 minStatisticsDerivations: how the main results are arrived at, and what they meanEach derivation starts from the question, defines every symbol, goes one step at a time with a picture where the idea turns, and ends on what the result means and where the exams ask it. Includes a short guide to reading sigma notation and other symbols.Derivation · 5 min