sample space and events

27
Sample Space and Events Section 2.1 An experiment: is any action, process or phenomenon whose outcome is subject to uncertainty. An outcome: is a result of an experiment. Each run of an experiment results in only one outcome! A sample space: is the set of all possible outcomes, S, of an experiment. An event: is a subset of the sample space. An event occurs when one of the outcomes that belong to it occurs. A simple (or elementary) event: is a subset of the sample space that has only one outcome.

Upload: kimo

Post on 24-Feb-2016

36 views

Category:

Documents


0 download

DESCRIPTION

Sample Space and Events. Section 2.1. An experiment: is any action, process or phenomenon whose outcome is subject to uncertainty. An outcome: is a result of an experiment. Each run of an experiment results in only one outcome!. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Sample Space and Events

Sample Space and Events Section 2.1

An experiment: is any action, process or phenomenon whose outcome is subject to uncertainty.

An outcome: is a result of an experiment.

Each run of an experiment results in only one outcome!

A sample space: is the set of all possible outcomes, S, of an experiment.

An event: is a subset of the sample space. An event occurs when one of the outcomes that belong to it occurs.

A simple (or elementary) event: is a subset of the sample space that has only one outcome.

Page 2: Sample Space and Events

Still in Ch2:

2.2 Axioms, interpretations and properties of probability

Page 3: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Probability: is a measure of the chance that an event might occur (before it really occurs).

Probability (frequentist): the limiting relative frequency of the occurrence of an event when running the associated experiment over and over again for a very long time, which gives us an indication about the chance of observing that event again when running the experiment one more time (followed in this book)

Probability (Bayesian): A measure of belief (objective or subjective) of the chance that an event might occur.

Philosophically:

Page 4: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Example: Flipping a fair coin.

Frequentist: If we flip a physically balanced (fair) coin over and over again for a long time then the proportion of times that one will observe a head will be ½ of the time. This assumes that air friction and other factors are either controlled or negligible.

Bayesian: If a coin is physically balanced (fair) and if the effect of air friction and other factors that might affect its orientation when landing are all either negligible, or controlled for, then the chance that a head is observed when that coin is flipped is ½.

Page 5: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Mathematically

Probability: is a function that uses events as an input and results in a real number between 0 and 1 as an output that describes the chance that an event might occur.

Because it uses events as input and because events are sets (they are subsets of the sample space) a probability function is said to be a set function.

Page 6: Sample Space and Events

Axioms, interpretation and properties Section 2.2

A probability function must obey some rules for it to make sense mathematically and logically. These rules are called axioms

Page 7: Sample Space and Events

1) For any event A,

Axioms (rules) of probability:

2) Probability of observing the sure event, S, if you run the experiment is:

3) If A1, A2, A3, …is an infinite collection of disjoint events (i.e. for any i and j where ), then

Axioms, interpretation and properties Section 2.2

Page 8: Sample Space and Events

Axioms (rules) of probability:

3) We can also show that if A1, A2, A3, … An is a finite collection of disjoint events (i.e. for any i and j where ), then

Axioms, interpretation and properties Section 2.2

Page 9: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Examples:

1) Studying the blood types of a randomly sampled individual:

Experiment:

Set of possible outcomes (sample space), S:

Choose an individual at random and observe his/her blood type.

Goal: Observe an individual’s blood type

{O, A, B, AB}

Events (subsets of S): (16 of them)

Page 10: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Examples:

1) Studying the blood types of a randomly sampled individual:

Let E be the simple event {O}, is the following correct?

P(E) = -0.5

Page 11: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Examples:

1) Studying the blood types of a randomly sampled individual:

Let E be the simple event {O}, C be the event {A, AB} and D the event {O, A, AB}, is the following correct?

P(E) = 0.2

P(C) = 0.3

P(D) = 0.4

Page 12: Sample Space and Events

Let E1 be the simple event {O}, E2 be {A}, E3 be {B} and E4 be {AB}, is the following correct?

Section 2.2

Examples:

1) Studying the blood types of a randomly sampled individual:

P(E1) = 0.2

P(E2) = 0.3

P(E3) = 0.4

P(E4) = 0.4

Axioms, interpretation and properties

Page 13: Sample Space and Events

We can construct a base probability distribution (the probability distribution) associated with this example using the simple events as follows:

Section 2.2

Examples:

1) Studying the blood types of a randomly sampled individual:

P(E1) = 0.2

P(E2) = 0.1

P(E3) = 0.4

P(E4) = 0.3

Axioms, interpretation and properties

Simple Event E1 E2 E3 E4P(E) 0.2 0.1 0.4 0.3Or

Simple Event O A B ABP(E) 0.2 0.1 0.4 0.3Or

Page 14: Sample Space and Events

We can use this probability distribution to find the probability of any event:

Section 2.2

Examples:

1) Studying the blood types of a randomly sampled individual:

Axioms, interpretation and properties

Simple Event O A B ABP(E) 0.2 0.1 0.4 0.3

Page 15: Sample Space and Events

Examples:

2) Studying the chance of observing the faces of one fair die when rolled:

Experiment:

Set of possible outcomes (sample space), S:

Rolling a dieGoal: Observe faces of one die

{1, 2, 3, 4, 5, 6}

Events (subsets of S): (64 of them)

Axioms, interpretation and properties Section 2.2

Page 16: Sample Space and Events

Probability distribution: This is a special case where each of the simple events are equally likely.

Examples:

2) Studying the chance of observing the faces of one fair die when rolled:

Axioms, interpretation and properties Section 2.2

Simple Event 1 2 3 4 5 6P(E) 1/6 1/6 1/6 1/6 1/6 1/6

For any event A, P(A) in this case is given by:

Page 17: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Some other properties:1) For any event A:

P(A)+P(A’) = P(S) = 1 => P(A) = 1 – P(A’)

A’A

S

Note that and

Now, Axioms 2 and 3 will help us show this rule.

Page 18: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Some other properties:2) The probability of the empty set is:

Note that , and

Now, property (1) will help us show this property.

Page 19: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Some other properties:3) For any events A and B where :

B

S

A

Page 20: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Some other properties:4) For any event A:

Note that and use property (3)

Page 21: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Some other properties:5) For any events A and B:

A

S

B

Page 22: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Some other properties:Example:3) Forecasting the weather for each of the next three days

on the Palouse:

Experiment:

Set of possible outcomes (sample space), S:

Observing if weather is rainy (R) or not (N) in each of those days.

{NNN, RNN, NRN, NNR, RRN, RNR, NRR, RRR}

Goal: Interested in whether you should bring an umbrella or not.

Page 23: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Some other properties:Example:

Let A be the event that day 3 is rainy, P(A) = 0.4

Let B be the event that day two is rainy, P(B) = 0.7

Let C be the event days 2 and 3 are rainy, P(C) = 0.3

Find probability that either day 2 or 3 will be rainy.

3) Forecasting the weather for each of the next three days on the Palouse:

Page 24: Sample Space and Events

ANNR, RNR

S

BNRN,RRN

CNRR,RRR

Page 25: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Some other properties:

Let A be the event that day three is rainy and P(A) = 0.4

Let B be the event that day two is rainy and P(B) = 0.7

Let C be the only days 2 and 3 are rainy and P(C) = 0.3

Find probability that either day 2 or 3 will be rainy.

= 0.4 + 0.7 – 0.3 = 0.8

Example:3) Forecasting the weather for each of the next three days

on the Palouse:

Page 26: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Some other properties:Example:

Let A be the event that day 3 is rainy, P(A) = 0.4

Let B be the event that day two is rainy, P(B) = 0.7

Let C be the event days 2 and 3 are rainy, P(C) = 0.3

3) Forecasting the weather for each of the next three days on the Palouse:

Find probability that day 3 and not day 2 is rainy.

Page 27: Sample Space and Events

Axioms, interpretation and properties Section 2.2

Some other properties:Example:

Let A be the event that day 3 is rainy, P(A) = 0.4

Let B be the event that day two is rainy, P(B) = 0.7

Let C be the event days 2 and 3 are rainy, P(C) = 0.3

3) Forecasting the weather for each of the next three days on the Palouse:

Find probability that day 3 is not rainy.