Top Banner
1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.
25

1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

Dec 29, 2015

Download

Documents

Bernard Stokes
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

1

Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

Page 2: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

2

Probability

Sample space/eventIndependenceBayes rule

Page 3: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

3

This lady has lost 10 games in a row on this slot machine. Would you play this slot machine or another one?

Page 4: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

4

Random Circumstance

A random circumstance is one in which the outcome is unpredictable. The outcome is unknown until we observe it.

Page 5: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

5

Example 1: Traffic Jam on the Golden Bridge

< = 20 mph traffic jam How often will a driver encounter traffic jam

on the golden bridge during 7-9 am weekdays? __ out of 100 times.

Page 6: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

6

Definition of Probability

Given a random circumstance, the probability of a specific outcome as the proportion of times it will occur over the long run, i.e. the relative frequency of that particular outcome.

Page 7: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

7

Example 2: Coin Flipping

What is the probability that a flipped coin shows heads up?

Page 8: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

8

Two Ways to Determine Probability

Making an assumption about the physical world and use it to find relative frequencies

Observing outcomes over the long run

Page 9: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

9

Estimating Probability

Measuring a representative sample and observing relative frequencies of the sample that fall into various categories

Page 10: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

10

Example 3: Employment

What is the probability that a CSUEB graduate gets hired in 3 months after graduation? Between 3 to 6 months? More than 6 months?

** Based on a representative sample of 200 graduates, 150, 30, 20 of them got hired in 3, 3-6, and > 6 months, respectively.

Page 11: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

11

Probability Definitions

Sample space: the collection of all possible outcomes of a random circumstance

A simple event is one outcome in the sample space.

An event is a collection of one or more simple events (outcomes) in the sample space.

** what are the random circumstances of the examples?** what are the sample space/simple event/event of the examples?

Page 12: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

12

Probability of a Simple Event

Between 0 and 1 The sum of the probabilities over all possible

simple events is 1

** examples of probability of an “equally likely” simple event

Page 13: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

13

Probability of an Event

The sum of the probabilities of simple events in the event

** Revisit the examples and find the events & their probabilities

Page 14: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

14

Complementary Events

One event is the complement of another event if the two events do not contain any of the same outcomes, and together they cover the entire sample space.

** get hired in 3 months or not

** traffic jam or not

** heads or tails

Page 15: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

15

Mutually Exclusive Events

Two events are mutually exclusive if they do not contain any of the same outcomes. They are also called disjoint.

Q: Are an event and its complement mutually exclusive?

** examples:

Page 16: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

16

Independent Events

Two events are independent if the probability that one event occurs stays the same, no matter whether or not the other event occurs.

Page 17: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

17

Conditional Probability

The conditional probability of the event B given the event A, denoted P(B|A), is the long-run relative frequency with which event B occurs when circumstances are such that event A also occurs.

** event A = age 21+; event B = female

** Ask students for age and find P(B|A)

Page 18: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

18

Basic Rules for Finding Probabilities

P(A or B) = P(A) + P(B) - P(A and B)

P(A and B) = P(A)P(B|A)

** P(B|A) = P(A and B)/P(A)

** P(A and B) for disjoint events and for independent events

Page 19: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

19

Steps for Finding Probabilities

1. Identify random circumstance2. Identify the sample space3. Assign whatever probabilities you know4. Specify the event for which the probability is

wanted5. Use the probabilities from step 3 and the

probability rules to find the probability of interest

Page 20: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

20

Tools for Finding Probabilities

When conditional or joint probabilities are known for two events Two-way tables

For a sequence of events, when conditional probabilities for events based on previous events are known Tree diagrams

Page 21: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

21

Strategies for Finding Complicated Probabilities

>2 independent events:

P(A1 and A2 … and Ak) = P(A1)P(A2)…P(Ak)

Bayes Rule:

)()|()()|(

)()|(

CC APABPAPABP

BandAPBAP

Page 22: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

22

Example:

People are classified into 8 types. For instance, Type 1 is “Rationalist” and applies to 15% of men and 8% of women. Type 2 is “Teacher” and applies to 12% of men and 14% of women. Each person fits one and only one type.

Page 23: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

23

•What is the probability that a randomly selected male is “Rationalist”? “Teacher”? Both?

•What is the probability that a randomly selected female is not a “Teacher”?

Page 24: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

24

Suppose college roommates have a particularly hard time getting along with each other if they are both “Rationalists.”A college randomly assigns roommates of the same sex.

What proportion of male roommate pairs will have this problem?

What proportion of female roommate pairs will have this problem?

Assuming that half of college roommate pairs are male and half are female. What proportion of all roommate pairs will have this problem?

Page 25: 1 Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.

25

A psychologist has noticed that “Teachers” and “Rationalists” get along particularly well with each other, and she thinks they tend to marry each other.

One of her colleagues disagrees and thinks that the “types” of spouses are independent of each other.

• If the “types” are independent, what is the probability that a randomly selected married couple would consist of one “Rationalist” and one “Teacher”?

• In surveys of thousands of randomly selected married couples, she has found that about 5% of them have one “Rationalist” and one “Teacher.” Does this contradict her colleague’s theory that the types of spouses are independent of each other?