elementary probability. definition three types of probability set operations and venn diagrams ...

82
Elementary Probability

Upload: adrian-cole

Post on 18-Jan-2018

237 views

Category:

Documents


1 download

DESCRIPTION

Probability  The study of how likely it is that an event will occur. compare trial experiment event sample space

TRANSCRIPT

Page 1: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Elementary Probability

Page 2: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Definition Three Types of Probability Set operations and Venn Diagrams Mutually Exclusive, Independent and

Dependent Events (Rule of Addition, Rule of Multiplication,

Conditional Probability)

Page 3: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Probability The study of how likely it is that an event will occur.

compare trial experiment event sample space

Page 4: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Probability Sample space

Toss a coin twice and observe the possible outcomes.

Toss a coin twice and observe times a head appears.

S1 = { (HH), (TT), (HT), (TH) }

S2= {0, 1, 2}

Page 5: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Probability

)()(

)(SnEn

EP

P(E): probability of an event, E, occurring.n(E): number of ways the event can occur.n(S): total number of outcomes =sample space

(0~1)

Page 6: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

ProbabilityOne card is selected from a pack of 10 cards numbered 1 to 10. Sample space: 1, 2, 3 ,4, 5, 6, 7, 8, 9, 10 (10)Calculate the probability of:a) Selecting a 5b) Selecting an odd cardc) Selecting a card less than 5

Page 7: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

ProbabilityOne card is selected from a pack of 10 cards numbered 1 to 10.

)()(

)(SnEn

EP 101

Calculate the probability of:a) Selecting a 5

n(E): 5 (1)

Page 8: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

ProbabilityOne card is selected from a pack of 10 cards numbered 1 to 10.

Calculate the probability of:b) Selecting an odd card

)()(

)(SnEn

EP 105

21

n(E): 1, 3, 5, 7, 9 (5)

Page 9: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

ProbabilityOne card is selected from a pack of 10 cards numbered 1 to 10.

Calculate the probability of:c) Selecting a card less than 5

)()(

)(SnEn

EP 104

52

n(E): 1, 2, 3, 4 (4)

Page 10: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Three Types of Probability Classical Probability a. finite b. equal possibilityRelative Frequency ProbabilitySubjective Probability

Page 11: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Set Operations and Venn Diagram Set theory forms the basis for probability

applications. A set is a collection of objects or elements. Elements are shown inside parentheses {}

e.g.Draw a card from a pack numbered 1 to 5S = {1,2,3,4,5}

Page 12: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Set Operations and Venn DiagramSubset refers to some of the elements of S. Draw a card from a pack numbered 1 to 5S = {1,2,3,4,5}Subset:{1,2}, {3,4}, {2,3,5}, etc.

Page 13: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

1

3

Venn DiagramS

A

SA

45 6 2

Page 14: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Set Operations

BA

A = {1, 2, 3, 5 } B = {1, 2, 4, 5 }

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

BA = {1,2,5}

Page 15: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Set Operations

A

)(1)( APAP

A

Page 16: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Mutually ExclusiveTwo or more events are mutually exclusive if the occurrence of any one of them excludes the occurrence of all the others. That is, only one can happen.

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

Rule of Addition

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

P(A+B) P(A B) ∪

Page 17: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Mutually Exclusive

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

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

A B

Page 18: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Two magazines:Magazine A 26%Magazine B 18%

What is the probability for people who read one of the magazines?

P(A+B) = P(A) + P(B) =26% + 18%=44%

Page 19: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Mutually ExclusiveP(A or B) = P(A) + P(B) – P(A and B)

BA

Page 20: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Two magazines:Magazine A 26%Magazine B 18%Both magazine 5%

What is the probability for people who read at least one of the magazines?

P(A+B) = P(A) + P(B) - P(AB) =26% + 18% - 5% = 39%

Page 21: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

32

9015

9030

9045

Think Pick a number from 10 to 99 A: {The number can be divided by 2} B: {The number can be divided by 3}

What is the probability for picking a number which can be divided by 2 or 3?

P(A+B) = P(A) + P(B) - P(AB) =

Page 22: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Independent EventsTwo or more events are said to be independent if the occurrence or non-occurrence of one of them in no way affects the occurrence or non-occurrence of the others. The events are unconnected.

P(A and B) = P(A) × P(B)

Rule of Multiplication

P(AB) P(A∩B) P(A×B)

Page 23: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Independent events Throw a coin and a dice at the same time.Calculate:The probability of a head and a 5 at the same time.A: { Get a head at random}B: { Get a 5 at random}

)()()( BPAPBAP121

61

21

Page 24: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Dependent Events Conditional Probability

Two or more events are said to be dependent when the probability that event B takes place is subject to whether event A has taken place. In other words, the prior occurrence of event A affects the probability of event B occurring.

Page 25: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Dependent Events Conditional Probability

10 products5 nonconforming products3 inferior products2 waste products

Calculate: a) the probability of selecting a waste product.b) The probability of selecting a waste product

given that a nonconforming product is selected.

Page 26: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Dependent Events Conditional Probability

10 products5 nonconforming products3 inferior products2 waste products

A= { Select a waste product }B= { Select a nonconforming product }

Page 27: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Dependent Events Conditional Probability

10 products5 nonconforming products3 inferior products2 waste products

Calculate: a) the probability of selecting a waste product.

)()(

)(SnAn

AP 51

102

Page 28: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Dependent Events Conditional Probability

10 products5 nonconforming products3 inferior products2 waste products

A= { Select a waste product }B= { Select a nonconforming product }

Page 29: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Conditional Probability10 products5 nonconforming products3 inferior products2 waste products

Calculate: b) The probability of selecting a waste product

given that a nonconforming product is selected.

52

P(A|B))()(

BnABn

)(

)()(

)(

SnBn

SnABn

)()(

BPABP

Page 30: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Dependent Events Conditional Probability

P(A | B) =)()(

BPABP

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

more

What about P(ABC)?

Page 31: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Sampling Inference Estimation Point Estimation Interval Estimation

Hypothesis Testing

Page 32: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Normal Distribution

Page 33: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Normal Distribution The distribution of many common variables

such as height, weight, shoe-size and life-expectancy approach what is known as a normal probability distribution.

Page 34: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Feature 1. The mean, median and mode are equal and are

at the centre of the distribution.

2. A normal distribution is symmetrical about the mean. (bell-shaped)

4. The area under the whole graph =1, so the area under half the graph=0.5

3. The probability equals the area under the graph.

Page 35: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Feature

95.5%

99.7%

68%

Page 36: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Calculations involving ND

xz

X is the value under considerationμ is the population meanσ is the population standard deviationZ the number of standard deviations the value is away from the mean.

Page 37: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

115 100 115

xz

What percentage of people have an I.Q. between 115 and 140?

Average I.Q. =100

100

100 , 15

115

When x=115

140

Page 38: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

What percentage of people have an I.Q. between 100 and 115?

Average I.Q. =100

100

100 , 15

115

Page 39: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

What percentage of people have an I.Q. between 85 and 115?

Average I.Q. =100

100

100 , 15

11585

Page 40: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

What percentage of people have an I.Q. over 120?

Average I.Q. =100

100

100 , 15

120

Page 41: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

What percentage of people have an I.Q. less than 85?

Average I.Q. =100

100

100 , 15

85

Page 42: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

What percentage of people have an I.Q. less than 135?

Average I.Q. =100

100

100 , 15

135

Page 43: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

What percentage of people have an I.Q. over 119?

Average I.Q. =100

100

100 , 15

119

Page 44: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

What I.Q. would you need to have in order to be in the top 10% of I.Q.s?

Average I.Q. =100

100

100 , 15

x

10%

Page 45: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

In formulating a budget, the value of sales is expected to be $1.2 million, with a standard deviation of $200,000.

Within what range can management be 90% confident that sales will fall?

1.2 , 0.2

1.2 x2x1

45%45%

Page 46: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Central Limit Theorem If sufficient samples are randomly drawn from

a population, then the distribution of the sample mean will be normally distributed about the population mean.

Page 47: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Central Limit Theorem Calculation of probability when a sample size

is given Calculation of the mean

Page 48: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Central Limit Theorem Calculation of probability when a sample size

is given

Page 49: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

840 850 10 2 0.6715 15 3

xz

A company manufacturing drinking straws has calculated that the mean contents of a carton is 850 with a standard deviation of 15.

What is the probability that a carton will contain under 840?

850

850 , 15

840When x=840

z-table, reading of 0.67 = 0.24857

P(<840)=0.5-0.24857=0.25143=25.13%

Page 50: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

15850840

xz

A company manufacturing drinking straws has calculated that the mean contents of a carton is 850 with a standard deviation of 15

What is the probability that a carton will contain under 840?

850

850 , 15

840When x=840

, a sample of 9 cartons was taken.

Page 51: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

A company manufacturing drinking straws has calculated that the mean contents of a carton is 850 with a standard deviation of 15, a sample of 9 cartons was taken.

What is the probability that a carton will contain under 840?

59

15

nx

25

850840

xz

P(<840)=0.5-0.47725=0.0228=2.28%

Page 52: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Central Limit Theorem Calculation of the mean

Page 53: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

x f fx0 1 01 3 32 4 83 2 6

10 17

17 1.710

fxf

Page 54: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

x f fx p0 1 0 0.11 3 3 0.32 4 8 0.43 2 6 0.2

10 17 1.0

7.1)2.03()4.02()3.01()1.00()( xE

Page 55: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

x f0 1 2.89 2.891 3 0.49 1.472 4 0.09 0.363 2 1.69 3.38

10 8.10

7.1x

2)( xxf

f

xxf 2)( 90.0

1010.8

2( )x x

Page 56: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

x p(f)0 0.1 0.2891 0.3 0.1472 0.4 0.0363 0.2 0.338

1 0.81

7.1x

2)( xxf

f

xxf 2)( 90.0

181.0

Page 57: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Hypothesis Testing

Page 58: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Sampling Inference Estimation Point Estimation Interval Estimation

Hypothesis Testing

Page 59: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Area of Rejection Area of Non-rejection

%98X %85x

H0: 98%H1: < 98%

Page 60: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Area of RejectionArea of Non-rejection

%3X %7x

H0: ≤ 3%H1: > 3%

Page 61: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Area of RejectionArea of Non-rejection

gX 200 gx 180

H0: = 200gH1: > 200g or <200g

Area of Rejection

Page 62: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Hypothesis Testing Law of Large Numbers Small Probability Events

2

21

Page 63: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Hypothesis Testing Law of Large Numbers Small Probability Events

Area of Rejection Area of RejectionArea of Non-rejection

Page 64: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Steps1. Determine the null and alternative hypotheses2. Determine the level of significance3. Determine test statistic (z or t)4. Determine the critical value5. Calculate the value of the test statistic6. Make decisions to accept or reject the null

hypothesis.

Page 65: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

A woman is considering buying a business. The owner of the business, a delicatessen, claims that the daily turnover follows an approximate normal curve with an average of $580 and a standard deviation of $50. The potential investor samples the takings over 30 days and calculates the average takings as $550.

Use a significance level of 0.01 to determine if the claim of the present owner of the delicatessen is valid or not.

Page 66: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Step 1 Determine the null and alternative hypotheses H0: $580 H1: < $580

Step 2 Determine the significance level level of significance 0.01

Page 67: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Step 3 Determine test statistic z: large sample (n 30) a sample from a normal distribution

t: a small sample that is not from a normal

distribution when the value of the standard deviation must be

estimated

Page 68: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Step 3 Determine test statistic normal distribution standard deviation sample size

ND SD known large/small sample size: Z SD unknown large sample size : Z, s SD unknown small sample size : t, s

Non ND large sample size Z

Page 69: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Step 4 Determine the critical value Z= 2.33 Reject if |Z|>2.33

Area of Rejection Area of Non-rejection

Page 70: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Significance Level

Area of Rejection |Z|

One Tailed Test Two-Tailed Test

0.05 1.65 1.960.01 2.33 2.580.001 3.09 3.30

table

Page 71: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Step 4 Determine the critical value

Area of Rejection Area of RejectionArea of Non-rejection

Two tailed test

Page 72: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Step 4 Determine the critical value

Area of Rejection Area of Non-rejection

One tailed test

Page 73: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Step 4 Determine the critical value

Area of RejectionArea of Non-rejection

One tailed test

Page 74: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Step 4 Determine the critical value Z= 2.33 Reject if |Z|>2.33

Area of Rejection Area of Non-rejection

Page 75: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Step 4

|Z|=3.29

29.3

3050

580550

n

xZ

Page 76: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Step 5 Make decisions

Z =2.33 |Z|=3.29 |Z|> Z

Reject H0The average daily takings are less than $580.

Area of Rejection Area of Non-rejection-3.29 -2.33

Page 77: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Error Type I error If a hypothesis is rejected when it should be

accepted.

Type II error If a hypothesis is accepted when it should

have been rejected.

Page 78: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Sample Population vs. Sample Benefits: Timeliness Cost Accessibility Dynamic nature of business/market

Page 79: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Features A sample should be representative of the

population, that is, all the characteristics that are present in the population must also be found in the sample.

Chosen at random Unbiased

Page 80: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Methods Simple Random or Lottery Method Systematic Sample (array) Stratified Sample Quota Sample Cluster Sample Multi-Staged

Page 81: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Errors in Sampling Non-sampling errors arise from the research

mechanisms used in collecting and analysing the data

Sampling error – Qualities exhibited in the sample may not be true of the population.

Page 82: Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events

Procedures in a Research Project

Objective Analysis of existing data Qualitative pilot Researching the project Analysis of data and recommendations