• Tidak ada hasil yang ditemukan

Sesi 4. Discrete and Continues Probability Distributions

N/A
N/A
Protected

Academic year: 2018

Membagikan "Sesi 4. Discrete and Continues Probability Distributions"

Copied!
28
0
0

Teks penuh

(1)

Di screte Probabi l i ty Di stri buti ons

Prof. dr. Siswanto Agus Wilopo, M.Sc., Sc.D.

Department of Biostatistics, Epidemiology and

Population Health

Faculty of Medicine

(2)

Learni ng Obj ecti ves

In this lecture, you learn:

The properties of a probability distribution

To calculate the expected value, variance, and

standard deviation of a probability distribution

To calculate probabilities from binomial and

Poisson distributions

How to use the binomial and Poisson

(3)

Introducti on to Probabi l i ty Di stri buti ons

Random Variable

Represents a possible numerical value

from an uncertain event

Random

Variables

Discrete

Random Variable

(4)

Di screte Random Vari abl es

Can only assume a countable number of

values

Examples:

Roll a die twice

Let X be the number of times 4 comes up

(then X could be 0, 1, or 2 times)

Toss a coin 5 times.

(5)

Experiment: Toss 2 Coins. Let X = # heads.

T

T

Di screte Probabi l i ty Di stri buti on

4 possible outcomes

T

T

H

H

H

H

Probability Distribution

X Value

Probability

0 1/4 = 0.25

1 2/4 = 0.50

2 1/4 = 0.25

0.50

0.25

(6)

Di screte Random Vari abl e

Summary Measures

Expected Value (or mean)

of a discrete

distribution

(Weighted Average)

Example:

Toss 2 coins,

X

= # of heads

,

compute expected value of X:

E(X) = (0 x 0.25) + (1 x 0.50) + (2 x 0.25)

X P(X)

0 0.25

1 0.50

2 0.25

N

1

i

i

i

P

(

X

)

(7)

Variance

of a discrete random variable

Standard Deviation

of a discrete random variable

where:

E(X) = Expected value of the discrete random variable X

X

i

= the i

th

outcome of X

P(X

i

) = Probability of the i

th

occurrence of X

Di screte Random Vari abl e

Summary Measures

(8)

Example:

Toss 2 coins, X = # heads,

compute standard deviation (recall E(X) = 1)

Di screte Random Vari abl e

Summary Measures

)

P(X

E(X)]

[X

σ

2

i

i

0.707

0.50

(0.25)

1)

(2

(0.50)

1)

(1

(0.25)

1)

(0

σ

2

2

2

(continued)

(9)

Probability Distributions

Continuous

Probability

Distributions

Binomial

Poisson

Probability

Distributions

Discrete

Probability

Distributions

(10)

The Binomial Distribution

Binomial

Poisson

Probability

Distributions

Discrete

(11)

Bi nomi al Probabi l i ty Di stri buti on

A fixed number of observations, n

e.g., 15 tosses of a coin; ten light bulbs taken from a

warehouse

Two mutually exclusive and collectively

exhaustive categories

e.g., head or tail in each toss of a coin; defective or not

defective light bulb

Generally called “success” and “failure”

Probability of success is p, probability of failure is 1 – p

Constant probability for each observation

e.g., Probability of getting a tail is the same each time we

(12)

Bi nomi al Probabi l i ty Di stri buti on

(continued)

Observations are independent

The outcome of one observation does not affect the

outcome of the other

Two sampling methods

Infinite population without replacement

(13)

Possi bl e Bi nomi al Di stri buti on

Setti ngs

A patient either cured or died after

treatment

A manufacturing plant labels items as

either defective or acceptable

A firm bidding for contracts will either get

a contract or not

A marketing research firm receives survey

responses of “yes I will buy” or “no I will

not”

(14)

Rul e of Combi nati ons

The number of

combinations

of selecting X

objects out of n objects is

X)!

(n

X!

n!

C

x

n

where:

n! =(n)(n - 1)(n - 2) . . . (2)(1)

(15)

P(X) = probability of

X

successes in

n

trials,

with probability of success

p

on each trial

X = number of ‘successes’ in sample,

(X = 0, 1, 2, ...,

n

)

n = sample size (number of trials

or observations)

p = probability of “success”

P(X)

n

X !

n

X

p

(1-

p

)

X

n

X

!

(

) !

Example:

Flip a coin four

times, let x = # heads:

n

= 4

p

= 0.5

1 -

p

= (1 - 0.5) = 0.5

X = 0, 1, 2, 3, 4

(16)

Exampl e:

Cal cul ati ng a Bi nomi al Probabi l i ty

What is the probability of one success in five

observations if the probability of success is .1?

(17)

n = 5 p = 0.1

n = 5 p = 0.5

Mean

0

.2

.4

.6

0

1

2

3

4

5

X

P(X)

.2

.4

.6

0

1

2

3

4

5

X

P(X)

0

Bi nomi al Di stri buti on

The shape of the binomial distribution depends on

the values of p and n

Here, n = 5 and p = 0.1

(18)

Bi nomi al Di stri buti on

Characteri sti cs

Mean

Variance and Standard Deviation

np

E(x)

p)

-np(1

σ

2

p)

-np(1

σ

(19)

n = 5 p = 0.1

Bi nomi al Characteri sti cs

(20)
(21)

The Poisson Distribution

Binomial

Poisson

Probability

Distributions

Discrete

(22)

The Poi sson Di stri buti on

Apply the Poisson Distribution when:

You wish to count the number of times an event

occurs in a given

area of opportunity

The probability that an event occurs in one area of

opportunity is the same for all areas of opportunity

The number of events that occur in one area of

opportunity is independent of the number of events

that occur in the other areas of opportunity

The probability that two or more events occur in an

area of opportunity approaches zero as the area of

opportunity becomes smaller

(23)

Poi sson Di stri buti on Formul a

where:

X = number of events in an area of opportunity

= expected number of events

e = base of the natural logarithm system (2.71828...)

!

X

e

)

X

(

P

x

(24)

Poi sson Di stri buti on Characteri sti cs

Mean

Variance and Standard Deviation

σ

2

σ

(25)

Usi ng Poi sson Tabl es

X

0.10

0.20

0.30

0.40

0.50

0.60

0.70

0.80

0.90

(26)
(27)

Poi sson Di stri buti on Shape

The shape of the Poisson Distribution

depends on the parameter

:

0.00 0.05 0.10 0.15 0.20 0.25

1 2 3 4 5 6 7 8 9 10 11 12

x

P(

x

)

0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70

0 1 2 3 4 5 6 7

x

P(x

)

(28)

Chapter Summary

Addressed the probability of a discrete

random variable

Discussed the Binomial distribution

Referensi

Dokumen terkait

One can glean from the two examples above that the sample information is made available to the analyst and, with the aid of statistical methods and elements of probability,

If A is an event of a discrete sample space S , then the probability of A is equal to the sum of the probabilities of its elementary events.. Proof: Any set A in S can be written as

Consider two independent events, A and B, with unequal probabilities (i.e. LO.e: Explain the multiplication, addition, and total probability rules. Irfanullah & Co.

6.2 Confidence Intervals 149 WhenN is small, the estimate of the population standard deviation using the sample standard deviation is more likely to be smaller than it should be,

Figure 7: 3x10 bit trap function problem using sub-GA 5.4 Discussion The sub-probability vector method requires population size smaller than the simple GA.. In this experiment, the

Binomial Distribution 3.Poisson Distribution 4.Geometric Distribution 5.Negative Binomial Distribution 6.Hyper Geometric Distribution Basic concepts 1.A variable: The attribute or

With this figure we can conclude two things: aFirst is that as the Average SNR dB increases the corresponding outage probability decreases which results in improved system performance

There are certain variation in graph occur like if the histogram curve is bimodal Camel humps having two or more peak then there are two populations of red blood cells which occur when