CLASS 7

Chapter 11: Defining Probability (Part III)

Tree Diagrams

  • Definition: A tree diagram is a visual representation of the possible outcomes of a procedure.

  • Application: Helpful in determining the number of possible outcomes in a sample space, provided the number of possibilities is not too large.

Example 1:
  • Context: A virus infects 1 in every 200 people. The test for the virus has the following characteristics:

    • Positive test if infected: 78%

    • Positive test if not infected: 5%

  • Tree Diagram Construction:

    • Label branches as follows:

    • I = Person has the virus (infected)

    • + = Person's test is positive

  • Summary of Information:

    • Probability of being infected:
      P(I)=rac1200=0.005P(I) = rac{1}{200} = 0.005

Probability Calculations:
  1. Negative Test Probability:

    • Calculation: P(−)=P(−∣I)+P(−∣egI)P(-) = P(- | I) + P(- | eg I) where:

      • P(−∣I)=1−P(+)=1−0.78=0.22P(- | I) = 1 - P(+) = 1 - 0.78 = 0.22

      • P(−∣<br>egI)=1−0.05=0.95P(- | <br>eg I) = 1 - 0.05 = 0.95

      • Combining:
        P(−)=0.22imesP(I)+0.95imesP(<br>egI)P(-) = 0.22 imes P(I) + 0.95 imes P(<br>eg I)

    • Full Calculation will yield:
      P(−)an=0.0011+0.94525=0.94635P(-) an = 0.0011 + 0.94525 = 0.94635

  2. Find the Probability of Negative Test and Virus:

    • Calculation:
      P(- & I) = P(I & -) = P(- | I) imes P(I) = 0.22 imes 0.005 = 0.0011

    • Result: The chance of a negative test is 94.6%. The chance of a false-negative result is approximately 0.0011.

Example 2:

  • Context: Lara Croft is exploring three passageways, with different outcomes:

    • Passageway 1: Mummy

    • Passageway 2: Swarm of bees

    • Passageway 3: Treasure chest

  • Probabilities:

    • Escape successful for:

    • Mummy: 40%

    • Bees: 60%

    • Treasure: 95%

  • Tree Diagram Construction:

    • Assign probabilities to the branches representing the outcomes.

  • Calculate Escape Probability:

    P(E)=P(E∣M)P(M)+P(E∣B)P(B)+P(E∣T)P(T)P(E) = P(E | M) P(M) + P(E | B) P(B) + P(E | T) P(T)

    • Calculation:
      P(E)=0.40imesrac13+0.60imesrac26+0.95imesrac13=0.65P(E) = 0.40 imes rac{1}{3} + 0.60 imes rac{2}{6} + 0.95 imes rac{1}{3} = 0.65

  • Conditional Probability: If Lara escapes, find the probability she chose the treasure:

    P(T|E) = rac{P(T & E)}{P(E)}

    • Detailed Calculation:
      P(T∣E)=rac0.95imesrac130.65<br>ightarrowP(T∣E)=0.4872307P(T|E) = rac{0.95 imes rac{1}{3}}{0.65} <br>ightarrow P(T|E) = 0.4872307

Chapter 13: Random Variables

Definition

  • Random Variable: A variable that takes on one numerical value determined by chance for each outcome of a procedure, commonly denoted as XX.

Examples of Random Variables:
  1. The number of viewers for a program: Random Variable

  2. Favorite food of a person: NOT a random variable (not numerical)

  3. Solution of equation (e.g., 2x - 1 = 0): NOT a random variable (not chance-based)

Types of Data Values

  • Discrete Random Variable: Has either a finite or countably infinite number of values.

  • Continuous Random Variable: Has infinitely many values associated with measurements.

Example:
  • Discrete: If XX represents number of tails in 10 coin flips, values are: 0, 1, 2, …, 10 (finite).

  • Continuous: If XX represents height of adult women, any value within a range (infinite).

Probability Distribution

  • Definition: A probability distribution is a table detailing all disjoint outcomes and their associated probabilities.

Example of Probability Distribution (Die Roll):
  • Possible outcomes are: 1, 2, 3, 4, 5, 6.

  • Each outcome has an equal probability:
    P(X)=rac16P(X) = rac{1}{6}

Calculation of Probability:
  • Example:
    P(X>3)=P(4)+P(5)+P(6)=rac16+rac16+rac16=rac36=rac12P(X > 3) = P(4) + P(5) + P(6) = rac{1}{6} + rac{1}{6} + rac{1}{6} = rac{3}{6} = rac{1}{2}

  • Note: The sum of probabilities must equal 1.

Variance and Standard Deviation for Discrete Random Variables

Expected Value:
  • Formula:
    E(X)=extSumofalloutcomesimesexttheirprobabilities=x<em>1P(x</em>1)+x<em>2P(x</em>2)+…+x<em>kP(x</em>k)E(X) = ext{Sum of all outcomes} imes ext{their probabilities} = x<em>1 P(x</em>1) + x<em>2 P(x</em>2) + … + x<em>k P(x</em>k)

Variance:
  • Formula:
    extVar(X)=E(X2)−[E(X)]2ext{Var}(X) = E(X^2) - [E(X)]^2

Example Calculation:
  • Revenue from textbook:

    • Textbook: $137, Study Guide: $33, Non-purchase: 20%, Only Textbook: 55%, Both: 25%.

    • Expected value, variance, standard deviation follow the earlier formulas.

    • Expected Revenue:
      E(X)=(0imes0.20)+(137imes0.55)+(170imes0.25)=117.85E(X) = (0 imes 0.20) + (137 imes 0.55) + (170 imes 0.25) = 117.85

Examples of Revenue Calculations:
  • Find Expected Revenue from 40 students:

    • Calculation:
      E(40X)=40imesE(X)=40imes117.85=4714E(40X) = 40 imes E(X) = 40 imes 117.85 = 4714

Linear Combinations of Random Variables

  • If XX and YY are independent random variables and kk is a constant, the following apply:

    • E(X+Y)=E(X)+E(Y)E(X + Y) = E(X) + E(Y)

    • E(aX)=aE(X)E(aX) = aE(X)

    • extVar(X+Y)=extVar(X)+extVar(Y)ext{Var}(X + Y) = ext{Var}(X) + ext{Var}(Y)

    • extVar(aX)=a2extVar(X)ext{Var}(aX) = a^2 ext{Var}(X)

Example Application to Bookstore Revenue:

  • If a 20% discount is offered, find:

    • Adjusted Expected and Standard Deviation:
      E(0.8X)=0.8imes117.85E(0.8X) = 0.8 imes 117.85

    • Result: Expected Revenue per student under new conditions is evaluated accordingly.

Test Your Knowledge

Problems Involving Tree Diagrams and Probabilities:
  1. Blood Test for Parkinson’s Disease:

    • Determine probability tree, resulting probabilities, etc.

  2. Sam Commutes to School:

    • Paths: Route A, B, or C with differentiated late probabilities.

  3. Sock Draw:

    • Build tree for sock drawing probabilities.

Final Example Problems Testing the Understanding of Random Variables and Probability:
  • Multiple questions covering prior applications and definitions.

Summary of Concepts Covered:
  • Tree Diagrams, Random Variables, Probability Distributions, Expected Value and Variance.