MATH123A LECTURE 06   DISCRETE PROBABILITY DISTRIBUTION, BINOMIAL EXPERIMENTS

MATH123A LECTURE 06 DISCRETE PROBABILITY DISTRIBUTION, BINOMIAL EXPERIMENTS

Introduction to Discrete Probability Distribution

Overview of the Lecture

  • The session focuses on discrete probability distribution, specifically special discrete probability distributions. The goal is to achieve a clear understanding by the end of the lecture.

Research Assignment Recap

  • Students were tasked with defining probability distribution and exploring various methods related to it in their research assignment from last week. Understanding each method is crucial for today's discussion.

Course Outline

  • The course will concentrate on three key methods that are frequently encountered in board exam problems, emphasizing their practical applications. A foundational concept introduced is random variables.

Understanding Random Variables

Definition and Importance

  • Random variables are defined as variables whose possible values depend on the outcomes of a random event, such as medical outcomes or coin tosses. An informal definition describes them as quantitative variables influenced by chance.

Examples of Random Variables

  • Coin Tossing: When flipping a coin three times, potential outcomes include combinations of heads and tails (e.g., 0 tails, 1 tail, etc.). Each outcome represents a different random variable based on the number of tails observed.
  • Rolling Dice: In rolling two dice, possible sums range from 2 (1+1) to 12 (6+6). Each sum represents a distinct random variable derived from all possible combinations of die faces. This illustrates how random variables encompass all potential outcomes in an event context.

Types of Random Variables

Discrete vs Continuous Random Variables

  • There are two main types:
  • Discrete Random Variables: These can take any countable number of values (finite or infinite), making them suitable for scenarios where outcomes can be enumerated.
  • Continuous Random Variables: These can assume any value within an interval (e.g., between 4 and 6), including decimals and fractions, indicating an infinite range of possibilities for measurement data like height or weight. Examples include normal distributions which will be discussed later in the course.

Discrete and Continuous Probability Distributions

Introduction to Discrete Probability Distribution

  • The focus is on discrete probability distributions, which involve countable or finite values.
  • A distinction is made between discrete and continuous variables; discrete variables have specific, countable outcomes while continuous variables can take any value within a range.

Characteristics of Continuous Random Variables

  • Continuous random variables often yield data in decimal form, as seen in examples like measuring velocity (e.g., 20.5 m/s).
  • Examples of discrete random variables include the number of successful free throws in basketball attempts, where outcomes are limited to whole numbers.

Examples of Discrete Random Variables

  • In a scenario with 20 basketball attempts, possible outcomes range from 0 to 20 successful shots.
  • Another example involves rolling a die until achieving a specific outcome (like rolling a three), which can occur at various attempts.

Understanding Continuous Random Variables

  • Continuous random variable examples include measuring the velocity of a baseball pitch or timing lightning strikes during thunderstorms.
  • These measurements typically result in non-integer values (e.g., 3.2 seconds for lightning strikes).

Defining Discrete Probability Distribution

  • A discrete probability distribution lists all possible values of a random variable along with their probabilities.
  • Two conditions must be satisfied: probabilities must be between 0 and 1 for all values, and the sum of all probabilities must equal one.

Practical Example: Coin Flipping Experiment

  • An experiment involving flipping a coin four times illustrates how to identify possible outcomes using tree diagrams.
  • Each flip has two potential results (heads or tails), leading to multiple combinations across four trials, totaling 16 possible outcomes.

Understanding Sample Space and Random Variables

Defining Sample Space

  • The sample space includes all possible outcomes of an event, such as HHH, HHT, HTH, TTH, HTT, and TTT.
  • A random variable is typically represented by a capital letter (e.g., X), which denotes the number of tails in this context.

Calculating Probabilities

  • The discussion revolves around determining how many times a specific outcome can occur within the sample space.
  • To find probabilities for different values of X (number of tails), we need to calculate the probability for each scenario: X = 0, 1, 2, 3, and 4.

Probability Outcomes

  • For X = 0 (no tails), there is only one outcome out of a total of 16 possible outcomes: P(X = 0) = 1/16.
  • For X = 1 (one tail), there are four favorable outcomes leading to P(X = 1) = 4/16.

More Complex Scenarios

  • When calculating for X = 2 (two tails), six favorable outcomes yield P(X = 2) = 6/16.
  • For X = 3 (three tails), there are four favorable outcomes resulting in P(X = 3) = 4/16. Lastly, for X = 4 (all tails), it results in P(X = 4) = 1/16.

Characteristics of Discrete Probability

Validating Probability Conditions

  • Each probability must fall between zero and one; all calculated probabilities meet this criterion.
  • The sum of all probabilities should equal one. Adding them confirms that they total to unity: 1 + 4 + 6 + 4 +1/16 .

Application Example

  • An example is presented where we need to find the probability of getting at most two tails when flipping a coin four times.

Finding At Most Two Tails

Understanding "At Most"

  • "At most" means considering scenarios with zero, one, or two tails during flips. This contrasts with "at least," which would require more than two.

Calculation Methodology

  • To find the required probability for at most two tails (X ≤2), we will add the individual probabilities for zero, one, and two tails together.

Final Computation

  • The final calculation combines these probabilities: P(X leq2)=P(X=0)+P(X=1)+P(X=2). Substituting gives 1/16 + 4/16 + 6/16=11/16.

Understanding Binomial Experiments and Probability

Introduction to Probability of Coin Flips

  • The probability of getting at most two tails when flipping a coin is calculated as 68.75% [].
  • Emphasis on understanding this probability in the context of the given scenario [].

Overview of Discrete Probability Distribution

  • The session will focus on one type of discrete probability distribution, specifically binomial experiments [].
  • Students are tasked with enumerating various types of discrete probability distributions for their assignments [].

Types of Distributions Discussed

  • Three types will be covered:
  • Binomial experiments
  • Poisson probability distribution
  • Hypergeometric distribution
  • For this lecture, the focus remains solely on binomial experiments [].

Definition and Characteristics of Binomial Experiments

  • A binomial experiment consists of repeated trials with two possible outcomes: success or failure [].
  • Examples include flipping a coin (heads or tails) and assessing public opinion on legislation (in favor or not) [, ].

Properties Required for Binomial Experiments

  1. Repetition: Trials must consist of identical independent repetitions with the same possible outcomes [].
  1. Outcomes: Each trial results in one of two outcomes—success or failure [].
  1. Constant Probability: The probability of success (P) remains unchanged across trials; failures are denoted by Q = 1 - P [, ].
  1. Independence: Results from one trial do not affect another, ensuring independence between trials [].
  1. Random Variable: The random variable X represents the total number of successes observed in n trials [].

Formula for Binomial Distribution

  • The formula used to identify the probability involves combinations and probabilities:

[

P(X = x) = C(n,x) cdot P^x cdot Q^n-x

]

where:

  • C(n,x): Combination function,
  • P: Probability of success,
  • Q: Probability of failure,
  • n: Number of trials,
  • x: Random variable representing successes [, , , , ].

Mean and Standard Deviation in Binomial Distribution

  • Mean (mu) is calculated as:

[

mu = nP

]

  • Variance (sigma^2) is given by:

[

sigma^2 = nPQ

]

  • Standard deviation is simply the square root of variance, represented as:

[

sigma = sqrtnPQ

]

  • In some contexts, "expected value" refers to mean within binomial distribution problems [, , , ].

Example Problem Discussion

  • An example problem involves finding the probability that exactly two out of four leather gloves tested will not crack, given a success rate (P) of 0.75 for not cracking during quality tests[,( t =2230 s )].

Conditions Verification for Example Problem:

  1. Two possible outcomes exist: glove cracks or does not crack—validating property one[( t =2256 s )].
  1. Independence between trials confirmed since each glove's outcome does not affect others[( t =2256 s )].

Understanding Binomial Distribution in Trials

Introduction to Binomial Distribution

  • The discussion begins with the identification of a binomial experiment, characterized by repeated trials with two possible outcomes: either cracking or not cracking.
  • The probability of success (not cracking) is established at 0.75, indicating a high likelihood of success in this scenario.

Calculating Failure Probability

  • The failure probability is calculated as 1 minus the success probability, resulting in a failure rate of 25% or 4 out of 25 trials.
  • With four trials and aiming for exactly two successes, the random variable x is defined as 2.

Applying the Binomial Formula

  • The formula for calculating probabilities in a binomial distribution is introduced: P(x) = C(n,x) * p^x * q^(n-x), where n is the number of trials.
  • After simplification using combinations and probabilities, it’s determined that there’s a 21.09% chance that exactly two items will not crack during the experiment.

Exploring Coin Toss Probabilities

Setting Up the Problem

  • A new example involves tossing a fair coin three times, focusing on scenarios where no heads appear initially.
  • For cases with less than two successes (heads), both zero and one head must be considered to find total probabilities.

Calculating Specific Outcomes

  • In determining the probability of getting no heads when tossing three coins, each outcome's success rate is set at 0.5 for both heads and tails.
  • Using the binomial formula again, it’s shown that there’s a 12.5% chance of getting no heads after three tosses.

Further Scenarios with Coin Tossing

  • When calculating for three heads, similar steps are followed leading to another result of 12.5%.
  • Finally, when considering two heads and one tail from three tosses, calculations yield a probability of 37.5%, demonstrating how different combinations affect overall outcomes.

Probability of Coin Toss Outcomes

Understanding the Problem

  • The problem begins with defining variables: P = 0.5, Q = 0.5, N = 3, and asks for the value of X.
  • Initial guesses for X are made, suggesting possible values like 1 or 1.5 based on coin toss outcomes.

Analyzing Coin Toss Outcomes

  • The possible outcomes from tossing a coin three times are listed: HHH, HHD, HDH, HTT, THH, THD, TTH, TTT.
  • Focus shifts to finding scenarios with two heads and one tail among these outcomes.

Calculating Probabilities

  • The probability of getting two heads and one tail is calculated as 3/8 .
  • A condition is established that requires heads to be adjacent in the sequence (e.g., HH or TT).

Confirming Values

  • It’s noted that there are three possible outcomes leading to the calculation of X.
  • The speaker confirms that for letter D in the problem context, the value of X should also be considered as 2 due to specific conditions regarding head-tail sequences.

Clarifying Probability Rules

  • A question arises about applying "or" versus "and" rules in probability concerning different scenarios presented in letter E.
  • All random variables from this trial are discussed; specifically focusing on combinations yielding no heads.

Exploring Random Variables

  • The discussion emphasizes identifying viable random variables when considering two tails and one head.
  • When looking for three tails (P = 0.5), it’s concluded that zero heads yield a probability of 12.5%.

Summarizing Outcomes

  • A final check ensures all probabilities across different cases (A through E) sum up to 1 as expected in probability theory.

Probability Calculations in Binomial Experiments

Understanding Probability Values

  • The probability of event A is calculated to be 12.5% and is equivalent to the probability of getting 3 heads, which is also 12.5%.
  • For events C and D, the probabilities are both determined to be 37.5%. Event I has a probability of 12.5%. This indicates a distribution among different outcomes in the experiment.

Total Probability Calculation

  • When summing up all calculated probabilities (12.5% for A, 37.5% for C, D, and 12.5% for I), it totals to 100%, confirming that all possible outcomes have been accounted for in this binomial experiment setup.

Clarification on Outcomes

  • The phrase "no head" translates to having three tails, indicating a specific outcome within the context of the experiment being discussed. This highlights how terminology can affect understanding of results in probability scenarios.

Assignment and Practice

  • The speaker mentions an additional example related to total probabilities but decides to assign it as homework for further practice on binomial experiments, emphasizing the importance of hands-on learning through exercises provided later on.