4 - Sets and Basic Probability

Alex John Quijano

09/20/2021

Previously on Probability versus Statistics…

Probability

  • A measure on how likely an event occurs
  • Computing probabilities have rules
  • Logical reasoning
  • One answer

Statistics

  • Methods on answering how likely it is that a claim is true
  • It’s an Art
  • Data-driven approach to write conclusions
  • Multiple ways to solve problems

Previously on Statistical terms…

Statistical terms we learned and how it applies to problems:

  1. Population - everyone or everything of interest in the context of a research question.

  2. Sample - a fraction of the population taken either randomly or selectively.

  3. Sampling Principles and Strategies: (1) Simple random - each item is equally likely to get sampled, (2) Stratified - items are divided into strata and then a second sampling method, usually simple random sampling, is employed within each stratum, (3) Clustered - items are placed into many groups, called clusters and then we sample a fixed number of clusters and include all observations from each of those clusters in the sample.

  4. Types of studies: (1) Observational - samples are observed or certain outcomes are measured without trying to change, control, or affect them, (2) Experimental - a method where researchers introduce an intervention or control to study its outcomes - usually unknown.

Previously on Statistical terms…

Statistical investigation:

  1. Collect/produce data: the data we get is simply the sample of a target population.

  2. Data exploration: summary statistics visualization, regression, examining relationships, etc…

  3. Analysis and Conclusions: use the data and statistical inference to draw a conclusion about the target population.

How do we know that the observations/data we have is unlikely to have occurred by chance?

What do we mean by “unlikely to have occurred by chance”?

Let’s learn about probability first before we can proceed into hypothesis testing.

Introduction to Sets and Basic Probability


In this lecture, we will learn about

What is probability?



Is the coin fair?

Say we found a coin somewhere and we ask…

Do we have a fair coin?

Sample Space, and Events

Set Notation


Suppose we have events A and B:

Fair Coin

What is a fair coin? “Fair” means equal chance of getting a head (H) or tail (T).

Fair Coin



A fair coin has the following idealized scenario:

Laws of Probability Functions

Probability functions must satisfy the following basic rules:

In General for events A and B…


Fair Coin

We know that for a fair coin, \(P({H}) = \frac{1}{2}\) and \(P({T}) = \frac{1}{2}\).

Now, let’s do an experiment…

Inpependence


What is the probability function for our fair coin? We need to determine the probability for each outcome.

Independence

Recall that the sample space for three coin flips is
\[\Omega = \{\{H,H,H\},\{H,H,T\},\{H,T,T\},\{T,T,T\},\{T,T,H\},\{T,H,H\},\{H,T,H\},\{T,H,T\}\}\]

Independence


Let \(x_i\) be the outcome of the \(i^{th}\) flip.

We can write an outcome of three flips as \[(x_1,x_2,x_3)\] Then, we define the probability function for three coin flips as \[P(x_1,x_2,x_3) = P(x_1)P(x_2)P(x_3) \]

Is the coin fair?

Summary

In this lecture, we talked about the following:

In the next lecture, we will talk about,

Today’s Activity

Work within your groups to discuss your answers for the following questions.

Four coin flips. Suppose we flip a coin four times.

  1. How many possible outcomes are there?

  2. What is the probability of getting four tails?

  3. What is the probability of getting exactly three tails?

  4. What is the probability of getting at most three tails?

  5. What is the probability of getting at least three tails?