Basic Rules of Probability and Contingency Tables

Fundamental Concepts and Terminology of Probability

  • Probability is a quantitative measure expressed as a value between zero and one, inclusive, that describes the relative possibility, chance, or likelihood that a specific event will occur.

  • A probability value can be converted to a percentage by multiplying by 100%100\%. For example, a probability of 0.750.75 corresponds to a 75%75\% chance of occurrence.

  • A probability experiment is defined as any repeatable process that yields uncertain results. Rolling a standard six-sided die is a probability experiment because the outcome cannot be known prior to the roll, and the process can be repeated indefinitely under identical conditions.

  • An outcome is the specific result of a single trial in a probability experiment. For example, rolling a 33 on a single die roll represents one outcome.

  • The sample space, denoted by SS, is the set of all possible outcomes of a probability experiment. For a standard six-sided die roll, the sample space is the set S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}.

  • An event is a collection of one or more outcomes and constitutes a subset of the sample space. Events are customarily denoted by capital letters such as EE. For example, rolling an odd number on a die roll is an event consisting of the set of outcomes { 1,3,51, 3, 5}.

  • A simple event is an event consisting of exactly one individual outcome. For example, rolling a 33 on a die is a simple event.

  • An impossible event, denoted by II, is an event that can never occur under any circumstances. The probability of an impossible event is exactly zero:

P(I)=0P(I) = 0

  • On a single roll of a standard die containing faces 11 through 66, rolling a 99 is an impossible event.

  • A certain event, denoted by CC, is an event that is guaranteed to occur every time the experiment is conducted. The probability of a certain event is exactly one:

P(C)=1P(C) = 1

  • On a single roll of a standard die, rolling an integer is a certain event because every outcome in the sample space is an integer.

Reference Sets and Standard Gaming Assumptions

  • Probability problems frequently rely on standard reference sets. The structural components of these sets are as follows:

  • Alphabet Reference Data:

    • The English alphabet contains 2626 total letters.

    • Traditional vowels consist of 55 letters: A,E,I,O,UA, E, I, O, U (with YY treated as a vowel only when specified).

    • Consonants comprise the remaining 2121 letters of the alphabet.

  • Calendar Reference Data:

    • A standard non-leap year contains 365365 days.

    • A leap year contains 366366 days.

    • February has 2828 days in a non-leap year and 2929 days in a leap year.

    • Months containing exactly 3030 days are April, June, September, and November (44 months total).

    • Months containing exactly 3131 days are January, March, May, July, August, October, and December (77 months total).

  • Gaming Pieces Reference Data:

    • Standard coins have 22 outcomes: Heads (HH) and Tails (TT).

    • Standard dice are six-sided with face values {1,2,3,4,5,6}\{1, 2, 3, 4, 5, 6\}, unless explicitly specified otherwise.

    • A standard deck of playing cards contains 5252 total cards divided equally into 44 suits: Clubs (♣\clubsuit), Diamonds (♢\diamondsuit), Hearts (♡\heartsuit), and Spades (♠\spadesuit).

    • Each suit contains 1313 card ranks: Ace (AA), 2,3,4,5,6,7,8,9,102, 3, 4, 5, 6, 7, 8, 9, 10, Jack (JJ), Queen (QQ), and King (KK).

    • Face cards consist of Jack (JJ), Queen (QQ), King (KK), and Ace (AA), yielding 44 face cards per suit and a total of 1616 face cards in the deck.

Standard 52-card deck arrangement

Basic Rules and Classical Approach to Probability

  • Probability notation uses the expression P(E)P(E), which reads as "the probability of event EE". Specific letter identifiers are chosen to correspond to the event, such as P(H)P(H) for heads, P(Q)P(Q) for drawing a queen, or P(R)P(R) for drawing a red card.

  • Fundamental Axioms of Probability:

    • Axiom 1: The probability of any event EE must be a value between 00 and 11, inclusive:

0≤P(E)≤10 \le P(E) \le 1

  • Axiom 2: The sum of the probabilities of all possible outcomes xx in the sample space must equal 11:

∑P(x)=1\sum P(x) = 1

  • Classical (Basic) Probability Approach applies when all individual outcomes in a sample space are equally likely to occur. Under this assumption, the probability of an event EE is calculated using the formula:

P(E)=Number of outcomes corresponding to event ETotal number of equally likely outcomesP(E) = \frac{\text{Number of outcomes corresponding to event } E}{\text{Total number of equally likely outcomes}}

  • Standard Classical Calculations:

    • Rolling an even number on a six-sided die (E={2,4,6}E = \{2, 4, 6\}):

P(E)=36=0.5P(E) = \frac{3}{6} = 0.5

  • Obtaining Heads on a coin flip:

P(H)=12=0.5P(H) = \frac{1}{2} = 0.5

  • Rolling a 33 on a single die roll:

P(3)=16P(3) = \frac{1}{6}

  • Drawing a Queen from a standard deck of 5252 cards:

P(Q)=452=113P(Q) = \frac{4}{52} = \frac{1}{13}

Tree Diagrams and Compound Probability Experiments

  • A tree diagram is a visual model used to list all possible outcomes for experiments involving a sequence of step-by-step actions.

  • Consider an experiment consisting of sequentially flipping three coins: a quarter, a dime, and a nickel.

    • Step 1 (Quarter): 22 possible outcomes (HH or TT).

    • Step 2 (Dime): 22 possible outcomes (HH or TT).

    • Step 3 (Nickel): 22 possible outcomes (HH or TT).

    • Using the multiplication rule of counting, the total number of outcomes in the sample space is:

2×2×2=82 \times 2 \times 2 = 8

  • The full sample space SS is:

S={HHH,HHT,HTH,HTT,THH,THT,TTH,TTT}S = \{HHH, HHT, HTH, HTT, THH, THT, TTH, TTT\}

Tree diagram showing 8 outcomes for flipping 3 coins
  • The probability of observing three tails (TTTTTT) in this experiment is:

P(TTT)=18=0.125P(TTT) = \frac{1}{8} = 0.125

Mutually Exclusive Events

  • Two events are defined as mutually exclusive (or disjoint) if they share no outcomes in common. Mutually exclusive events cannot occur simultaneously during a single trial of an experiment.

  • Examples of Disjoint Events:

    • The physical actions of standing and sitting are mutually exclusive.

    • Drawing a single card that is both red and black is impossible; red cards and black cards are mutually exclusive.

  • Die Roll Mutually Exclusive Analysis:

    • Let Event AA be rolling a 11 ({1}\{1\}).

    • Let Event BB be rolling an even number ({2,4,6}\{2, 4, 6\}).

    • Let Event CC be rolling an odd number ({1,3,5}\{1, 3, 5\}).

    • Events AA and BB are disjoint because a single roll cannot be both 11 and even.

    • Events AA and CC are NOT disjoint because rolling a 11 satisfies both Event AA and Event CC

    • Events BB and CC are disjoint because a number cannot be both even and odd.

Complements and Probability Calculations

  • The complement of an event EE, denoted by ECE^C (or alternatively Eˉ\bar{E}, ∼E\sim E, or E′E'), consists of all outcomes in the sample space SS that are not included in event EE. It represents the event that EE does not occur.

  • Fundamental Complement Equations:

P(E)+P(EC)=1P(E) + P(E^C) = 1

P(EC)=1−P(E)P(E^C) = 1 - P(E)

P(E)=1−P(EC)P(E) = 1 - P(E^C)

  • Complement Example: Drawing a card from a standard deck and calculating the probability of NOT drawing a spade (SCS^C):

P(S)=1352P(S) = \frac{13}{52}

P(SC)=1−P(S)=1−1352=3952=0.75P(S^C) = 1 - P(S) = 1 - \frac{13}{52} = \frac{39}{52} = 0.75

  • Probability of an Event Happening "At Least Once":

    • Finding the probability of an event occurring at least once directly can be complex due to the large number of combination cases.

    • The complement of "at least once" is "not at all" (or "none").

    • Formula for at least one:

P(At least one)=1−P(None)P(\text{At least one}) = 1 - P(\text{None})

  • Example: Probability of observing at least one tail (LL) when flipping three coins:

    • Method 1 (Sample Space Direct Count): Out of 88 outcomes, 77 contain at least one tail (HHHHHH is the only outcome without tails):

P(L)=78=0.875P(L) = \frac{7}{8} = 0.875

- Method 2 (Complement Rule): The complement of at least one tail is zero tails (HHHHHH):

P(LC)=P(all H)=18P(L^C) = P(\text{all } H) = \frac{1}{8}

P(L)=1−P(LC)=1−18=78=0.875P(L) = 1 - P(L^C) = 1 - \frac{1}{8} = \frac{7}{8} = 0.875

  • Probability of an Event NOT Happening "At Least Once":

    • The complement of an event NOT happening at least once is that the event ALWAYS happens (or happens every single time).

    • Formula:

P(Not happening at least once)=1−P(Always happens)P(\text{Not happening at least once}) = 1 - P(\text{Always happens})

P(At least one not E)=1−P(All E)P(\text{At least one not } E) = 1 - P(\text{All } E)

Multi-Step Event Analysis and Applied Case Studies

  • Case Study 1: Regional Hurricane Probabilities

    • Given: The probability that Florida is hit by a hurricane in any single year is P(H)=0.48P(H) = 0.48. The probability of no hurricane in a single year is P(HC)=1−0.48=0.52P(H^C) = 1 - 0.48 = 0.52.

    • Scenario 1A: Hit by a hurricane in each of 44 consecutive years (P(all H)P(\text{all } H)).

P(all H)=P(H)×P(H)×P(H)×P(H)=(0.48)4=0.05308416P(\text{all } H) = P(H) \times P(H) \times P(H) \times P(H) = (0.48)^4 = 0.05308416

  • Scenario 1B: Not hit by a hurricane in any of 44 consecutive years (P(no H)P(\text{no } H)).

P(no H)=P(HC)×P(HC)×P(HC)×P(HC)=(0.52)4=0.07311616P(\text{no } H) = P(H^C) \times P(H^C) \times P(H^C) \times P(H^C) = (0.52)^4 = 0.07311616

  • Scenario 1C: Hit by a hurricane at least once in the next 44 years (P(at least 1 H)P(\text{at least 1 } H)).

P(at least 1 H)=1−P(no H)=1−0.07311616=0.92688384P(\text{at least 1 } H) = 1 - P(\text{no } H) = 1 - 0.07311616 = 0.92688384

  • Scenario 1D: NOT hit by a hurricane at least once in the next 44 years (P(no H at least once)P(\text{no } H \text{ at least once})).

P(no H at least once)=1−P(all H)=1−0.05308416=0.94691584P(\text{no } H \text{ at least once}) = 1 - P(\text{all } H) = 1 - 0.05308416 = 0.94691584

  • Case Study 2: Sampling From a Container

    • Given: A bucket contains 100100 total balls, of which 3737 are blue (BB) and 6363 are non-blue (BCB^C). Five balls are randomly selected.

    • Individual probabilities:

P(B)=37100=0.37P(B) = \frac{37}{100} = 0.37

P(BC)=1−0.37=63100=0.63P(B^C) = 1 - 0.37 = \frac{63}{100} = 0.63

  • Scenario 2A: Probability that all 55 chosen balls are blue (P(all B)P(\text{all } B)).

P(all B)=(0.37)5=0.006934396P(\text{all } B) = (0.37)^5 = 0.006934396

  • Scenario 2B: Probability that none of the 55 chosen balls are blue (P(no B)P(\text{no } B)).

P(no B)=(0.63)5=0.099243654P(\text{no } B) = (0.63)^5 = 0.099243654

  • Scenario 2C: Probability that at least one of the chosen balls is blue (P(at least 1 B)P(\text{at least 1 } B)).

P(at least 1 B)=1−P(no B)=1−0.099243654=0.900756346P(\text{at least 1 } B) = 1 - P(\text{no } B) = 1 - 0.099243654 = 0.900756346

  • Scenario 2D: Probability that at least one of the chosen balls is NOT blue (P(at least 1 not B)P(\text{at least 1 not } B)).

P(at least 1 not B)=1−P(all B)=1−0.006934396=0.993065604P(\text{at least 1 not } B) = 1 - P(\text{all } B) = 1 - 0.006934396 = 0.993065604

Contingency Tables

  • A contingency table displays frequencies or probabilities corresponding to two categorical variables simultaneously.

    • Row categories represent all possible outcomes for one event, AA and ACA^C.

    • Column categories represent all possible outcomes for another event, BB and BCB^C.

    • Interior cells display joint probabilities (P(A and B)P(A \text{ and } B), P(A and BC)P(A \text{ and } B^C), etc.) or joint frequencies.

    • Row totals and column totals in the margins display marginal probabilities (P(A)P(A), P(B)P(B), etc.) or marginal frequencies.

    • The bottom-right cell contains the grand total, which equals 11 for probability tables or the sample size nn for frequency tables.

Schematic layout of a probability contingency table
  • Contingency Table Example 1: Deck of Cards Analysis

    • Let FF be the event that a drawn card is a face card (Ace, Jack, Queen, King; 1616 total cards in deck).

    • Let DD be the event that a drawn card is a Diamond (1313 total cards in deck).

    • Frequency Contingency Table:


DD

DCD^C

Totals

FF

44

1212

1616

FCF^C

99

2727

3636

Totals

1313

3939

5252

  • Individual (Marginal) Probabilities calculated as Row or Column TotalGrand Total\frac{\text{Row or Column Total}}{\text{Grand Total}}:

P(F)=1652=413≈0.3077P(F) = \frac{16}{52} = \frac{4}{13} \approx 0.3077

P(FC)=3652=913≈0.6923P(F^C) = \frac{36}{52} = \frac{9}{13} \approx 0.6923

P(D)=1352=14=0.25P(D) = \frac{13}{52} = \frac{1}{4} = 0.25

P(DC)=3952=34=0.75P(D^C) = \frac{39}{52} = \frac{3}{4} = 0.75

  • Joint ("AND") Probabilities calculated as Cell ValueGrand Total\frac{\text{Cell Value}}{\text{Grand Total}}:

P(F and D)=452=113≈0.0769P(F \text{ and } D) = \frac{4}{52} = \frac{1}{13} \approx 0.0769

P(F and DC)=1252=313≈0.2308P(F \text{ and } D^C) = \frac{12}{52} = \frac{3}{13} \approx 0.2308

P(FC and D)=952≈0.1731P(F^C \text{ and } D) = \frac{9}{52} \approx 0.1731

P(FC and DC)=2752≈0.5192P(F^C \text{ and } D^C) = \frac{27}{52} \approx 0.5192

  • Contingency Table Example 2: Months of the Year Analysis

    • Let JJ be the event that a month starts with the letter "J" (January, June, July; 33 months total).

    • Let TT be the event that a month has exactly 3030 days (April, June, September, November; 44 months total).

    • Frequency Contingency Table:


TT

TCT^C

Totals

JJ

11

22

33

JCJ^C

33

66

99

Totals

44

88

1212

  • Itemized breakdowns of months in each cell:

    • J and TJ \text{ and } T: June (11 month).

    • J and TCJ \text{ and } T^C: January, July (22 months).

    • JC and TJ^C \text{ and } T: April, September, November (33 months).

    • JC and TCJ^C \text{ and } T^C: February, March, May, August, October, December (66 months).

  • Calculated Marginal Probabilities:

P(J)=312=14=0.25P(J) = \frac{3}{12} = \frac{1}{4} = 0.25

P(JC)=912=34=0.75P(J^C) = \frac{9}{12} = \frac{3}{4} = 0.75

P(T)=412=13≈0.3333P(T) = \frac{4}{12} = \frac{1}{3} \approx 0.3333

P(TC)=812=23≈0.6667P(T^C) = \frac{8}{12} = \frac{2}{3} \approx 0.6667

  • Calculated Joint Probabilities:

P(J and T)=112≈0.0833P(J \text{ and } T) = \frac{1}{12} \approx 0.0833

P(J and TC)=212=16≈0.1667P(J \text{ and } T^C) = \frac{2}{12} = \frac{1}{6} \approx 0.1667

P(JC and T)=312=14=0.25P(J^C \text{ and } T) = \frac{3}{12} = \frac{1}{4} = 0.25

P(JC and TC)=612=12=0.50P(J^C \text{ and } T^C) = \frac{6}{12} = \frac{1}{2} = 0.50

Advanced Counting and Probability Applications

  • License Plate Configuration Analysis:

    • License plate format: 1AB2345 (11 digit, 22 letters, 44 digits; 77 total position slots).

    • Available pools: 1010 possible digits (00 through 99), 2626 possible letters, 55 odd digits (1,3,5,7,91, 3, 5, 7, 9), and 2121 consonants.

    • Case A: Selection WITH Replacement (Repetition allowed).

    • Total possible license plates:

10×26×26×10×10×10×10=67,600,00010 \times 26 \times 26 \times 10 \times 10 \times 10 \times 10 = 67\text{,}600\text{,}000

- License plates containing only odd numbers and consonants:

5×21×21×5×5×5×5=1,378,1255 \times 21 \times 21 \times 5 \times 5 \times 5 \times 5 = 1\text{,}378\text{,}125

- Probability of selecting an odds-and-consonants plate:

P(odds & consonants)=1,378,12567,600,000≈0.020386P(\text{odds \& consonants}) = \frac{1\text{,}378\text{,}125}{67\text{,}600\text{,}000} \approx 0.020386

  • Case B: Selection WITHOUT Replacement (No repetition allowed).

    • Total possible license plates:

10×26×25×9×8×7×6=19,656,00010 \times 26 \times 25 \times 9 \times 8 \times 7 \times 6 = 19\text{,}656\text{,}000

- License plates containing only odd numbers and consonants without repeats:

5×21×20×4×3×2×1=50,4005 \times 21 \times 20 \times 4 \times 3 \times 2 \times 1 = 50\text{,}400

- Probability of selecting an odds-and-consonants plate without replacement:

P(odds & consonants)=50,40019,656,000≈0.002564P(\text{odds \& consonants}) = \frac{50\text{,}400}{19\text{,}656\text{,}000} \approx 0.002564

  • Alphabet Permutations with Positional Restrictions:

    • Total ways to reorder all 2626 letters of the alphabet without restriction:

26!≈4.03291×102626! \approx 4.03291 \times 10^{26}

  • Total ways to reorder the alphabet such that all 55 vowels are listed first, followed by all 2121 consonants:

    • Reorderings of vowels: 5!=1205! = 120

    • Reorderings of consonants: 21!≈5.10909×101921! \approx 5.10909 \times 10^{19}

    • Total restricted reorderings: 5!×21!5! \times 21!

  • Probability that a random reordering has all vowels listed first:

P(vowels first)=5!×21!26!≈0.0000152P(\text{vowels first}) = \frac{5! \times 21!}{26!} \approx 0.0000152

  • Security Code Probability Analysis:

    • A home security code consists of 66 digits, each selected from 1010 available digits (00 through 99).

    • Total possible 66-digit security codes without restrictions (with replacement):

10×10×10×10×10×10=106=1,000,00010 \times 10 \times 10 \times 10 \times 10 \times 10 = 10^6 = 1\text{,}000\text{,}000

  • Total possible 66-digit security codes containing no repeated digits (without replacement):

10×9×8×7×6×5=151,20010 \times 9 \times 8 \times 7 \times 6 \times 5 = 151\text{,}200

  • Probability that a randomly selected 66-digit security code contains no repeat digits:

P(no repeats)=151,2001,000,000=0.1512P(\text{no repeats}) = \frac{151\text{,}200}{1\text{,}000\text{,}000} = 0.1512