week1_Probability12

download week1_Probability12

of 64

Transcript of week1_Probability12

  • 8/10/2019 week1_Probability12

    1/64

    MTE 3105: STATISTIK

    SEMESTER

    JAN-JUN 2012

  • 8/10/2019 week1_Probability12

    2/64

    COURSE INTRODUCTION

    SINOPSIS

    HASIL PEMBELAJARAN

    KANDUNGAN KURSUS PENILAIAN

  • 8/10/2019 week1_Probability12

    3/64

    SINOPSIS

    Mengimbas kembali konsep yangberkaitan dengan kebarangkalian

    Menerokai statistik inferens

    ujian-t, ujian khi kuasa dua, analisis varians(ANOVA) dalam pengujian hipotesis dan

    regresi linear dalam menganalisis

    perhubungan linear dalam dua

    pembolehubah.

  • 8/10/2019 week1_Probability12

    4/64

    SINOPSIS

    Penggunaan teori pensampelan dan

    penganggaran untuk menganggar min

    populasi.

    Kepentingan menggunakan kaedah

    statistik yang sesuai dalam penyelesaian

    masalah harian adalah dititikberatkan.

  • 8/10/2019 week1_Probability12

    5/64

    Hasil Pembelajaran

    Menerangkan aspek teori dan empirikal yangmendasari kebarangkalian

    Mengaplikasikan teori persampelan dan

    anggaran dalam menganggarkan min populasi Mengaplikasikan statistik inferens seperti ujian

    khi kuasa dua, ANOVA dan regresi linear dalamujian hipotesis.

    Menganalisis dan menyelesaikan masalahharian menggunakan kaedah statistik.

  • 8/10/2019 week1_Probability12

    6/64

    THE TOPICS

    Probability (3)

    Sampling and estimation theory (9)

    Hypothesis testing (12) Inferential statistics

    The chi-square test (9)

    The analysis of variance [ANOVA] (6) Linear regression (6)

  • 8/10/2019 week1_Probability12

    7/64

    ASSESSMENT

    50% COURSEWORK

    50% EXAMINATION

  • 8/10/2019 week1_Probability12

    8/64

    PROBABILITY

    1. Introduction to

    probability

    Theoretical

    Probability

    Empiricalprobability

    2. Compound eventsIndependent events

    Mutually exclusiveevents

    3. Addition Rule &

    Multiplication Rule

    4. Probability tree

    diagrams

    5. Conditional

    Probability

  • 8/10/2019 week1_Probability12

    9/64

    Experiment & outcomes

    Event

    any collection of outcomes froman experiment eg tossing a coin

    Sample space

    Set of all possible outcomes

    IMPORTANT DEFINITIONS

  • 8/10/2019 week1_Probability12

    10/64

    Estimating probability

    Conduct (or observe) an experiment alarge number of times, and count thenumber of times event A actuallyoccurs, then an estimate of P(A) is

    EXPTAL PROBABILITY

    P(A) = Number of times A occurredTotal number of trials

  • 8/10/2019 week1_Probability12

    11/64

  • 8/10/2019 week1_Probability12

    12/64

    NOTATION: SOME REVISION

    P :denotes a probability

    A, B, : denote specific events

    P(A) : denotes the probabilityof event A occurring

  • 8/10/2019 week1_Probability12

    13/64

    The Classical approach(equally likely outcomes)

    If a trial has S different possible outcomes,each with an equal chance of occurring, thenthe probability that event A occurs is

    P(A)= number of ways A can occurtotal number of outcomesn(A)

    n(S) =

    THEORETICAL PROBABILITY

  • 8/10/2019 week1_Probability12

    14/64

    EXPERIMENTAL VS THEORETICAL

    Experimental probability uses therelative frequency approach and it isan approximation or estimation

    Theoretical probability uses theclassical approach it is the actualexpected probability if the experimentis repeated over a large number oftimes.

  • 8/10/2019 week1_Probability12

    15/64

    LAW OF LARGE NUMBERS

    As a procedure is repeated again and

    again, the relative frequency probability

    (experimental probability) of an event

    tends to approach the actual (theoretical)

    probability.

  • 8/10/2019 week1_Probability12

    16/64

    PROBABILITY LIMITS

    The probability of an impossibleevent is 0.

    The probability of a certain eventis 1.

    0 P(A) 1

    Impossibleto occur

    Certainto occur

  • 8/10/2019 week1_Probability12

    17/64

    PROBABILITY VALUES

    Certain

    Likely

    50-50 Chance

    Unlikely

    Impossible

    1

    0.5

    0

  • 8/10/2019 week1_Probability12

    18/64

    The complement of event A,denoted by A, consists of all

    outcomes in which event A doesnot occur.

    COMPLEMENTARY EVENTS

  • 8/10/2019 week1_Probability12

    19/64

    THE COMPLEMENT OF EVENT A

    Total Area = 1

    P (A)

    P (A) = 1 - P (A)

  • 8/10/2019 week1_Probability12

    20/64

    Any event combining two ormore simple events

    COMPOUND EVENTS

  • 8/10/2019 week1_Probability12

    21/64

    When finding the probability thatevent A occurs or event B occurs,

    find the total number of ways A

    can occur and the number of

    ways B can occur, but ensure

    that no outcome is counted morethan once.

    PROB OF COMPOUND EVENTS

  • 8/10/2019 week1_Probability12

    22/64

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

    where P(A and B) denotes the

    probability that A and B bothoccur at the same time.

    THE ADDITION RULE

  • 8/10/2019 week1_Probability12

    23/64

    Kebarangkalian peristiwasaling eksklusif

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

    Jika A dan B saling eksklusif,

    makaP(A B) = P(A) + P (B)

  • 8/10/2019 week1_Probability12

    24/64

    MUTUALLY EXCLUSIVE EVENTS

    Events A and B are mutually

    exclusiveif they cannot occur

    simultaneously.

  • 8/10/2019 week1_Probability12

    25/64

    Sets Presentations

  • 8/10/2019 week1_Probability12

    26/64

    Sets Presentations

  • 8/10/2019 week1_Probability12

    27/64

    NON-MUTUALLY EXCLUSIVE

    Total Area = 1

    P(A) P(B)

    P(A and B)

    Overlapping Events

  • 8/10/2019 week1_Probability12

    28/64

  • 8/10/2019 week1_Probability12

    29/64

    APPLYING THE ADDITION RULE

    P(A or B)Addition Rule

    Are

    A and B

    mutually

    exclusive

    ?

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

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

    No

  • 8/10/2019 week1_Probability12

    30/64

    Find the probability of randomly

    selecting a man or a boy.

    Contingency Table

    Men Women Boys Girls Totals

    Survived 332 318 29 27 706

    Died 1360 104 35 18 1517

    Total 1692 422 64 56 2223

  • 8/10/2019 week1_Probability12

    31/64

    The events of randomly selecting a

    man or a boy are mutually exclusive.

    Contingency Table

    Men Women Boys Girls Totals

    Survived 332 318 29 27 706

    Died 1360 104 35 18 1517

    Total 1692 422 64 56 2223

  • 8/10/2019 week1_Probability12

    32/64

  • 8/10/2019 week1_Probability12

    33/64

    Find the probability of randomly

    selecting a man or someone whosurvived.

    Contingency Table

    Men Women Boys Girls Totals

    Survived 332 318 29 27 706

    Died 1360 104 35 18 1517

    Total 1692 422 64 56 2223

  • 8/10/2019 week1_Probability12

    34/64

    The events of randomly selecting a

    man or someone who survived arenot mutually exclusive.

    Contingency Table

    Men Women Boys Girls Totals

    Survived 332 318 29 27 706

    Died 1360 104 35 18 1517

    Total 1692 422 64 56 2223

  • 8/10/2019 week1_Probability12

    35/64

    P(man or survivor) = 1692 + 706 - 332 = 1756

    2223 2223 2223 2223

    Contingency Table

    Men Women Boys Girls Totals

    Survived 332 318 29 27 706

    Died 1360 104 35 18 1517

    Total 1692 422 64 56 2223

    = 0.929

  • 8/10/2019 week1_Probability12

    36/64

    The General Addition Rule

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

    Non-mutual exclusive

    The Special Addition Rule

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

    Mutual exclusive

  • 8/10/2019 week1_Probability12

    37/64

  • 8/10/2019 week1_Probability12

    38/64

    Kebarangkalian peristiwa takbersandar

    Kebarangkalian bagi peristiwa A dan Bberlaku ialah

    dengan syarat A dan B tak bersandar

    P(A B) =P(A) x P(B)

    I d d d

  • 8/10/2019 week1_Probability12

    39/64

    Independent andConditional Events

    The conditional probability of anevent is the probability that the

    event occurs under the assumptionthat another event has occurred.

    Kebarangkalian bhw peristiwa B

    berlaku diberi bahawa A telahberlaku ialah

  • 8/10/2019 week1_Probability12

    40/64

    Conditional Probability

    P( B l A) = The probability of B

    given A= Kebarangkalian

    peristiwa B berlaku diberi bhwperistiwa A telah berlaku

  • 8/10/2019 week1_Probability12

    41/64

    Example

    A fair die is thrown, if it is known that the

    number obtained is an even number, what

    is the probability that the number is 4?

    d l P b b l /

  • 8/10/2019 week1_Probability12

    42/64

    Conditional Probability/Kebarangkalian Bersyarat

    )(

    )()1(

    )(

    )()1(

    AP

    ABpABP

    BP

    BApBAP

  • 8/10/2019 week1_Probability12

    43/64

    Let A = a 4 obtained

    B = an even number is obtained

    P ( A given B has occurred)

  • 8/10/2019 week1_Probability12

    44/64

    Conditional Probability

    so,)(

    )()1(

    )(

    )()1(

    APABpABP

    BP

    BApBAP

    )()1()()1( APABPBPBAP

  • 8/10/2019 week1_Probability12

    45/64

    Conditional Probability

    If A and B are mutually exclusiveevents, then

    and = 0, then

    = 0

    )( ABp BAP

    (

    )()1()()1( APABPBPBAP

  • 8/10/2019 week1_Probability12

    46/64

  • 8/10/2019 week1_Probability12

    47/64

    APPLYING THE MULTIPLICATION RULE

  • 8/10/2019 week1_Probability12

    48/64

    APPLYING THE MULTIPLICATION RULE

    P(A or B)Multiplication Rule

    Are

    A and B

    independent

    ?

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

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

    No

  • 8/10/2019 week1_Probability12

    49/64

    FORMAL MULTIPLICATION RULE

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

    If A and B are independentevents, P(B|A) is really the

    same as P(B)

  • 8/10/2019 week1_Probability12

    50/64

    INDEPENDENT EVENTS

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

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

  • 8/10/2019 week1_Probability12

    51/64

    COMPUTING PROBABILITY

    A student answers two questions, of which

    the first is a true (T) or false (F) item

    followed by a multiple choice item with 5

    choices (A, B, C, D, and E)

    Find the probability that the students

    answers both questions correctly

  • 8/10/2019 week1_Probability12

    52/64

  • 8/10/2019 week1_Probability12

    53/64

    THE MULTIPLICATION RULE

    TATB

    TC

    TD

    TEFA

    FB

    FC

    FD

    FE

    AB

    C

    D

    E

    A

    B

    C

    D

    E

    T

    F

    P(T) = P(C) = P(T and C) =12

    1

    5

    1

    10

  • 8/10/2019 week1_Probability12

    54/64

  • 8/10/2019 week1_Probability12

    55/64

    PROBABILITY OF AT LEAST ONE

    At least one is equivalent toone or more.

    The complementof getting atleast one item of a particular type

    is that you get no items of thattype.

    PROBABILITY OF AT LEAST ONE

  • 8/10/2019 week1_Probability12

    56/64

    PROBABILITY OF AT LEAST ONE

    The complementof getting at leastone item of a particular type is thatyou get no items of that type

    If P(A) = P(getting at least one),

    then P(A) = 1 - P(A) where

    P(A) is P (getting none)

  • 8/10/2019 week1_Probability12

    57/64

    PROBABILITY OF AT LEAST ONE

    Find the probablility of a couplehave at least 1 girl among 3children.

    If P(A) = P(getting at least 1 girl), then

    P(A) = 1 - P(A)

    where P(A) is P(getting no girls)

  • 8/10/2019 week1_Probability12

    58/64

  • 8/10/2019 week1_Probability12

    59/64

    PROBABILITY OF AT LEAST ONE

    If P(A) = P(getting at least 1 girl), then

    P(A) = 1 - P(A)

    where P(A) is P(getting no girls)

    P(A) = (0.5)(0.5)(0.5) = 0.125

    P(A) = 1 - 0.125 = 0.875

  • 8/10/2019 week1_Probability12

    60/64

  • 8/10/2019 week1_Probability12

    61/64

  • 8/10/2019 week1_Probability12

    62/64

    Q1BA10

    1(a) An experiment consists of threerepetitions of a Bernoulli trial with theprobability of success equal to 0.25 and

    the probability of failure equal to 0.75.(i) Draw a tree diagram to illustrate

    the situation.

    (ii) What is the probability that nofailure is obtained in the three trials.

    (iii) What is the probability that exactly

  • 8/10/2019 week1_Probability12

    63/64

    (iii) What is the probability that exactlyone failure is obtained in the threetrials?

    (b) There are 78 tennis players in a

    competition. Table 1 gives detailinformation about them

    56 school-level

    players

    29 male 7 left-handed

    27 female 3 left-handed

    22 state-level

    players

    12 male 6 left-handed

    10 female 2 left-handed

  • 8/10/2019 week1_Probability12

    64/64