Top Banner
BIOSTATISTICS Topic: Probability 郭郭郭 郭郭郭郭郭 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for the biological and health science, by M.M. Triola and M.F. Triola), and supplemental materials published by Pearson Education, Inc. in 2006
51

BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Dec 29, 2015

Download

Documents

Suzanna Parsons
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: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

BIOSTATISTICSTopic: Probability

郭士逢輔大生科系2007

Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for the biological and health science, by M.M. Triola and M.F. Triola), and supplemental materials published by Pearson Education, Inc. in 2006

Page 2: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 3: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Definition

• Event– A collection of outcomes of a procedure

• Simple event – An outcome or an event that can not be

further broken down• Sample space

– For a procedure consist of all possible simple events

Page 4: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Example - Gender of baby

• Procedure: 1 birth– Event: female– Sample space: {male, female}

• Procedure: 3 births– Event: 2 females and a male– Sample space:

{fff, ffm, fmf, fmm, mff, mfm, mmf, mmm}

Page 5: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Notation of probabilities

• P denotes a probability• A, B, C denote specific event• P(A) denotes the probability of event A

occuring

Page 6: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Defined the probability of an event

• Relative frequency approximation• Classical approach for equally likely

outcomes• Subjective probabilities

Page 7: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Relative frequency approximation

• Conduct and observe a procedure and count the number of time that event A actually occurs

• Base on the result, P(A)s estimated as

• simulation

repeatedwastrialtimesofnumber

occuredAtimesofnumberAP

)(

Page 8: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Classical approach

• For a given procedure has n different simple events, assuming each of those simple events has an equal chance of occurring

n

s

ntssimple evedifferent ofnumber

occurcanAwaysofnumberAP

)(

Page 9: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Subjective probabilities

• probability of event A s estimated by using knowledge of relevant circumstance

Page 10: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 11: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Law of large number

• As a procedure is repeated again and again, the relative frequency probability of an event tends to approach the actual probability

Page 12: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Rules of probability

• The probability of an impossible event is 0• The probability of an event that is certain to

occur is 1• For any event, the probability of A is between

0 and 1 inclusive

Page 13: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 14: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Complementary event

• Consist of all outcomes in which event A does not occur, and denoted by

• Example,105 out of 205 newborn babies are boys, then

P(not boy) = P(girl) =100/205 = 0.488

A

Page 15: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Rounding off probabilities

• Express probability in fraction or decimal rounding off to 3 significant digits

Page 16: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Compound event

• Any event combining two or more simple events

Page 17: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 18: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 19: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Addition rule

• P(A or B) = P(in a single trial, event A occur s or event B occurs or they both occur)

• P(A+B) = P(A) + P(B) – P(A and B)• Adding n such a way that every outcomes s

counted only once

Page 20: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 21: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 22: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Definition

• Event A and B are disjoint or mutually exclusive, if they can not occur at the same time

Page 23: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 24: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Rules of complementary events

)(1)(

)(1)(

1)()(

APAP

APAP

APAP

Page 25: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 26: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Multiplication rule

• P(A and B)=P(event A occurs in a first trial and event B in a second trial)

Page 27: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 28: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Conditional probability

• P(B|A) represents the probability of event B occurring after event has already occurred

Page 29: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Definition

• Event A and B are independent, if occurrence of one does not affect the probability of the occurrence of the other

Page 30: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Formal multiplication rule

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

Page 31: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 32: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Probability of at least one

• “At least one” is equivalent to “one or more”• The complement of getting at least one of a

particular is get no item of that type

Page 33: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Conditional probability

• Conditional probability of an event is the probability with additional information that some other event has already occurred

)(

) ()|(

BP

BandAPBAP

Page 34: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Bayes’ theorem

• Dealing with sequential events• Revise a probability value base on additional

information that s later obtained

)|()()|()(

)|()()|(

ABPAPABPAP

ABPAPBAP

)(

) ()|(

BP

BandAPBAP

Page 35: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Definitions

• A prior probability is an initial probability obtained before any additional information

• A posterior probability is a probability that has been revised by using additional information that is later obtained

Page 36: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 37: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 38: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Definitions

• Absolute risk reduction = | P(event occurring in treatment group ) – P(event occurring in control group ) |

• From table 3-4

Absolute risk reduction = dc

c

ba

a

Page 39: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Definitions

• Relative risk is the ratio Pt / Pc

– Pt is the proportion of the characteristic in treatment group

– Pc is the proportion in control group

• Using table 3-4

Absolute risk reduction = Pt / Pc =

dcc

baa

Page 40: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Definitions

• Number needed to treat

= 1 / absolute risk reduction• Rounded up to next larger whole number

Page 41: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Definitions

• Actual odds against event A =– Expressed in the form of m:n

• Actual odds in favor of event A =– Expressed in the form of n:m

)(/)( APAP

)(/)( APAP

Page 42: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 43: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Definitions

• Odds ratio =

• Using table 3-4, odds ratio = ad / bc

groupcontrolforeventoffavorinodds

grouptreatmentforeventoffavorinodds

Page 44: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Relative risk versus odds ratio

• Prospective study: relative risk, odds ratio • Retrospective study: odds ratio only

Page 45: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 46: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Page 47: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Definitions

• Rate =

– a = frequency count of the number of people that event occurred

– b = total number of people exposed to the risk of the event occurring

– k = multiplier number

kb

a)(

Page 48: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Counting rule

• For a sequence of 2 events, first event can occur m ways and the second can occur n ways, the events together can occur a total of m*n ways

x~

Page 49: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Factorial

• Denotes the product of decreasing positive whole number

• Example, 4! = 4*3*2*1 =24

Page 50: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Permutation rule

• Select r items from n available items

• If there is n items with some items are identical to others, number of permutation is

)!(

!

rn

nprn

!!!

!

21 knnn

n

Page 51: BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.

Combination rule

• Number of combination of r items selected from n different items

!)!(

!

rrn

nCrn