Docsity

Probability Theory: Sets, Events, and Distributions - Prof. Steven E. Butt, Study notes of Statistics

Toggle sidebar
bg1
IME 2610 - Chapter 4 page 1
Probability
A probability is a numeric value representing the chance,
likelihood, or possibility that a particular event will occur.
Set Notation (vs Probability Notation)
A set S (sample space S) consisting of points (individual
outcomes) labeled 2, 5, 7, 9 will be written as:
Let sets A and B be defined as:
then A and B are subsets (events) of S.
Note that 2 is a point in S. This is equivalent to saying that
2 is an element (elementary event) of S.
IME 2610 - Chapter 4 page 2
Notation
The union of A and B is the set (event) consisting of all
points that are either in A or in B or in both. In set notation
this is:
The intersection of A and B is the set (event) consisting of
all points that are in both A and B. In set notation this is:
The complement of B, with respect to S, is the set (event)
of all points in S that are not in B.
Two sets (events) are said to be mutually exclusive (or
disjoint), if they have no points in common. e.g., suppose
C = {2, 9}, then:
1. A and C are mutually exclusive.
2. B and C are not mutually exclusive (they have point
9 in common).
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Probability Theory: Sets, Events, and Distributions - Prof. Steven E. Butt and more Study notes Statistics in PDF only on Docsity!

IME 2610 - Chapter 4

page

1

Probability

A^

probability

is a numeric value representing the chance,

likelihood, or possibility that a particular event will occur.

Set Notation (vs Probability Notation)

A set

S^

(s ample space S

) consisting of points (

individual

outcomes

) labeled 2, 5, 7, 9 will be written as:

Let sets A and B be defined as:then A and B are subsets (

events

) of S.

Note that 2 is a point in S. This is equivalent to saying that2 is an

element

( elementary event

) of S.

IME 2610 - Chapter 4

page

2

Notation

The

union

of A and B is the set (

event

) consisting of all

points that are either in A or in B or in both. In set notationthis is: The

intersection

of A and B is the set (

event

) consisting of

all points that are in both A and B. In set notation this is:The

complement

of B, with respect to S, is the set (

event

of all points in S that are not in B.Two sets (

events

) are said to be

mutually exclusive

(or

disjoint), if they have no points in common. e.g., supposeC = {2, 9}, then:

  1. A and C are mutually exclusive.2. B and C are not mutually exclusive (they have point

9 in common).

IME 2610 - Chapter 4

page

3

Sets (Sample Space)

Venn Diagram:

IME 2610 - Chapter 4

page

4

Probability

An

experiment

is the process of making an observation of

an operation (

from the sample space

) that has more than

one outcome. Random experiment

= an experiment that can result in

different outcomes, even though it is repeated in the samemanner every time.The

sample space

S of an experiment is a set consisting of

all possible experimental outcomes. (

state space

Example

A company sells computer chips in boxes of 500 chips, eachchip can be classified as either satisfactory or defective.The number of defective chips in a particular box isuncertain, and the sample space is the set, S, where: An

event

is any subset of a sample space.

Let

Event

C = number of defective chips is less than 3.

Probability Rules

IME 2610 - Chapter 4

page

7

Rule 8

If two events A and B are independent, then the probability that both event A and event B will occuris equal to the product of their respectiveprobabilities.

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

Two events are

independent

if the occurrence of one

event in no way affects the probability of the secondevent. That is, A and B are independent if and only ifP(A) = P(A | B) and P(B) = P(B | A). Example

Suppose we toss a fair coin twice, so that:^ S

= {HH, HT, TH, TT}

Let

: A^ =

the event that at least one head occurs= {HH, HT, TH} B = the event that at least one tail occurs

= {HT, TH, TT}

C = the event of a head occurring on the first toss

= {HH, HT}

D = the event of a head occurring on the second toss

= {HH, TH)

(a)

Assuming equally likely outcomes, are events A and Bindependent? (b)

Assuming that outcomes are equally likely, are eventsC and D independent?

IME 2610 - Chapter 4

page

8

Rule 9

If two events A and B are not independent, then the probability that both A and B will occur is theproduct of the probability of event B occurring giventhat event A has occurred.

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

________________________________________________

Probability Example 1

A set of 15 marbles contains 4 red and 11 green marbles. Iftwo marbles are taken from this set one at a time, andwithout replacement:

a.^

What is the probability that the two marbles are red? b.^

The first is green and the second is red? c.^

What are the probabilities associated with parts(a) and (b) if the first marble is replaced prior tothe second being taken?

IME 2610 - Chapter 4

page

9

Probability Example 2

A manufacturing company has two retail outlets.

It is

known that 30% of the potential customers buy productsfrom outlet I alone, 50% buy from outlet II alone, 10% buyfrom both I and II, and 10% buy from neither.

Let A

denote

the

event

that

a

potential

customer,

randomly

chosen, buys from I and B denote the event that thecustomer buys from II. Find the following probabilities.(a)

P(A)

(b)

P(A

B)

(c)

P( B)

(d)

P(AB) = P(A

B)

(e)

P(A

B

(f)

P( A

∩^

B)

(g)

P(

B

A^

∪^

IME 2610 - Chapter 4

page 10

Probability Example 3

A manager supervises the operation of three power plants, Plant X,Plant Y, Plant Z.

At any given time, each of the plants can be

classified as either generating electricity (1) or as being idle (0).We will use the notation (0, 1, 0) to represent the situation wherePlant Y is generating electricity but Plants X and Z are both idle.The sample space for the status of the three plants at a particularpoint in time is:

S

(0,0,0)0.

(1,0,0)0.

(0,0,1)0.

(1,0,1)0.

(0,1,0)0.

(1,1,0)0.

(0,1,1)0.

(1,1,1)0.

The probability values for each plant combination are alsogiven in the figure.

IME 2610 - Chapter 4

page 13

Expected Value

= mean (average) value of a random

variable. μ^ = E(X) =

n ∑= i

i i^

x fx 1

where

n^

is the number of possible values the random

variable X can be assigned. return to coin flip

Variance

of X

(^2) σ

= V(X) = E(X -

μ)

(^

)^

(^

)^

(^

)^

2

1

2

1

2

μ−

μ−

∑^

=

=

i

n i

i

i

n i

i^

xf x

xf

x

return to coin flip

IME 2610 - Chapter 4

page 14

Discrete Random Variable Example

An engineer in charge of the maintenance of a particular machinenotices that its breakdowns can be characterized as being due toeither an electrical failure within the machine, a mechanical failureof some component of the machine, or operator misuse. When themachine is running, the engineer is uncertain what will be thecause of the next breakdown, and it can be thought of as anexperiment with a sample space:

S = {electrical, mechanical, misuse}

Through a controlled study it was determined that the probabilityof each kind of failure is:

P(electrical) = 0.2, P(mechanical) = 0.5, P(misuse) = 0.3. Each of these failures may be associated with a repair cost.

For

example, suppose that electrical failures generally cost an averageof $200 to repair, with mechanical failures having an averagerepair cost of $350, and operator misuse failures having an averagerepair cost of only $50.1. Define a random variable with respect to repair cost.

Identify

all possible values this random variable can be assigned.

  1. Define the

probability mass function

of this random variable.

  1. Define the

cumulative distribution

for this random variable.

  1. Determine the

mean

,^ variance

, and

standard deviation

of this

random variable.

IME 2610 - Chapter 4

page 15

Discrete Random Variable Distributions

Certain basic probability distributions can be developedthat will serve as models for a large number of practicalproblems. Bernoulli

random variable, X

-^

Takes one of two possible values, 0 or 1 (which canrepresent yes or no, true or false, success or failure,etc.)

-^

Let

p^

denote the probability that X = 1, and (1-

p )

denote the probability that X = 0.

Bernoulli Probability Mass Function

f(x; p)

=^

xp (1-

1-xp ) x

for 0

≤^

p^ ≤

E(X) =

p

V(X) =

p (1 -

p )

IME 2610 - Chapter 4

page 16

Binomial Distribution

Consider

n^

independent Bernoulli trials, Y

,^ ii

n

p^ remains constant across each trial Y i

= 1 corresponds to a success on the

th i experiment

Let X correspond to the total number of successes in the

n

experiments

X =

n ∑= i

i Y 1

X is a random variable whose probability distribution istermed the

Binomial

distribution.

This probability mass function is defined as:

f ( x; p, n

)^

=^

n^ ⎞⎛ x ⎟⎜ p ⎟⎜ x ⎠⎝

n-xp )

x^ = 0, 1, ...,

n

Random variables that fit the Binomial distribution musthave the following characteristics:

IME 2610 - Chapter 4

page 19

Geometric Distribution

Consider a sequence of

independent

Bernoulli trials, where

Xi

= 1 corresponds to a success on the i

th^ trial.

1)^

Assume

that

the

probability

of

success

on

each

Bernoulli trial is the same, p. 2)^

Let Y correspond to the number of trials until the firstsuccess occurs (including the successful trial).E.g., X

= 0, X 1

= 0, X 2

= 0, X 3

the number of trials until the first success is 4 ⇒

Y = 4

Given 1) and 2), the probability distribution of Y is calledthe

Geometric

distribution.

What is the

upper bound

on the maximum number of trials

until the first success?

IME 2610 - Chapter 4

page 20

Geometric Distribution

The Geometric distribution is summarized as follows:

P (

x^ | p) = (1-p)

x-1 p

x^ = 1, 2, 3,…

Expected Value

:^

E(X) =

1 p

Variance

:^

(^2) σ

= V(X) =

p (^2) p 1 −

Only one parameter is necessary to define the Geometricdistribution. What is it?

IME 2610 - Chapter 4

page 21

Negative Binomial Distribution

Consider a sequence of

independent

Bernoulli trials, where

Z^ i^

= 1 corresponds to a success on the i

th^ trial.

1)^

Assume

that

the

probability

of

success

on

each

Bernoulli trial is the same, p. 2)^

Let Y correspond to the number of trials that occuruntil the

th r success (including the

th r successful trial).

e.g., suppose

x^

Z^1

= 0, Z

= 1, Z 2

= 0, Z 3

= 0, Z 4

Here, the number of trials until the second (i.e.,

th x

success is 5 ⇒

Y = 5

Given 1) and 2), the probability distribution of Y is calledthe

Negative Binomial

distribution.

IME 2610 - Chapter 4

page 22

Negative Binomial Distribution

What is the

upper bound

on the maximum number of trials

until the

th x success?

What is the lower bound on the minimum number of trialsuntil the

th x success?

The

Negative

Binomial

distribution

is

summarized

as

follows:

P( y

|^ x

,^ p

⎞⎟⎟⎟⎠ ⎛−⎜⎜⎜−⎝

(^1) y (^1) x

x^ p (1-p)

y-x^

y^ =

x ,

x +1,

x +2,…

E.g., Assuming

x^

= 2, what is P(Y = 5)?

P[

first 4 trials contain 1 success and the 5

th^ trial is a success

]

(Independent events!)

= P[

first 4 trials contain 1 success]

P^ [ 5

th^ trial is a success

]

↑^

Binomial [B(4, p)]

p

p

1 (1-p)

3 (p) =

p

2 (1-p)

3

IME 2610 - Chapter 4

page 25

Personnel Recruitment Suppose that a company wishes to hire three new workers, and thateach applicant interviewed has a probability of 0.6 of being foundacceptable.

Furthermore, if an applicant is found acceptable, the

person is hired on the spot.(a)

What

is

the

distribution

of

the

total

number

of

applicants that the company needs to interview? (b)

State the value of the parameters of the distributionidentified in (a). (c)

What is the probability that six applicants need to beinterviewed to fill the three positions? (d)

The current budget allows for up to six interviews,what is the probability that the budget is sufficient tofind 3 suitable applicants? (e)

What

is

the

mean

and

standard

deviation

of

the

number of interviews

that must be undertaken for three

suitable applicants to be found?

IME 2610 - Chapter 4

page 26

Hypergeometric Distribution

So far, the distributions we have discussed have involved independent

Bernoulli trials.

The

Hypergeometric

distribution

involves

dependent

Bernoulli trial.

Hypergeometric Illustration

♦^

We have a box with N colored beads in it. ♦^

Among the N beads there are A red beads (successes)and N - A white beads (failures). ♦^

Suppose

n^

beads are sampled randomly and sequentially

from the box (without replacement). ♦^

Y i^

= 1 on the i

th^ draw if a red bead is drawn, and Y

= 0 ifi

a white bead is drawn. ♦^

Let X = the number of successes (red beads) among the

n

beads in the sample. ♦^

X is a called a Hypergeometric random variable.

IME 2610 - Chapter 4

page 27

Hypergeometric Distribution

Why is X a sum of dependent Bernoulli trials?The

Hypergeometric

distribution is summarized as follows:

P(

X^

| n,

N

,^ A) =

n

x n x

N

A

N

A

for

x^

= 0, 1,…, A,

with

b ⎛⎜ a ⎝ = 0 if

a^

^ b

Expected Value

:^

E(X) =

A n N

Variance

:^

(^2) σ

= V(X) =

N

A n

⎛^ ⎜⎝

−^

N N

A N

n

Three

parameters

are

necessary

to^

define

the

Hypergeometric

distribution.

What

are

they?

IME 2610 - Chapter 4

page 28

Hypergeometric Distribution

If the size of the population N is much larger than thesample size

n , then sampling without replacement is very

similar to sampling with replacement.In^

this

case,

the

Hypergeometric

distribution

can

be

approximated with the Binomial distribution, with:

Y ~ B(

n , A/N)