Probability and Statistics Analysis

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

In a population where a virus has infected 1.8% of individuals, a test detects the virus 95% of the time when it is present. However, it also yields a false positive 3% of the time when the virus is not present. If a person tests positive, what is the probability they are actually infected?

  • 0.95
  • 0.018
  • 0.0466
  • 0.367 (correct)

At a university, 4% of men are over 6 feet tall, and 1% of women are over 6 feet tall. The student population is 3:2 women to men. If a randomly selected student over 6 feet tall is chosen, what is the probability that the student is a woman?

  • 0.022
  • 1/100
  • 0.273 (correct)
  • 3/5

Box 1 contains 3 blue and 2 red marbles, while Box 2 contains 2 blue and 5 red marbles. A marble is drawn randomly from one of the boxes and turns out to be blue. What is the probability that it came from Box 1?

  • 2/5
  • Cannot be determined without additional information (correct)
  • 2/7
  • 3/5

What is a random variable?

<p>A function that assigns a real number to each outcome in a sample space. (D)</p> Signup and view all the answers

Which of the following is NOT a characteristic of a discrete random variable?

<p>It can only take integer values. (C)</p> Signup and view all the answers

What is the primary requirement for a function to be considered a probability mass function?

<p>Each probability must be between 0 and 1, and the sum of all probabilities must equal 1. (A)</p> Signup and view all the answers

Given a random variable X with the following probabilities: P(0) = 1/8, P(1) = 3/8, P(2) = 3/8, and P(3) = 1/8, what is the expected value (mean) of X?

<p>1.5 (B)</p> Signup and view all the answers

In a family with two children, assuming the probability of having a boy or a girl is equal, what is the mean number of girls?

<p>1 (D)</p> Signup and view all the answers

If a player rolls a fair six-sided die and wins $12 if the number rolled is greater than 4, but has to pay $5 to play, what is the expected value of the gain for this game?

<p>$2 (A)</p> Signup and view all the answers

Consider a discrete random variable X with possible values 0, 1, 2, 4, and 6. The probabilities are given as p(0) = 0.2, p(1) = 0.1, p(4) = 0.3, and p(6) = 0.2. What value should K be, if p(2)=K need to complete the probability distribution?

<p>0.2 (B)</p> Signup and view all the answers

Flashcards

Random variable

A function that associates a real number with each element in the sample space. Values are determined by chance.

Discrete probability distribution

Consists of the values a random variable can assume and the corresponding probabilities of these values.

Probability mass function

It specifies the probability that a discrete random variable takes on a particular value.

Total probability

The sum of the probabilities of all events in a sample space equals 1.

Signup and view all the flashcards

Mean of a probability distribution

The average of a discrete probability distribution by weighting each outcome by its probability.

Signup and view all the flashcards

Variance of distribution

A measure of the spread of a probability distribution, showing the average squared deviation from the mean.

Signup and view all the flashcards

Standard deviation

A measure of how much values deviate from their mean.

Signup and view all the flashcards

Expected value

The theoretical average of a random variable, found by summing values times probabilities.

Signup and view all the flashcards

Virus infection probability

A test to determine the probability of infection given test results, accounting for false positives/negatives and infection rate

Signup and view all the flashcards

Study Notes

  • Analysis of probability and statistics is covered

Virus Infection Example

  • A virus infects 1.8% of a population
  • A test detects the virus 95% of the time when present
  • The test returns a false positive 3% of the time when the virus is not present
  • For a person selected at random that tests positive, there is a 0.367 (36.7%) probability that the person is actually infected
    • P(+Test) = P(+Test|Infected) * P(Infected) + P(+Test|Not Infected) * P(Not Infected)
    • P(+Test) = (0.018) * (0.95) + (0.03) * (0.982) = 0.0466
    • P(Infected|+Test) = P(+Test|Infected) * P(Infected) / P(+Test)
    • P(Infected|+Test) = (0.95 * 0.018) / 0.0466 = 0.0367

University Height Example

  • At a certain university, 4% of men are over 6 feet tall in contrast to 1% of women
  • The total student population is divided in the ratio 3:2 in favor of women
  • For a student selected at random from among all those over six feet tall, there is a 0.273 (27.3%) probability that the student is a woman
    • P(M) = 2/5
    • P(F) = 3/5
    • P(T|M) = 4/100
    • P(T|F) = 1/100
    • P(T) = P(T|M) * P(M) + P(T|F) * P(F) = (4/100)(2/5) + (1/100)(3/5) = 0.022
    • P(F|T) = P(T|F) * P(F) / P(T) = (1/100) * (3/5) / 0.022 = 3/11 = 0.273

Marbles Example

  • A box contains 3 blue and 2 red marbles
  • Another box contains 2 blue and 5 red marbles
  • A marble drawn at random from one of the boxes turns out to be blue
  • This is a binary tree diagram showing the probabilities of drawing red or blue marbles from either the first or second box

Discrete Probability Distributions

  • A random variable is a function that associates a real number with each element in the sample space
  • A random variable is a variable whose values are determined by chance
  • Variables can be discrete or continuous
  • A discrete probability distribution consists of the values a random variable can assume, and the corresponding probabilities of those values

Probability Distribution Tables

  • When tossing a fair coin once S={T, H}, X=number of heads, X=0, 1
  • P(x=0) = P(T) = 1/2
  • P(x=1) = P(H) = 1/2
X 0 1
P(X) 1/2 1/2
  • When tossing a fair coin twice S={TT, HT, TH, HH}, X=number of heads, X=0, 1, 2
  • P(x=0) = P(TT) = 1/2 * 1/2 = 1/4
  • P(x=1) = P(HT) + P(TH) = 1/2 * 1/2 + 1/2 * 1/2 = 2/4
  • P(x=2) = P(HH) = 1/2 * 1/2 = 1/4
X 0 1 2
P(X) 1/4 2/4 1/4
  • An example of tossing three coins is show
  • S={TTT, TTH, THT, HTT, HHT, HTH, THH, HHH}, X = number of heads, X= 0, 1, 2, 3
  • P(x=0) = P(TTT) = 1/2 * 1/2 * 1/2 = 1/8
  • P(x=1) = P(TTH) + P(THT) + P(HTT) = 1/21/21/2 + 1/21/21/2 + 1/21/21/2 = 3/8
  • P(x=2) = P(HHT) + P(HTH) + P(THH) = 1/2 * 1/2 * 1/2 + 1/2 * 1/2 * 1/2 + 1/2 * 1/2 * 1/2 = 3/8
  • P(x=3) = P(HHH) = 1/2 * 1/2 * 1/2 = 1/8
Number of Heads (X) 0 1 2 3
Probability P(X) 1/8 3/8 3/8 1/8
  • An example is shown representing graphically the probability distribution for the sample space for tossing three coins
X 0 1 2 3
P(X) 1/8 3/8 3/8 1/8
  • The baseball World Series is played by the winner of the National League and the American League
  • The first team to win four games wins the World Series, in other words, the series will consist of four to seven games, depending on the individual victories
  • Data is shown consisting of the number of games played in the World Series from 1965 through 2005
  • The probability P(X) will be found for each X to construct a probability distribution, and draw a graph for the data
X Number of Games Played
4 8
5 7
6 9
7 16
  • An example distribution table is calculated
For 4 games = 0.200
For 5 games = 0.175
For 6 games = 0.225
For 7 games = 0.400
X 4 5 6 7
P(X) 0.200 0.175 0.225 0.400
  • The sum of the probabilities of all events in a sample space add up to 1
  • Each probability is between 0 and 1, inclusively
  • Whether each distribution is a probability distribution is determined
X 0 5 10 15 20
P(X) 1/5 1/5 1/5 1/5 1/5
  • A checkmark is used to signify that it is a probability distribution
X 0 2 4 6
P(X) -1 1.5 0.3 0.2
  • A cross is used to signify that it is not a probability distribution since it cannot be negative
X 1 2 3 4
P(X) 1/4 1/8 1/16 9/16
  • Mean, Variance, Standard Deviation, and Expected Value are calculated
  • The mean of a random variable with a discrete probability distribution is calculated
    • µ = X₁.P(X₁) + X₂.P(X₂) + X₃.P(X₃) + … + Xn.P(Xn)
    • µ = Σ X.P(X)
  • X₁, X₂, X₃,…, Xn are the outcomes with P(X₁), P(X₂), P(X₃), …, P(Xn) are the corresponding probabilities

Children in Family Example

  • The mean number of children who will be girls, in a family with two children, is one
    • µ = Σ X.P(X) = 0(1/4) + 1(2/4) + 2(1/4) = 1

Tossing Coins Example

  • The mean number of heads that occur when three coins are tossed is 1.5
    • µ = Σ X.P(X) = 0(1/8) + 1(3/8) + 2(3/8) + 3(1/8) = 1.5

Trip Nights Example

  • The probability distribution represents the number of trips of five nights or more that American adults take per year
  • 6% do not take any trips lasting five nights or more
  • 70% take one trip lasting five nights or more per year
    • The mean is 1.2 trips
      • μ = ΣX * P(X) = 0(0.06) + 1(0.70) + 2(0.20) + 3(0.03) + 4(0.01) = 1.2 trips

Variance and Standard Deviation

  • The formula for the variance of a probability distribution is:

    • σ² = Σ [X². P(X)] - μ²
  • Standard Deviation is:

    • σ = √σ²
    • σ = √Σ [X². P(X)] - μ²
  • Alternative formulas for variance and standard deviation:

    • σ² = Σᵢ₌₁(xᵢ - μx)² p(xi)
    • σ = √Σᵢ₌₁(xi− μx)² p(xi)

Rolling Dice Example

  • Compute the variance and standard deviation for the probability distribution.
    • σ² = Σ [X² * P(X)] - μ²
      • σ² = 1² * (1/6) + 2² * (1/6) + 3² * (1/6) + 4² * (1/6) + 5² * (1/6) + 6² * (1/6) - (3.5)²
      • σ² = 2.9
    • The variance is 2.9
    • The standard deviation is 1.7

Selecting Numbered Balls Example

  • A box contains 5 balls, 2 are numbered 3, 1 is numbered 4, and 2 are numbered 5
  • The balls are mixed and one is selected at random, then replaced
  • When repeating the experiment many times, the variance and standard deviation of the numbers on the balls can be determined:
Number on each ball (X) 3 4 5
Probability P(X) 2/5 1/5 2/5
  • The forumlas used are: - μ = ∑X * P(X) = 3(2/5) + 4(1/5) + 5(2/5) = 1.5 - σ² = ∑ [X² * P(X)] - μ² = [3²(2/5) + 4²(1/5) + 5²(2/5)] - 4² = 4/5
    • The variance is 4/5
    • The standard deviation is √4/5 = √0.8 = 0.894

Daily Probability and Distrubution value

  • A formula is shown to work out the daily probability
  • An example is shown for finding the value of K to compute the probability distribution

Statistical Expectation

  • The expected value, or expectation, of a discrete random variable of a probability distribution is the theoretical average of the variable
  • The expected value is, by definition, the mean of the probability distribution
    • E(X) = μ = ΣX * P(X)

Winning Tickets Example

  • One thousand tickets are sold at $1 each for a color television valued at $350
  • The expected value of the gain if one ticket is purchased is -$0.65 - E(X) = $349 * (1/1000) + (-$1)(999/1000) = -$0.65

Expectations

  • If one die is rolled and when gets a number greater than 4, 12$ is won, the cost to play the game is 5$

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser