Randomness refers to the inherent unpredictability of a sequence of events. In statistics, randomness is a key concept that underlies many statistical methods and procedures. Understanding randomness is essential for interpreting data and making informed decisions based on statistical analyses.

In this chapter, we will examine some concepts of randomsness: outcomes, events, and sample spaces.


Outcomes, Events, and Sample Spaces

Look at the experiements/trials:

An event is a collection of some outcomes,

a subject of the sample space.

Example

Let be the outcome of rolling the die and getting a 1:

Let be the event of rolling an even number.

Let be the event of rolling a number divisible by 3.

Venn Diagram

Where every outcome is also an outcome of inside sample space

Python
Output

For brevity, won’t include Venn diagram for each relation, but I will list a few of them:

Relations of Events

And their included notation

De Morgan’s Laws

Notation:

Abstract:

De Morgan’s Laws are a pair of fundamental rules in set theory that describe how the union and intersection of sets are related. The first law states that the complement of the union of two sets is equal to the intersection of the complements of the sets. The second law states that the complement of the intersection of two sets is equal to the union of the complements of the sets.


Applying What We Know So Far

> Roll 1 die twice.

  • Let be the roll
  • Let be the roll

Make a table

111213141516
212223242526
313233343536
414243444546
515253545556
616263646566

This yields 36 possible outcomes.

Let be the sum of the 2 rolls:

We let be the event that the sum of the 2 rolls equals 4.

Let be the event that

Let be the event that is greater than .


Playing Angry Birds

Say you are playing the famous and fun game Angry birds. Let’s say that for this case:

  • = win
  • = lose

Every time you lose, you have to start over from the beggning.

Consider the event that you win in less than times:

Here, we can see that the sample space is infinite, and the event that you win in less than times is a finite event.