Types of distributions
Random variable
A random variable is a function
is an event, meaning it is part of the
A random variable is discrete if its range is finite or countably infinite.
Expectation
The expectation of a discrete random variable is defined by
where
Variance and Standard Deviation
The variance of a random variable is defined by
provided that
The square root of
Binomial distribution
A random variable has binomial distribution with parameters
Then the expectation of
Key Characteristics:
- Fixed number of trials ((n)).
- Two possible outcomes per trial (success or failure).
- Probability of success ((p)) is constant across trials.
- Trials are independent.
Random Variable: Number of successes in (n) trials.
Example: Number of heads in 10 coin flips.
Poisson distribution
A random variable has Poisson distribution with parameter
Then
Key Characteristics:
- Events occur in a fixed interval of time or space (e.g., hours, area).
- Events are rare relative to the interval, with no fixed number of trials.
- Average rate of occurrence (
) is constant. - Events are independent of each other.
Random Variable: Number of events in the interval.
Example: Number of cars passing a point in an hour.
Example 1
Problem
We organize a party, and we know in advance that the number of participants is eight with probability 1/4, nine with probability 1/3 and ten otherwise. Calculate the expected number and the variance of the number of participants.
Solution
Let X be the number of guests. The expectation is as follows by definition:
The variance is as follows:
The standard deviation:
Example 2
Problem
Suppose that the number of downloads of a webpage within an hour has Poisson distribution, and the probability that there are
a) What is the variance of the number of downloads within an hour?
b) Given that the number of downloads within an hour is at most 1, what is the probability that there are 0 downloads within this hour?
Solution
a) By the definition of the Poisson distribution, we have
By the properties of the Poisson distribution, we have
b) The question is the following conditional probability, which we can calculate by using the definition of this and the definition of the Poisson distribution:
