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β
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 Alternative | 83 Electronic | 56 Metal |
---|---|---|
330 Blues | 508 Folk | 2718 Other |
275 Books and Spoken | 183 Gospel | 1786 Pop |
1468 Childrens Music | 82 Hop Hop | 403 R and B |
921 Classical | 564 Holiday | 8286 Rock |
6169 Country | 537 Jazz | 1432 Soundtrack |
178 Easy Listening | 106 Latin | 216 World |
**Let A be the event that a song is either blues, jazz or rock; i.e., A = {X | x 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 | |
n | 2000 |
- What is the probability of shuffling to a five-star song?
- What is the probability of shuffling to a four-star song?
- 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:
Exp Value .20 .10 .40 .05 .10 .03 .01
What is the probability that none of the events happen?