CTJan27 Online Year 9 - Conditional Probability

โ„น๏ธ

Two-Way Frequency Tables: Organizing and Interpreting Data

Introduction to Two-Way Frequency Tables

A two-way frequency table is a tool used to display the relationship between two categorical variables. Categorical variables are variables that can be divided into groups or categories, such as grade level, favorite color, or gender. The table shows how many data points fall into each pair of categories.

Constructing a Two-Way Table

Imagine we survey 100 students about their preferred mode of transportation to school (Bus or Walk) and their grade level (Grade 10 or Grade 11).

The raw data is as follows:

  • 30 students are in Grade 10 and take the bus.
  • 20 students are in Grade 10 and walk.
  • 15 students are in Grade 11 and take the bus.
  • 35 students are in Grade 11 and walk.

We can organize this into a two-way table:

Bus Walk Row Total
Grade 10 30 20 50
Grade 11 15 35 50
Column Total 45 55 100

Interpreting Frequencies

There are two main types of frequencies in the table:

  • Joint Frequencies: These are the values in the body of the table (the inner cells). They represent the count of observations that satisfy both the row and column category. For example, the value 15 is the joint frequency for students who are in Grade 11 AND take the bus.

  • Marginal Frequencies: These are the values in the total row and total column. They represent the total count for a single category, ignoring the other variable. For example, the value 45 is the marginal frequency for all students who take the bus, regardless of their grade.

The number in the bottom-right corner (100) is the grand total, which is the total number of observations in the survey.

Calculating Probabilities from the Table

We can use the frequencies to calculate probabilities. A probability is the likelihood of an event occurring, calculated as: $P(\text{Event}) = \frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}}$.

  • Marginal Probability: This is the probability of a single event occurring. We use the marginal frequencies.

    • Example: What is the probability that a randomly selected student is in Grade 11?
    • We use the marginal frequency for Grade 11 (50) and the grand total (100).
    • $P(\text{Grade 11}) = \frac{\text{Total Grade 11 students}}{\text{Grand Total}} = \frac{50}{100} = 0.5$
  • Joint Probability: This is the probability of two events occurring at the same time. We use the joint frequencies.

    • Example: What is the probability that a randomly selected student is in Grade 11 AND walks to school?
    • We use the joint frequency for 'Grade 11' and 'Walk' (35) and the grand total (100).
    • $P(\text{Grade 11 and Walk}) = \frac{\text{Frequency of Grade 11 and Walk}}{\text{Grand Total}} = \frac{35}{100} = 0.35$
1

A survey of 250 high school students recorded their main source of news (Online or Television) and their grade level. The results are shown in the two-way frequency table below.

Online Television Total
Juniors 80 45 125
Seniors 100 25 125
Total 180 70 250

What is the probability that a randomly selected student is a Junior AND gets their news from Television?

$\frac{45}{125}$

$\frac{125}{250}$

$\frac{45}{250}$

$\frac{70}{250}$

โ„น๏ธ

Two-Way Frequency Tables and Probabilities

Introduction to Two-Way Frequency Tables

A two-way frequency table is a tool used to organize and display data that pertains to two different categorical variables. It helps us see the relationship, if any, between these two variables.

The table is structured with the categories of one variable listed as rows and the categories of the other variable listed as columns.

Parts of a Two-Way Table

Let's look at an example. A survey asked 100 students whether they prefer playing video games or board games in their free time.

Video Games Board Games Total
Boys 40 15 55
Girls 20 25 45
Total 60 40 100

Here's what each part means:

  • Joint Frequencies: These are the values in the main body of the table. They represent the number of individuals who fall into a specific category for both variables. For example, the number 40 is the joint frequency for students who are boys AND prefer video games.

  • Marginal Frequencies: These are the totals for each row and each column, found in the 'margins' of the table. They represent the total number of individuals in a single category for one variable, regardless of the other variable. For example, 55 is the marginal frequency for boys, meaning there are 55 boys in total. Similarly, 60 is the marginal frequency for video games, meaning 60 students prefer video games in total.

  • Grand Total: This is the total number of individuals surveyed, found in the bottom-right corner of the table. In our example, the grand total is 100.

Calculating Probabilities from the Table

We can use the frequencies in the table to calculate probabilities. The basic formula for probability is:

$P(\text{event}) = \frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}}$

1. Joint Probability

This is the probability that two events occur at the same time. We use a joint frequency for the numerator and the grand total for the denominator.

Example: What is the probability that a randomly selected student is a girl AND prefers board games?

$P(\text{Girl and Board Games}) = \frac{\text{Number of girls who prefer board games}}{\text{Grand Total}} = \frac{25}{100} = 0.25$

2. Marginal Probability

This is the probability of a single event occurring. We use a marginal frequency (a row or column total) for the numerator and the grand total for the denominator.

Example: What is the probability that a randomly selected student prefers video games?

$P(\text{Video Games}) = \frac{\text{Total who prefer video games}}{\text{Grand Total}} = \frac{60}{100} = 0.60$

2

A survey of 200 high school students about their preferred mode of transport to school is summarized in the table below.

Bus Car Walk Total
11th Grade 50 30 20 100
12th Grade 40 45 15 100
Total 90 75 35 200

What does the value '90' in the 'Total' row represent?

A joint frequency of students who take the bus.

The grand total of students surveyed.

A marginal frequency of students who take the bus.

The total number of 11th-grade students.

3

Using the same transport table, what is the joint frequency of 12th-grade students who travel by car?

30

45

75

100

4

From the transport table, what is the marginal probability that a randomly selected student walks to school?

$\frac{15}{100}$

$\frac{35}{100}$

$\frac{35}{200}$

$\frac{20}{200}$

5

What is the joint probability that a randomly selected student is in 11th grade AND takes the bus?

$\frac{90}{200}$

$\frac{50}{200}$

$\frac{100}{200}$

$\frac{50}{100}$

6

The table below shows the results of a survey about favorite movie genres and snacks.

Popcorn Candy Total
Comedy 45 15 60
Action 35 25 60
Drama 10 20 30
Total 90 60 150

How many people were surveyed in total?

150

60

90

30

7

Using the movie snack table, what is the marginal frequency for people who prefer Popcorn?

60

90

150

45

8

What is the joint frequency of people who prefer Action movies and Candy?

35

25

50

60

9

Calculate the marginal probability that a person's favorite movie genre is Comedy.

$\frac{90}{150}$

$\frac{15}{60}$

$\frac{60}{150}$

$\frac{45}{150}$

10

Calculate the joint probability that a person prefers Drama movies AND Popcorn.

$\frac{10}{150}$

$\frac{30}{150}$

$\frac{10}{90}$

$\frac{10}{30}$

11

A sports club has 80 members. The data on their chosen sport (Tennis or Squash) and age group (Adult or Junior) is partially shown. There are 45 adults in total. There are 55 members who play Tennis in total. How many adults play Tennis?

Tennis Squash Total
Adult ? 45
Junior 35
Total 55 25 80

If 15 adults play Squash, how many adults play Tennis?

30

45

15

55

12

Using the completed sports club table from the previous question (30 Adults play Tennis, 15 Adults play Squash, 25 Juniors play Tennis, 10 Juniors play Squash), what is the joint probability of selecting a member who is a Junior AND plays Squash?

$\frac{35}{80}$

$\frac{10}{25}$

$\frac{10}{80}$

$\frac{10}{35}$

13

Which term describes the total number of students in 11th grade from the transport table?

Marginal Frequency

Marginal Probability

Joint Frequency

Grand Total

14

To calculate a joint probability, you divide a joint frequency by the...

Column Total

Another Joint Frequency

Row Total

Grand Total

15

In the movie snack table, if you add the marginal frequency for Popcorn (90) and the marginal frequency for Candy (60), what do you get?

It doesn't represent a meaningful value in the table.

The total number of people who like Comedy movies.

The total number of people who like Action movies.

The grand total.

16

In a two-way frequency table, the sum of all joint frequencies is equal to the...

Sum of the first row's frequencies.

Largest marginal frequency.

Sum of the first column's frequencies.

Grand total.

17

The transport table shows the preferences of 200 students.

Bus Car Walk Total
11th Grade 50 30 20 100
12th Grade 40 45 15 100
Total 90 75 35 200

How many students in total are in 12th Grade?

18

The table below is missing a value for the number of people who prefer Action movies and Popcorn.

Popcorn Candy Total
Comedy 45 15 60
Action ? 25 60
Drama 10 20 30
Total 90 60 150

What is the missing value?

19

Using the transport table, what is the marginal probability that a randomly selected student is in 11th grade? Express your answer as a decimal.

Bus Car Walk Total
11th Grade 50 30 20 100
12th Grade 40 45 15 100
Total 90 75 35 200
20

Using the movie snack table, what is the joint probability that a randomly selected person prefers Comedy movies AND Popcorn? Express your answer as a decimal.

Popcorn Candy Total
Comedy 45 15 60
Action 35 25 60
Drama 10 20 30
Total 90 60 150
21

A survey of 50 students was taken about whether they have a pet dog or a pet cat. 15 students have a dog, but not a cat. 20 students have a cat, but not a dog. 5 students have both. Complete the two-way table below.

Has Cat No Cat Total
Has Dog 5 15 20
No Dog 20 ? 30
Total 25 25 50

How many students have neither a cat nor a dog?

22

In a certain school, the probability that a student takes Music is 0.4, the probability that a student takes Drama is 0.5, and the probability that a student takes both Music and Drama is 0.15. What is the probability that a randomly selected student takes Music or Drama?

$0.6$

$0.9$

$0.25$

$0.75$

23

Using the information from the previous question, where $P(\text{Music}) = 0.4$, $P(\text{Drama}) = 0.5$, and $P(\text{Music} \cap \text{Drama}) = 0.15$. What is the probability that a randomly selected student takes neither Music nor Drama?

$0.75$

$0.25$

$0.1$

$0.5$

24

Given that $P(\text{Music}) = 0.4$, $P(\text{Drama}) = 0.5$, and $P(\text{Music} \cap \text{Drama}) = 0.15$. What is the probability that a randomly selected student takes Drama but not Music?

$0.15$

$0.25$

$0.5$

$0.35$

25

A company produces laptops. The probability that a laptop has a touchscreen is 0.8, and the probability it has a backlit keyboard is 0.7. The probability that it has neither feature is 0.1. What is the probability that a randomly chosen laptop has both a touchscreen and a backlit keyboard?

$0.56$

$0.6$

$0.9$

$0.1$

26

For a particular laptop model, the probability of it having a touchscreen is 0.8, a backlit keyboard is 0.7, and neither is 0.1. What is the probability that a laptop has a touchscreen or a backlit keyboard?

$1.5$

$0.7$

$0.9$

$0.8$

27

At a bookshop, the probability that a book is non-fiction is 0.4. The probability that a book is a paperback is 0.7. The probability that a book is a non-fiction paperback is 0.25. What is the probability that a randomly chosen book is a fiction paperback?

$0.45$

$0.3$

$0.15$

$0.6$

28

In a bookshop, the probability that a book is a paperback is 0.7. What is the probability that a randomly chosen book is a hardcover?

$0.7$

$0.5$

$0.3$

$1.0$

29

A group of 80 students went on a trip. 50 students went swimming, and 45 went hiking. Every student participated in at least one of the two activities. What is the probability that a randomly chosen student participated in both swimming and hiking?

$\frac{5}{80}$

$\frac{45}{80}$

$\frac{50}{80}$

$\frac{15}{80}$

30

In a survey of 100 people, 60 own a car and 50 own a bicycle. 20 people own neither. What is the probability that a randomly selected person owns both a car and a bicycle?

$0.3$

$0.5$

$0.6$

$0.2$

31

From a survey of 100 people, it is known that 60 own a car, 50 own a bicycle, and 30 own both. What is the probability that a person owns a car but not a bicycle?

$0.3$

$0.2$

$0.5$

$0.4$

32

A single card is drawn from a standard 52-card deck. Let A be the event that the card is a King and B be the event that the card is a spade. What is $P(A \cup B)$?

$\frac{16}{52}$

$\frac{17}{52}$

$\frac{4}{52}$

$\frac{1}{52}$

33

A card is drawn from a standard 52-card deck. Let A be the event 'the card is a red card' and C be the event 'the card is a ten'. What is the probability of drawing a card that is red or a ten, i.e., $P(A \cup C)$?

$\frac{4}{52}$

$\frac{30}{52}$

$\frac{26}{52}$

$\frac{28}{52}$

34

Given two events X and Y, we know that $P(X) = 0.7$, $P(Y) = 0.4$, and $P(X \cup Y) = 0.9$. Find the probability of their intersection, $P(X \cap Y)$.

$0.4$

$0.3$

$0.2$

$0.1$

35

In a city, the probability that a household has a dog is 0.45. The probability that a household has a cat is 0.35. The probability that a household has neither a dog nor a cat is 0.4. What is the probability that a household has a dog but not a cat?

$0.20$

$0.45$

$0.25$

$0.15$

36

At a clinic, patients are classified by blood type (O or Not O) and Rh factor (+ or -). The probability a patient has type O blood is 0.4. The probability a patient is Rh- is 0.15. The probability a patient is type O and Rh+ is 0.35. What is the probability a patient is Not O and Rh-?

$0.05$

$0.1$

$0.15$

$0.25$

โ„น๏ธ

An Introduction to Conditional Probability

This lesson introduces the fundamental concepts of conditional probability, a key area in probability theory.

Definition of Conditional Probability

Conditional probability is the likelihood of an event occurring, given that another event has already occurred. The key idea is that the knowledge of a prior event can change the probability of a future event. For example, the probability of drawing a Queen from a deck of cards changes if you already know the card drawn is a face card.

Conditional Probability Notation: P(A|B)

The notation for conditional probability is $P(A|B)$. This is read as "the probability of event A occurring, given that event B has occurred."

  • A is the event we are interested in.
  • B is the condition, the event that we know has already happened.

The Conditional Probability Formula

The probability of A given B can be calculated using the following formula:

$P(A|B) = \frac{P(A \cap B)}{P(B)}$

Where:

  • $P(A \cap B)$ is the probability that both event A and event B occur (the intersection of A and B).
  • $P(B)$ is the probability that event B occurs. It is important that $P(B) > 0$, as we cannot condition on an impossible event.

Concept of a Reduced Sample Space

When we are given that event B has occurred, we are no longer considering all possible outcomes in the original sample space. Instead, our new, reduced sample space consists only of the outcomes where B is true. The conditional probability $P(A|B)$ is then the proportion of these outcomes in the reduced sample space that also satisfy event A.

Example: Suppose we roll a single six-sided die. The sample space is $S = \{1, 2, 3, 4, 5, 6\}$. Let A be the event 'the number is even' and B be the event 'the number is greater than 3'.

  • If we want $P(A|B)$, we are given that the number is greater than 3. Our reduced sample space is now just $B = \{4, 5, 6\}$.
  • Within this new sample space, which outcomes are even (event A)? The outcomes are $\{4, 6\}$.
  • Therefore, $P(A|B) = \frac{\text{Number of outcomes in A and B}}{\text{Number of outcomes in B}} = \frac{2}{3}$.

Independent versus Dependent Events

The concept of conditional probability helps us define whether events are independent or dependent.

  • Independent Events: Two events A and B are independent if the occurrence of one does not affect the probability of the other. In this case: $P(A|B) = P(A)$ and $P(B|A) = P(B)$. Example: Flipping a coin twice. The outcome of the first flip does not change the probability of getting heads on the second flip.

  • Dependent Events: Two events are dependent if the occurrence of one does affect the probability of the other. In this case: $P(A|B) eq P(A)$. Example: Drawing two cards from a deck without replacement. The probability of drawing a King on the second draw depends on whether a King was drawn on the first draw.

The General Multiplication Rule

By rearranging the conditional probability formula, we get the General Multiplication Rule, which is used to find the probability of the intersection of two events:

$P(A \cap B) = P(B) \cdot P(A|B)$

Or, equivalently:

$P(A \cap B) = P(A) \cdot P(B|A)$

This rule states that the probability of both A and B occurring is the probability of B occurring, multiplied by the probability of A occurring given that B has already occurred.

Example: What is the probability of drawing two Aces from a standard deck of 52 cards without replacement?

  • Let A be drawing an Ace first, and B be drawing an Ace second.
  • $P(A) = \frac{4}{52}$
  • Given that the first card was an Ace, there are now 3 Aces left in a deck of 51 cards. So, $P(B|A) = \frac{3}{51}$.
  • Using the multiplication rule: $P(A \cap B) = P(A) \cdot P(B|A) = \frac{4}{52} \cdot \frac{3}{51} = \frac{12}{2652} = \frac{1}{221}$.
37

A box contains 6 red balls and 4 blue balls. Two balls are drawn from the box one after the other, without replacement. What is the probability that both balls drawn are red?

$\frac{9}{25}$

$\frac{1}{3}$

$\frac{2}{5}$

$\frac{1}{2}$

38

What is the definition of conditional probability?

The probability of an event occurring.

The probability of an event occurring, given that another event has already occurred.

The probability of two events occurring at the same time.

The probability that an event does not occur.

39

How is the probability of event A occurring, given that event B has occurred, denoted?

$P(B|A)$

$P(A|B)$

$P(A \cap B)$

$P(A \cup B)$

40

Which formula correctly represents the conditional probability of A given B, assuming $P(B) eq 0$?

$P(A|B) = \frac{P(A \cup B)}{P(B)}$

$P(A|B) = \frac{P(B)}{P(A \cap B)}$

$P(A|B) = P(A) \times P(B)$

$P(A|B) = \frac{P(A \cap B)}{P(B)}$

41

A fair six-sided die is rolled. What is the probability of rolling a 4, given that the outcome is an even number?

$\frac{1}{2}$

$\frac{2}{3}$

$\frac{1}{3}$

$\frac{1}{6}$

42

If events A and B are independent, which of the following statements about $P(A|B)$ is true?

$P(A|B) = P(B)$

$P(A|B) = P(A) \times P(B)$

$P(A|B) = P(A)$

$P(A|B) = 0$

43

Which of the following represents the General Multiplication Rule for any two events A and B?

$P(A \cap B) = \frac{P(A|B)}{P(B)}$

$P(A \cap B) = P(A|B)P(B)$

$P(A \cup B) = P(A) + P(B) - P(A \cap B)$

$P(A \cap B) = P(A) + P(B)$

44

Given that the probability of the intersection of two events A and B is $P(A \cap B) = 0.2$ and the probability of event B is $P(B) = 0.5$, what is $P(A|B)$?

$0.25$

$0.4$

$0.1$

$0.7$

45

In a class of 30 students, 18 are boys and 12 are girls. 10 boys and 8 girls passed the recent test. If a student is randomly selected and is a boy, what is the probability that he passed the test?

$\frac{10}{18}$

$\frac{18}{30}$

$\frac{10}{30}$

$\frac{8}{12}$

46

You draw a card from a standard deck of 52 cards, and then draw another card without replacement. How would you classify the events "the first card is a Queen" and "the second card is a Queen"?

Independent, because the two cards drawn are different.

Dependent, because the outcome of the first draw affects the probabilities of the second draw.

Dependent, only if the first card drawn is a Queen.

Independent, because the deck is well-shuffled.

47

The probability that a student studies for a test is 0.7. The probability that a student passes the test, given that they studied, is 0.9. What is the probability that a randomly selected student studied and passed the test?

$0.9$

$0.7$

$0.63$

$1.6$

48

The concept of conditional probability involves...

re-evaluating the probability of an event based on new information or a given condition.

calculating the probability of events that are mutually exclusive.

assuming all events are independent of each other.

finding the probability of the union of two separate events.

49

The expression $P(\text{Student is on the basketball team | Student is male})$ represents:

The probability that a student is on the basketball team, given they are male.

The probability that a student is male or on the basketball team.

The probability that a student is male and on the basketball team.

The probability that a student is male, given they are on the basketball team.

50

If $P(X) = 0.4$, $P(Y) = 0.6$, and $P(X \cap Y) = 0.3$, what is $P(Y|X)$?

$0.5$

$0.6$

$0.24$

$0.75$

51

A jar contains 5 red marbles and 3 blue marbles. You pick one marble, and it is red. You do not replace it. What is the probability that the second marble you pick is also red?

$\frac{4}{7}$

$\frac{4}{8}$

$\frac{5}{7}$

$\frac{5}{8}$

52

Which of the following pairs of events is most likely independent?

Event A: It is winter. Event B: The temperature is below freezing.

Event A: A person is a smoker. Event B: The person has yellow-stained fingers.

Event A: Rolling a 6 on a fair die. Event B: Flipping heads on a fair coin.

Event A: A student studies for an exam. Event B: The student gets a good grade.

53

From a standard deck of 52 cards, two cards are drawn without replacement. What is the probability that both cards are Aces?

$\frac{4}{52} \times \frac{3}{51}$

$\frac{4}{52} \times \frac{4}{52}$

$\frac{4}{52} + \frac{3}{51}$

$\frac{4}{52} + \frac{4}{51}$

54

When we calculate a conditional probability $P(A|B)$, the sample space is effectively reduced to the outcomes in which event?

$A \cap B$

A

$A \cup B$

B

55

The table shows the distribution of students in a school by grade and favorite sport.

Football Basketball Total
Grade 10 40 30 70
Grade 11 50 40 90
Total 90 70 160

A student is chosen at random. What is the probability that the student's favorite sport is Basketball, given that the student is in Grade 11?

$\frac{40}{160}$

$\frac{40}{70}$

$\frac{40}{90}$

$\frac{70}{160}$

56

If A and B are independent events with $P(A) = 0.3$ and $P(B) = 0.6$, what is $P(A \cap B)$?

$0.3$

$0.5$

$0.9$

$0.18$

57

The formula $P(A \cap B) = P(B|A)P(A)$ is a rearrangement of the conditional probability formula. It is most commonly known as:

Bayes' Theorem

The General Addition Rule

The Law of Total Probability

The General Multiplication Rule

Password Protected

โ†“