Moving on to chapter 2, we will discuss the concept of probability. Probability is a fundamental concept in statistics that quantifies the likelihood of an event occurring. Understanding probability is essential for making informed decisions based on data and statistical analyses.


2.1 Ratio

β€œprobability of event A occurring”

Axioms:

We can find the axioms for probability in the following:

Using the last two, how can we find the null set ?

Well, and are complements of each other.

By complementation:


Union, Inclusive OR

Gradual Addition Rule:

Lets say that a set is a collection of disjoint events.

Then:

if all A,B disjoint, then:

When you don’t have disjoint events, we use the inclusion-exclusion principle:

This can be extrapolated to three circles:

And for the sake of it, let’s do 4 circles, and we will expand out the full probability this time:


A Very Big Example

Example

A song is chosen at random from a perosn’s mp3 player. The student makes a partition of the sample space, according to genre of music. The table below gives the number of outcomes in each part of the partition. There are 27,333 songs altogether.

1032 Alternative83 Electronic56 Metal
330 Blues508 Folk2718 Other
275 Books and Spoken183 Gospel1786 Pop
1468 Childrens Music82 Hop Hop403 R and B
921 Classical564 Holiday8286 Rock
6169 Country537 Jazz1432 Soundtrack
178 Easy Listening106 Latin216 World
**Let A be the event that a song is either blues, jazz or rock; i.e., A = {Xx is blues, jazz, or rock song} when one song is chosen at random. Assume that all songs are equally likely to play.**

Shuffling and star ratings, I have 20 five-star songs and 200 four star sngs on my iPod, which has 2000 songs total.

To prepare, lets make a table.

20
200
1780
n2000
  1. What is the probability of shuffling to a five-star song?
  1. What is the probability of shuffling to a four-star song?
  1. What is the probability of shuffling to either a five or four star song?

Example

You just forgot your locker combination and are too embarrassed to ask for it. You know for sure that the first number is 22, or was it 32? It’s one of those. You are certain that the middle number is a one digit number (0-9), and the last number could be anything between 0 and 45. If the lock is a 3 number lock with numbers 0 through 45, what is the maximum number of tries needed to open it, assuming you don’t repeat any combinations?

We apply the counting rule: if m choices for the first choice and n choices for the 2nd choice:

Example

Mystery probability. Suppose there are 3 events such that:

ExpValue
.20
.10
.40
.05
.10
.03
.01

What is the probability that none of the events happen?