17 views

Uploaded by Anonymous AyrgyoGP

- weebly - combined events
- Problem Solving Methods Sum Rule
- Probability 01
- Final Demo Probability
- Maths(4) Module 4
- proba
- Assignment 1 Solutions
- Objective Ch 7 FSC Part1 Imran
- HW Probability
- lntroProb10.pdf
- Hidden Markov Models 2005
- probability lessons
- Problems on P&C
- Probability Review
- assignment 10_probability_anskey.docx
- Lecture 05b. Conditional Probability
- ENGG2430 Assignemnt 2
- Probability vs Odds
- Probability Qns
- Binomial Probabilities - Lecture19

You are on page 1of 41

KNF2053

Numerical Methods and Statistics

Faculty of Engineering

Semester 2 (2010/2011)

Probability

event to the number of all possible occurrences

of equally likely and mutually exclusive events.

an event would be expected to occur in

repeated trials.

Definition of Probability

different equally likely outcomes, and if

exactly n of these outcomes correspond to

event A, then the probability of event A is:

n

P(A)

N

once.

1

P(head)

2

Random Experiment

conditions

a) The outcome of experiment cannot be

predicted with certainty.

b) The experiment can be repeated under

the same condition.

E.

Sample space, S

statistical experiment.

event, called the certain event.

Sample space, S

Example 1

Experiment: E :Tossing a die

Sample Space: S = {1,2,3,4,5,6}

Event:

P (A) = 3/6 = 1/2

Sample space, S

Simple exercise

A dice is tossed once.

a) What is the sample space, S?

b) Give the set of the following events

i.

ii.

Sample space, S

Simple exercise

A coin is tossed twice

a) What is the sample space, S?

b) Give the set of the following events:

i.

ii.

Points

must lie between 0 and 1.

within a sample space must sum to 1.

1 1

P(head) P(tail) 1

2 2

B

S

Include

A

B include A is denoted as B A.

All the elements of A is also

belonging to B.

Equal

A equal to B is denoted A = B. It

means A B and B A. A

happen if and only if B happen.

S

A=B

B

S

Union

Denoted by the symbol A B,

is the event containing all the

elements that belong to A and

B or both.

Intersection

Denoted by the symbol A B,

is the event containing all

elements that common to A and

B

B

S

Mutually exclusive or

disjoint

A and B are mutually exclusive,

or disjoint if A and B cannot

happen at the same time

(A B = )

Complement

The complement of an event A

with respect to S is the subset

of all elements of S that are not

A

B

S

A'

A

Axioms of Probability

P () = 0

P (A) = 1 P(A)

P ( A B) P ( A) P( B )

exclusive

P ( A B) P( A) P( B ) P ( A B)

Example 1

The probability that John passes Mathematics is 2/3,

and the probability he passes English is 3/9. If the

probability of passing both subjects is 1/4, what is

the probability that John will pass at least one of

these subjects?

Let M : the event passing Math

Let E : the event passing English

Example 1-Solution

The probability that John will pass at least one of

these subjects.

Let M : the event passing Math

Let E : the event passing English

P( M E ) P( M ) P( E ) P( M E )

2 3 1

3 9 4

3

If the first sampling can be performed in m ways.

Second sampling can be performed in n ways

ways

mn

replacement and without replacement

Consider this case!

How many ways are to choose 3 balls with

replacement from a box, which contains 5 distinct

balls?

First attempt

Third attempt :5 ways to choose third ball

Total ways to choose the ball = 5 5 5 = 125

Consider this case!

How many ways are to choose 3 balls without

replacement from a box, which contains 5 distinct

balls?

First attempt

Third attempt :3 ways to choose third ball

Total ways to choose the ball = 5 4 3 = 60

Permutation

these objects 0 < r < n and arrange the chosen r

objects.

constructed from n objects denotes by nPr

n

n!

Pr n: no. of object

(n r )!

r: no. of ways

Permutation

n

n!

Pr

n: no.

n ofr!object

r: no. of ways

n

Pr n

Example 2

arranged in groups of five letters. What is the

arrangement of such words.

n

Pr 265

11881376

n

n!

26!

Pr

7893600

(n r )! (26 5)!

Combination

Denotes by nCr

and two letter taken at a time.

Without repetition:

3 combinations ab, ac and bc

With repetitions:

6 combinations aa, ab , ac, bb, bc and cc

Combination

n

n

n

n!

Cr

r r!(n r )!

n r 1

(n r 1)!

Cr

r r!((n r 1) r )!

them (with regard to order)

n

Pr nCr r!

Example 3

box. a) Find the combination of taking 2 letter from

a box

i) Without repetitions

ii) With repetitions:

b)How many ways to arrange the combinations in

both cases

Example 3 - Solution

a)

n

n

3!

Cr

3

r 2!(3 2)!

n

n r 1

4!

Cr

6

r 2!(4 2)!

Example 3 - Solution

b)

n

Pr nCr r!

3 2!

6

n

Pr nCr r!

6 2!

12

Conditional Probability

of occurrence of another event

Example:

A : rain next Sunday

B : rain next Saturday

occurrence A.

Conditional Probability

conditional probability of A given B has occurred

is defined by:

P( A B)

P( A | B)

P( B)

Example 4

Let event A = {1,2,3} and event B = {1,3,5}.

Find P (A|B)

Example 4 - Solution

event A = {1,2,3}

event B = {1,3,5}

P( A B)

P( B)

A B {1,3}

2 1

P( A B)

6 3

3 1

P( B)

6 2

P( A | B)

1

P( A B)

2

3

P( A | B)

1

P( B)

3

2

Multiplicative Rule

can be calculated using multiplicative rule, which

employs the conditional probabilities we defined

in the previous section.

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

or equivalently

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

Independent Events

if:

P( A B) P( A) P( B)

Remarks:

When P(B) > 0, A and B are independent

P(A|B) = P(A)

When P(A) = 0 or P(B) = 0, A and B are

independent

Example 5

Lets consider when a coin is tossed twice. Let A

= head appears in the first time and B = Tail

appears in the second time. Show that A and B

are independent events.

Example 5 - Solution

S = {(H,H), (H,T), (T,H), (T,T)}

A = head appears in the first time = {(H,H),

(H,T)}

B = Tail appears in the second time = {(H,T),

(T,T)}

P(B) > 0, so:

P( A | B)

P( A B)

1

4

2

P( B)

2

4

Bayes Rule

S

A

We may express A as

A B'

A B

A ( A B) ( A B ' )

then

P ( A) P( A B) P( A B' )

P( A | B) P( B) P( A | B' ) P( B' )

Bayes Rule

Definition:

partition of the sample space S if

a) Ai Aj = , for every 1 < i j < n

b) Total union of Ai = S

c) P(Ai ) > 0 for all i = 1,2,, n

S

A3

A1

A2

A4

A5

Probability

S. Then for any other event B associate with S

n

P( B) P( B Ai )

i 1

n

P( B | Ai )P( Ai )

S

B

A3

i 1

A2

A1

A4

A5

Bayes Rule

S. Then for any other event B associate with S for

which P(B)>0

P( Ai B )

P( B | Ai ) P( Ai )

P( Ai | B )

n

P( B)

P( B | Ai ) P( Ai )

i 1

For i = 1, 2, , n

Example 6

In a factory, production line A,B and C are all

producing boxes with the same size. On their

production, production line A, B and C produce 1%,

2% and 3% defective boxes, respectively. Of the

total production, line A produces 25%, line B

produces 35% and line C produces 40%. A box is

selected randomly from the total production of a day

a) what is the probability that it is defective?

b) if the box is defective, what is the conditional

probability that it was produced by line C?

Example 6 - Solution

Let D = defective box

A = box from line A

B = box from line B

C = box from line C

a)

P ( D) P( D A) P ( D B) P ( D C )

P( D | A) P( A) P( D | B ) P( B ) P ( D | C ) P (C )

1 25 2 35 3 40

215

43

10000 2000

Example 6 - Solution

b) By Bayes Theorem

P(C ) P ( D | C )

P (C | D)

P( D)

40

3

100 100

43

2000

24

43

- weebly - combined eventsUploaded byapi-200177496
- Problem Solving Methods Sum RuleUploaded byIgnacio Labaqui
- Probability 01Uploaded byOscar Ernesto Rosas Carrillo
- Final Demo ProbabilityUploaded byArianne Jade Manlutac
- Maths(4) Module 4Uploaded byRajat Agrawal
- probaUploaded byapi-3756871
- Assignment 1 SolutionsUploaded byplxnospam
- Objective Ch 7 FSC Part1 ImranUploaded byAngelic Shine
- HW ProbabilityUploaded byanon_325581
- lntroProb10.pdfUploaded byRichard High
- Hidden Markov Models 2005Uploaded byRichardMoreno
- probability lessonsUploaded byMohammad Imran
- Problems on P&CUploaded byPraveen Sridhar
- Probability ReviewUploaded bySaeef Abdullah Alam
- assignment 10_probability_anskey.docxUploaded byJaleca Acelajado
- Lecture 05b. Conditional ProbabilityUploaded bymr_frederick87
- ENGG2430 Assignemnt 2Uploaded byDuncan
- Probability vs OddsUploaded byVictor Anaya
- Probability QnsUploaded byLokesh Kumar
- Binomial Probabilities - Lecture19Uploaded bySugam Khetrapal
- 2myers7e enhanced 01Uploaded byapi-307566553
- JBI Critical Appraisal-Checklist for Quasi - Experimental StudiesUploaded bytitikkitti06
- what are the chance - marking rubricUploaded byapi-311997397
- 11 Probability TheoryUploaded byMonic Romero
- Statistics DocumentsUploaded bymoneymakesworry
- Instructions for Preparing Laboratory Reports (2)Uploaded by'Tan Swat Yin'
- imb science lessonUploaded byapi-399223839
- Models Are Experiments, Experiments Are ModelsUploaded byBinjai Stabat
- MIT6_041F10_tut01.pdfUploaded byJohn
- Resume Chapter 6 and 8Uploaded byArie Mirza

- Understanding the Centroid FileUploaded byhamishlewis
- math project geometry stonehengeUploaded byapi-194618809
- 39939186-Basics-of-Steel-Making.pptUploaded byakshuk
- Euphorum Booklet8 PrecUploaded byLucian
- _5434d3ec492babe5dcb015df70703096_Neural-probabilisic-language-models.pdfUploaded byAndres Suarez
- 243110432 Abutment JembatanUploaded byDhimas Surya Negara
- lUBRICATION SYSTEM.pdfUploaded bySasi aero
- Starting Out With Programming Logic & Design - Chapter1_Introduction to Computer ScienceUploaded byAndrew Carts
- Custom and ConventionUploaded byjprgg24
- Tank Services ELECTRONICUploaded byNeruda
- Intermediate Micro With Calc. ProblemsUploaded byDunbar Anders
- r5410105-Analysis and Design of Structures for Wind and EartUploaded byCancio Florez
- climatograph 2 jaiden colemannUploaded byapi-345767533
- Lecture06 Synchronization 1Uploaded byMai Sakura Lê
- Revo Uninstaller Pro HelpUploaded byiliutza
- Electrical MCQSUploaded byMuhammad Azhar Iqbal
- EPRI-DOE Handbook of Energy Storage for TransmissionUploaded bySAEIDKIAN
- UNIT 2 - ProjectUploaded byMr. Powers
- 2a. Forecasting.pptUploaded byNola
- E-C130 Geophysical MethodsUploaded byRoxana Alb
- ACC HR Interview ReportUploaded byfareedsaghir
- _Waterhammer Analysis John Parmakain Charts.pdfUploaded bydaskir
- 800-appUploaded byDuplessis
- Topics in Philosophical Logic.pdfUploaded byhitzseb
- Alcidamas_On the SophistsUploaded byLizete Pitta
- PAF Final Project Report on Solar Power PlantUploaded byNabarun Saha
- Schem 220CGen2Uploaded bypaul5791
- Morococha Technical ReportUploaded byEdwin Rafael BC
- Technical_Specification SF CustUploaded byArpit Badaya
- GPUUploaded byWarda Ahmed