+ - 0:00:00
Notes for current slide
Notes for next slide

MATH 204 Introduction to Statistics

Lecture 7: Introduction to Probability

JMG

1

Goals for Lecture

  • Introduce basic concepts and terminology for probability. Textbook section 3.1
2

Goals for Lecture

  • Introduce basic concepts and terminology for probability. Textbook section 3.1

    • Introduce the ideas of random process, outcome, event, probability, and probability distribution. Textbook sections 3.1.2, 3.1.3, 3.1.4, and 3.1.5.
3

Goals for Lecture

  • Introduce basic concepts and terminology for probability. Textbook section 3.1

    • Introduce the ideas of random process, outcome, event, probability, and probability distribution. Textbook sections 3.1.2, 3.1.3, 3.1.4, and 3.1.5.

    • We discuss mutually exclusive and independent events. Textbook sections 3.1.3, 3.1.7, 2.1.5.

4

Goals for Lecture

  • Introduce basic concepts and terminology for probability. Textbook section 3.1

    • Introduce the ideas of random process, outcome, event, probability, and probability distribution. Textbook sections 3.1.2, 3.1.3, 3.1.4, and 3.1.5.

    • We discuss mutually exclusive and independent events. Textbook sections 3.1.3, 3.1.7, 2.1.5.

  • We will also use R to illustrate some of the basic probability concepts.

5

Why Do We Study Probability?

  • Probability forms the foundation of statistics.
6

Why Do We Study Probability?

  • Probability forms the foundation of statistics.

  • Probability provides us with a precise language for discussing uncertainty.

7

Why Do We Study Probability?

  • Probability forms the foundation of statistics.

  • Probability provides us with a precise language for discussing uncertainty.

    • Suppose we want to know about the average amount of coffee students consume. If we take repeated samples, we will likely get a different mean value for each sample. How much variation is to be expected for the sample mean? This is a question that probability provides us with the tools to answer.
8

Probability Video

Please review this video at your earliest convenience:

9

Random Processes

  • Consider the game of rolling a single six-sided (fair) die.

10

Dice as a Random Process

  • Tossing a single die provides an example of a random process.
11

Dice as a Random Process

  • Tossing a single die provides an example of a random process.

  • A random process is any process with a well-defined but unpredictable set of possible outcomes.

12

Dice as a Random Process

  • Tossing a single die provides an example of a random process.

  • A random process is any process with a well-defined but unpredictable set of possible outcomes.

  • For example, we know that tossing a die will result in "rolling" a value of one of 1, 2, 3, 4, 5, or 6. However, we can not predict with absolute certainty which value we will roll on any given toss of the die.

13

Dice as a Random Process

  • Tossing a single die provides an example of a random process.

  • A random process is any process with a well-defined but unpredictable set of possible outcomes.

  • For example, we know that tossing a die will result in "rolling" a value of one of 1, 2, 3, 4, 5, or 6. However, we can not predict with absolute certainty which value we will roll on any given toss of the die.

  • Can you think of another example of a random process? Can you think of an example of a process that is not a random process?

14

Outcomes of a Random Process

  • An outcome for a random process is any one of the possible results from the random process.
15

Outcomes of a Random Process

  • An outcome for a random process is any one of the possible results from the random process.

  • For example, the set of outcomes for the random process of tossing a single six-sided die is the values 1, 2, 3, 4, 5, 6.

16

Outcomes of a Random Process

  • An outcome for a random process is any one of the possible results from the random process.

  • For example, the set of outcomes for the random process of tossing a single six-sided die is the values 1, 2, 3, 4, 5, 6.

  • Any collection of outcomes is called an event.

17

Outcomes of a Random Process

  • An outcome for a random process is any one of the possible results from the random process.

  • For example, the set of outcomes for the random process of tossing a single six-sided die is the values 1, 2, 3, 4, 5, 6.

  • Any collection of outcomes is called an event.

  • For example, the event of rolling a even value is made up of the collection of outcomes 2, 4, 6.

18

Outcomes of a Random Process

  • An outcome for a random process is any one of the possible results from the random process.

  • For example, the set of outcomes for the random process of tossing a single six-sided die is the values 1, 2, 3, 4, 5, 6.

  • Any collection of outcomes is called an event.

  • For example, the event of rolling a even value is made up of the collection of outcomes 2, 4, 6.

  • Two events are said to be mutually exclusive if they cannot both happen at the same time. For example, the events of rolling an even number and rolling an odd number after tossing a six-sided die are two mutually exclusive events.

19

Outcomes of a Random Process

  • An outcome for a random process is any one of the possible results from the random process.

  • For example, the set of outcomes for the random process of tossing a single six-sided die is the values 1, 2, 3, 4, 5, 6.

  • Any collection of outcomes is called an event.

  • For example, the event of rolling a even value is made up of the collection of outcomes 2, 4, 6.

  • Two events are said to be mutually exclusive if they cannot both happen at the same time. For example, the events of rolling an even number and rolling an odd number after tossing a six-sided die are two mutually exclusive events.

  • On the other hand the events of rolling an even number and rolling a number less than five are NOT mutually exclusive.

20

Assigning Probabilities

The probability of an outcome is the proportion of times the outcome would occur if we observed the random process an infinite number of times.

21

Assigning Probabilities

The probability of an outcome is the proportion of times the outcome would occur if we observed the random process an infinite number of times.

  • The probability of any individual outcome for the random process of tossing a six-sided (fair) die is 1616.
22

Assigning Probabilities

The probability of an outcome is the proportion of times the outcome would occur if we observed the random process an infinite number of times.

  • The probability of any individual outcome for the random process of tossing a six-sided (fair) die is 1616.
  • Note that in general a probability value must be a number between 0 and 1 since it is a proportion.
23

Some Notation

  • In probability theory, we often denote events by capital letters such as AA, BB, etc., or sometimes even with subscripts such as A1A1, A2A2, etc.
24

Some Notation

  • In probability theory, we often denote events by capital letters such as AA, BB, etc., or sometimes even with subscripts such as A1A1, A2A2, etc.

  • We denote the probability of an event, say AA by P(A)P(A).

25

Some Notation

  • In probability theory, we often denote events by capital letters such as AA, BB, etc., or sometimes even with subscripts such as A1A1, A2A2, etc.

  • We denote the probability of an event, say AA by P(A)P(A).

  • For example, if AA is the event of rolling an even number after tossing a six-sided (fair) die, then P(A)=12P(A)=12.

26

The Addition Rule

  • If A1A1 and A2A2 are mutually exclusive events, then P(A1 or A2)=P(A1)+P(A2)P(A1 or A2)=P(A1)+P(A2).
27

The Addition Rule

  • If A1A1 and A2A2 are mutually exclusive events, then P(A1 or A2)=P(A1)+P(A2)P(A1 or A2)=P(A1)+P(A2).

  • For example, let A1A1 be the event of rolling a number less than 3 and let A2A2 be the event of rolling a number greater than or equal to 4. (Explain why these events are mutually exclusive.) Then

P(A1 or A2)=P(rolling less than 3, or greater or equal to 4)=P( rolling 1, 2, 4, 5, 6)=56P(A1 or A2)=P(rolling less than 3, or greater or equal to 4)=P( rolling 1, 2, 4, 5, 6)=56

28

The Addition Rule

  • If A1A1 and A2A2 are mutually exclusive events, then P(A1 or A2)=P(A1)+P(A2)P(A1 or A2)=P(A1)+P(A2).

  • For example, let A1A1 be the event of rolling a number less than 3 and let A2A2 be the event of rolling a number greater than or equal to 4. (Explain why these events are mutually exclusive.) Then

P(A1 or A2)=P(rolling less than 3, or greater or equal to 4)=P( rolling 1, 2, 4, 5, 6)=56P(A1 or A2)=P(rolling less than 3, or greater or equal to 4)=P( rolling 1, 2, 4, 5, 6)=56

On the other hand,

P(A1)+P(A2)=P(rolling less than 3)+P(rolling greater or equal to 4)=P(rolling 1, 2)+P(rolling 4, 5, 6)=26+36=56

29

The Complement of an Event

  • The complement of an event is the collection of all outcomes that do not belong to that event. If A is an event, we denote its complement by AC.
30

The Complement of an Event

  • The complement of an event is the collection of all outcomes that do not belong to that event. If A is an event, we denote its complement by AC.

  • Suppose that A is the event of rolling a value less than or equal to 2. Then AC is the event of rolling a value greater or equal to 3.

31

The Complement of an Event

  • The complement of an event is the collection of all outcomes that do not belong to that event. If A is an event, we denote its complement by AC.

  • Suppose that A is the event of rolling a value less than or equal to 2. Then AC is the event of rolling a value greater or equal to 3.

  • Explain why an event and it's complement are necessarily mutually exclusive.

32

The Complement of an Event

  • The complement of an event is the collection of all outcomes that do not belong to that event. If A is an event, we denote its complement by AC.

  • Suppose that A is the event of rolling a value less than or equal to 2. Then AC is the event of rolling a value greater or equal to 3.

  • Explain why an event and it's complement are necessarily mutually exclusive.

  • If P(A) is the probability of an event, then P(AC)=1P(A). Likewise, P(A)=1P(AC).

33

The Complement of an Event

  • The complement of an event is the collection of all outcomes that do not belong to that event. If A is an event, we denote its complement by AC.

  • Suppose that A is the event of rolling a value less than or equal to 2. Then AC is the event of rolling a value greater or equal to 3.

  • Explain why an event and it's complement are necessarily mutually exclusive.

  • If P(A) is the probability of an event, then P(AC)=1P(A). Likewise, P(A)=1P(AC).

  • The probability of rolling a value of 3 is 16. By the last rule, the probability of rolling any other value besides 3 is 116=56.

34

Probability Distributions

A probability distribution is a table of all mutually excusive outcomes and their associated probabilities.

35

Probability Distributions

A probability distribution is a table of all mutually excusive outcomes and their associated probabilities.

  • For example, consider the random process of tossing two six-sided fair dice and recording the sum of the value of the two dice. Then the possible outcomes are the values 2 through 12. The following table displays the probability for each outcome.
36

Probability Distributions

A probability distribution is a table of all mutually excusive outcomes and their associated probabilities.

  • For example, consider the random process of tossing two six-sided fair dice and recording the sum of the value of the two dice. Then the possible outcomes are the values 2 through 12. The following table displays the probability for each outcome.
Dice sum 2 3 4 5 6 7 8 9 10 11 12
Probability 1/36 2/36 3/36 4/36 5/36 6/36 5/36 4/36 3/36 2/36 1/36
37

Displaying Probability Distributions

Often, we can display a probability distribution as a barplot; For example,

38

Independent Events

  • Suppose we want to solve the following problem: Toss two coins one at a time, what is the probability that they both land heads up?
39

Independent Events

  • Suppose we want to solve the following problem: Toss two coins one at a time, what is the probability that they both land heads up?

  • It is a fact that knowing the outcome of the first coin toss provides no information about what the outcome of the second coin toss will be.

40

Independent Events

  • Suppose we want to solve the following problem: Toss two coins one at a time, what is the probability that they both land heads up?

  • It is a fact that knowing the outcome of the first coin toss provides no information about what the outcome of the second coin toss will be.

  • This example illustrates the concept of independence or independent events.

41

Working with Independent Events

  • If two events A1 and A2 are independent, then

P(A1 and A2)=P(A1)P(A2)

42

Working with Independent Events

  • If two events A1 and A2 are independent, then

P(A1 and A2)=P(A1)P(A2)

  • We can use this to solve our question from the last slide. The event of landing two heads can be thought of as the event A1 and A2 where A1 is the event that the first toss lands heads and A2 is the event that the second toss lands heads. Then

P(A1 and A2)=P(A1)P(A2)=1212=14

43

Working with Independent Events

  • If two events A1 and A2 are independent, then

P(A1 and A2)=P(A1)P(A2)

  • We can use this to solve our question from the last slide. The event of landing two heads can be thought of as the event A1 and A2 where A1 is the event that the first toss lands heads and A2 is the event that the second toss lands heads. Then

P(A1 and A2)=P(A1)P(A2)=1212=14

  • Here is an example of two events that are NOT independent. Suppose that A1 is the event of rolling an even number from a die toss and A2 is the event of rolling an odd number from a die toss. Then A1 and A2 are not independent. In fact, mutually exclusive events are only indepent if the probability of one of them is zero.
44

An Application of Independence

Suppose we randomly select a person. Furthermore, suppose that the probability of randomly selecting a left-handed person is 0.48 and suppose that probability of randomly selecting a person who likes cats is 0.33. We would expect that handedness and predilection for cats are independent. Thus, the probability of randomly selecting a left-handed person who likes cats is

0.48*0.33
## [1] 0.1584
45

Summary

In this lecture, we covered the topics of

46

Summary

In this lecture, we covered the topics of

  • Random processes, outcomes, events, probabilities, and probability distributions
47

Summary

In this lecture, we covered the topics of

  • Random processes, outcomes, events, probabilities, and probability distributions

  • We discussed mutually exclusive and independent events

48

Notes

49

Notes

50

Notes

51

Goals for Lecture

  • Introduce basic concepts and terminology for probability. Textbook section 3.1
2
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
oTile View: Overview of Slides
sToggle scribble toolbox
Esc Back to slideshow