Docsity

Probability Distribution, Study notes of Probability and Statistics

Toggle sidebar
bg1
ECO2025-N • APPLIED MATHS & STATISTICS
Probability Distributions • Study Notes
Applied Mathematics and Statistics for Economists
Probability Distributions
ECO2025-N Applied Maths & Statistics
Lecture 9 | Dr Shibly Shahrier | Teesside University
This notes explains random variables and probability distributions, then develops
methods for discrete and continuous probability models. It covers expected value
and variability, the binomial and Poisson distributions, the normal and standard
normal distributions, and the use of z-scores to calculate probabilities.
1. Introduction: random variables and probability distributions
1.1 Random variables
• A random variable is a variable whose value is determined by chance. Its
possible outcomes and the probability of each outcome may be known, even
though the particular result is unpredictable.
• Example: the result of tossing a coin is random.
• A sample statistic can be a random variable. For example, the average height
calculated from a sample of 10 basketball players will vary between samples.
• A population value calculated using all basketball players is not random in this
example, because no sampling variation is involved.
1.2 Two types of random variables
• Discrete random variable: takes a countable number of possible values, finite or
infinite. Example: the number of consumers in a sample of 500 who favour a
product, x = 0, 1, 2, …, 500.
• Continuous random variable: can take any value within one or more intervals;
its possible values are uncountable. Example: the time between arrivals at a
hospital clinic.
Key distinction: Discrete data take particular, countable values; continuous
data can take any value within a given range.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Probability Distribution and more Study notes Probability and Statistics in PDF only on Docsity!

Applied Mathematics and Statistics for Economists

Probability Distributions

ECO2025-N Applied Maths & Statistics Lecture 9 | Dr Shibly Shahrier | Teesside University This notes explains random variables and probability distributions, then develops methods for discrete and continuous probability models. It covers expected value and variability, the binomial and Poisson distributions, the normal and standard normal distributions, and the use of z-scores to calculate probabilities.

1. Introduction: random variables and probability distributions

1.1 Random variables

  • A random variable is a variable whose value is determined by chance. Its possible outcomes and the probability of each outcome may be known, even though the particular result is unpredictable.
  • Example: the result of tossing a coin is random.
  • A sample statistic can be a random variable. For example, the average height calculated from a sample of 10 basketball players will vary between samples.
  • A population value calculated using all basketball players is not random in this example, because no sampling variation is involved.

1.2 Two types of random variables

  • Discrete random variable: takes a countable number of possible values, finite or infinite. Example: the number of consumers in a sample of 500 who favour a product, x = 0, 1, 2, …, 500.
  • Continuous random variable: can take any value within one or more intervals; its possible values are uncountable. Example: the time between arrivals at a hospital clinic. Key distinction: Discrete data take particular, countable values; continuous data can take any value within a given range.

1.3 Probability distributions

  • A probability distribution summarises a random variable by listing all possible values and the probability associated with each value.
  • A distribution may be presented in words, a table, a graph or a mathematical formula.
  • Understanding distributions helps us use statistical evidence appropriately.

2. Probability distributions for discrete random variables

2.1 Requirements for a discrete probability distribution

  • Each possible probability must be between 0 and 1 inclusive.
  • The probabilities across all possible values must add to 1. 0 ≤ p(x) ≤ 1 and Σ p(x) = 1
  • The summation is taken over every possible value of the random variable.

2.2 Example: Texas droughts

  • The lecture models x, the number of consecutive years sampled until a dry (drought) year is observed, using p(x) = (0.7)ˣ⁻¹(0.3).
  • For exactly 3 years: p(3) = (0.7)²(0.3) = 0.49 × 0.3 = 0.147. Interpretation: There is a 0.147 probability, or approximately 15%, that exactly 3 years must be sampled before a drought year occurs.

2.3 Mean / expected value of a discrete random variable

  • The expected value is the mean of the probability distribution and describes its central tendency. μ = E(X) = Σ x p(x)
  • Multiply each possible value by its probability, then add the products.

2.4 Example: insurance application

  • An insurer sells a £10,000 one-year term policy for an annual premium of £290. The probability of death during the year is 0.001; the probability the customer lives is 0.999.
  • Company gain if the customer lives: £290. Company gain if the customer dies: £290 − £10,000 = −£9,710.
  • Expected gain: μ = (290)(0.999) + (−9,710)(0.001) = £280.
  1. The random variable x counts the number of successes in n trials.

3.3 Binomial probability formula

P(X = x) = C(n, x) pˣ qⁿ⁻ˣ where q = 1 − p

  • n = number of trials; x = number of successes; n − x = number of failures.
  • p = probability of success on one trial; q = probability of failure on one trial.
  • C(n, x) = n! / [x!(n − x)!], the number of ways to arrange x successes among n trials.
  • The parameters n and p determine the complete binomial distribution.

3.4 Example: manufacturing defects

  • A machine produces 10% defective stampings. Five stampings are tested. Let x be the number of defective stampings: n = 5, p = 0.1 and q = 0.9.
  • For exactly 3 defectives: P(X = 3) = C(5,3)(0.1)³(0.9)² = 10 × 0.001 × 0.81 = 0.0081. Interpretation: The probability that exactly three of the five stampings are defective is 0.0081, or 0.81%.

3.5 Binomial mean, variance and standard deviation

Mean: μ = np Variance: σ² = npq = np(1 − p) Standard deviation: σ = √(npq)

  • For the manufacturing example, n = 5, p = 0.1 and q = 0.9.
  • Mean: μ = 5 × 0.1 = 0.5 defective stampings.
  • Standard deviation: σ = √(5 × 0.1 × 0.9) = √0.45 ≈ 0.671.

3.6 Poisson distribution

  • The Poisson distribution is used for counts of events occurring in a specified interval of time, length, area or volume.
  • It is particularly useful when the probability of success on an individual trial is very small and the number of trials is large.
  • Examples include industrial accidents per month, toxin parts per million in water or air, and invoice errors per 100 invoices.

3.7 Conditions and parameter

  • The variable counts how many times an event occurs in a defined unit or interval.
  • The event rate is the same for each comparable unit.
  • Counts in mutually exclusive units are independent.
  • λ (lambda) is the mean/expected number of events per unit.

3.8 Poisson probability formula

P(X = x) = (e⁻λ λˣ) / x!

  • x = number of events in the unit; λ = mean number of events per unit; e ≈ 2.71828.
  • For a binomial setting with large n and small p, the Poisson model may be used as an approximation with λ = np.

3.9 Example: faulty television screens

  • A manufacturer knows that 0.5% of screens fail during a two-year guarantee. For 500 screens, the expected number of failures is λ = 500 × 0.005 = 2.5.
  • The lecture reports P(no faulty screens) ≈ 8.2%. This corresponds to P(X = 0) = e⁻²·⁵ ≈ 0.0821.
  • The lecture reports the probability of more than three faulty screens as approximately 24.2%. Method: For 'more than three', use the complement: P(X > 3) = 1 − [P(0) + P(1)
  • P(2) + P(3)].

4. Probability distributions for continuous random variables

4.1 The normal distribution

  • The binomial and Poisson distributions in this lecture are used for discrete counts; they are not appropriate for continuous random variables such as train arrival time.
  • The normal distribution is the principal continuous probability distribution introduced in the lecture.
  • It often arises when a variable is influenced by many independent random factors added together, with no single factor dominating.
  • Examples given include adult heights and IQ, which are influenced by genetic and environmental factors.
  • For a negative z-value, symmetry means the area between z = 0 and z = −a equals the area between z = 0 and z = +a.

5.3 Example: probability between −1.33 and 1.

  • The table gives the area from 0 to 1.33 as 0.4082.
  • By symmetry, the area from −1.33 to 0 is also 0.4082. P(−1.33 < Z < 1.33) = 0.4082 + 0.4082 = 0. Interpretation: There is an 81.64% probability that a standard normal value lies between −1.33 and 1.33.

5.4 Converting a normal variable to a z-score

z = (x − μ) / σ

  • The z-score measures how many population standard deviations x is above or below the mean.
  • A positive z-score is above the mean; a negative z-score is below the mean.
  • Standardising allows different normal distributions to be assessed using one standard normal table.

5.5 Example: advertised gas mileage

  • The question asks for the fraction of cars expected to achieve less than 20 miles per gallon in city driving.
  • The lecture converts x = 20 to z = −2.33.
  • The table area between 0 and 2.33 is 0.4901. Therefore, the left-tail probability is 0.5 − 0.4901 = 0.0099. P(X < 20) = P(Z < −2.33) = 0.0099 ≈ 1% Interpretation: Approximately 1% of newly purchased cars are expected to have in-city mileage below 20 mpg, under the model used.

5.6 Sampling distribution of the sample mean

  • The lecture also considers the probability that a sample mean exceeds a specified value when the population is normally distributed.
  • For a sample of size n, the standard error of the sample mean is σ/√n. z = (x̄ − μ) / (σ/√n)
  • Here x̄ is the sample mean, μ is the population mean, σ is the population standard deviation and σ/√n is the standard error.

5.7 Example: men's heights

  • The question asks for the probability that a random sample of nine men has a mean height greater than 180 cm.
  • The lecture calculates a z-score of 1.88 for the sample mean.
  • The table area between 0 and 1.88 is 0.4699. The upper-tail probability is 0.5 − 0.4699 = 0.0301. P(X̄ > 180) = 0.0301 = 3.01% Interpretation: There is approximately a 3.01% chance that the mean height of a random sample of nine men exceeds 180 cm, using the population values specified in the lecture.

6. Worked practice questions from the lecture

6.1 Blue-eye probability

  • If the probability that an individual has blue eyes is 0.6, and four individuals are sampled, use a binomial model with n = 4, p = 0.6 and q = 0.4. P(X = x) = C(4, x)(0.6)ˣ(0.4)⁴⁻ˣ, x = 0, 1, 2, 3, 4
  • For exactly two: P(X = 2) = C(4,2)(0.6)²(0.4)² = 6 × 0.36 × 0.16 = 0.3456.
  • Check that the probabilities for x = 0 through 4 sum to 1.

6.2 Lottery tickets

  • The probability of winning on one ticket is 1/50 = 0.02. If 50 tickets are bought and ticket outcomes are independent, the binomial parameters are n = 50, p = 0.02 and q = 0.98. P(X = x) = C(50, x)(0.02)ˣ(0.98)⁵⁰⁻ˣ
  • The probability of at least one win is the complement of no wins: P(X ≥ 1) = 1 − P(X = 0) = 1 − (0.98)⁵⁰.
  • The lecture presents questions for 0, 1 and 2 winning tickets as well as at least one win; use the same binomial formula for the individual probabilities.

7. Consolidated formula sheet

Concept Formula Discrete probability distribution 0 ≤ p(x) ≤ 1; Σp(x) = 1 Expected value μ = E(X) = Σxp(x)

  • Using a binomial model when there are more than two outcomes, when p changes between trials, or when trials are not independent.
  • Forgetting that q = 1 − p in a binomial model.
  • Forgetting the combination term C(n,x) in the binomial probability formula.
  • Using the wrong event rate or interval when calculating λ for a Poisson model.
  • Treating a probability density height as a probability; for a continuous variable, probability is an area.
  • Forgetting that the standard normal distribution has μ = 0 and σ = 1.
  • Using σ instead of σ/√n when calculating a z-score for a sample mean.
  • Misreading a normal table: check whether it gives a tail area or the area between 0 and z, then use symmetry or a complement as needed.

9. Final recap

  • A random variable takes values determined by chance; random variables are either discrete or continuous.
  • A probability distribution describes the possible values and their probabilities.
  • For discrete variables, expected value measures the centre and variance/standard deviation measure spread.
  • The binomial distribution counts successes across a fixed number of independent, identical two-outcome trials.
  • The Poisson distribution models event counts in a defined interval, especially for rare events.
  • The normal distribution is a symmetric, bell-shaped continuous distribution with mean, median and mode equal.
  • Standardising with a z-score makes it possible to use the standard normal table.
  • For sample means, the standard error is σ/√n, and the corresponding z-score uses this standard error.