NEOCODE
Back To Top

Probability Distributions

1. Bernoulli Process

A Bernoulli process is a sequence of independent trials, each with two possible outcomes: success (1) or failure (0).

1. Bernoulli Distribution

The Bernoulli distribution describes a random experiment with two possible outcomes: success (with probability p) and failure (with probability q=1p).

Mean = E ( X ) = p
Variance = Var ( X ) = p q

2. Binomial Distribution

The binomial distribution describes the number of successes in n independent Bernoulli trials.

P ( X = k ) = C ( n , k ) p k q n k

Where:

Properties:

3. Negative Binomial Distribution

The negative binomial distribution describes the number of trials needed to achieve r successes in a Bernoulli process.

P ( X = k ) = C ( k 1 , r 1 ) p r q k r

Where:

Properties:

4. Geometric Distribution

The geometric distribution describes the number of trials needed to achieve the first success in a Bernoulli process.

P ( X = k ) = q k 1 p

Where:

Properties:

5. Poisson Distribution

The Poisson distribution describes the number of events occurring in a fixed interval of time or space, given a constant average rate (λ).

P ( X = k ) = e λ λ k k !

Where:

Properties:

6. Moment Generating Function (MGF)

The moment generating function (MGF) of a random variable X is defined as:

M X ( t ) = E ( e t X )

Where:

MGF of Distributions

Comparison Table

Property Binomial Distribution Negative Binomial Distribution Geometric Distribution
Random Variable Number of successes in n trials. Number of trials to achieve r successes. Number of trials to achieve the first success.
Key Difference Fixed number of trials (n). Fixed number of successes (r). Special case of negative binomial with r=1.
PMF P ( X = k ) = C ( n , k ) p k q n k P ( X = k ) = C ( k 1 , r 1 ) p r q k r P ( X = k ) = q k 1 p
MGF M X ( t ) = ( q + p e t ) n M X ( t ) = ( p e t 1 q e t ) r M X ( t ) = p e t 1 q e t
Mean μ=np μ=rp μ=1p
Variance σ2=npq σ2=rqp2 σ2=qp2
Other Properties Describes fixed trials. Describes trials until r successes. Describes trials until the first success.

MCQ Questions

1. What is the mean of a binomial distribution with n=10 and p=0.5?

  • a) 5
  • b) 10
  • c) 2.5
  • d) 1

Answer: a) 5

2. Which distribution describes the number of trials until the first success?

  • a) Binomial
  • b) Geometric
  • c) Poisson
  • d) Negative Binomial

Answer: b) Geometric