ch08 probability

Upload: mmadhulita

Post on 29-May-2018

247 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 Ch08 Probability

    1/51

    Review Homework

    Chapter 6: 1, 2, 3, 4, 13

    Chapter 7 - 2, 5, 11 Probability

    Control charts forattributes

    Week 13 Assignment Read Chapter 10:

    Reliability

    Homework

    Chapter 8: 5, 9,10,

    20, 26, 33, 34

    Chapter 9: 9, 23

    Week 12AgendaAgenda

  • 8/8/2019 Ch08 Probability

    2/51

    Probability

    ProbabilityProbability

    Chapter Eight

  • 8/8/2019 Ch08 Probability

    3/51

  • 8/8/2019 Ch08 Probability

    4/51

    Probability

    Probability theoremsProbability theorems

    For mutually exclusive events, theprobability that either event A or event B

    will occur is the the sum of theirrespective probabilities.

    When events A and B are not mutually

    exclusive events, the probability thateither event A or event B will occur is

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

  • 8/8/2019 Ch08 Probability

    5/51

    Probability

    Probability theoremsProbability theorems

    If A and B are dependent events, theprobability that both A and B will occur is

    P(A and B) = P(A) x P(B|A) If A and B are independent events, then

    the probability that both A and B will

    occur is P(A and B) = P(A) x P(B)

  • 8/8/2019 Ch08 Probability

    6/51

    Probability

    PermutationsandPermutationsand

    combinationscombinationsA permutation is the number of

    arrangements that n objects can have

    when r of them are used. When the order in which the items are

    used is not important, the number of

    possibilities can be calculated by usingthe formula for a combination.

  • 8/8/2019 Ch08 Probability

    7/51

    Probability

    Discrete probabilityDiscrete probability

    distributionsdistributions Hypergeometric - random samples from

    small lot sizes.

    Population must be finite samples must be taken randomly without

    replacement

    Binomial - categorizes success andfailure trials

    Poisson - quantifies the count of discrete

    events.

  • 8/8/2019 Ch08 Probability

    8/51

    Probability

    Continuous probabilityContinuous probability

    distributionsdistributions Normal

    Uniform

    Exponential Chi Square

    F

    student t

  • 8/8/2019 Ch08 Probability

    9/51

    Probability

    Fundamental conceptsFundamental concepts

    Probability = occurrences/trials

    0 < P < 1

    The sum of the simple probabilities for allpossible outcomes must equal 1

    Complementary rule - P(A) + P(A) = 1

  • 8/8/2019 Ch08 Probability

    10/51

    Probability

    Addition ruleAddition rule

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

    If mutually exclusive; just P(A) + P(B)

    P(A) P(B)

    P(AandB)

  • 8/8/2019 Ch08 Probability

    11/51

    Probability

    Addition ruleexampleAddition ruleexample

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

    Roll one die

    Probability of even and divisible by 1.5? Sample space {1,2,3,4,5,6}

    Event A - Even {2,4,6}

    Event B - Divisible by 1.5 {3,6} Event A and B ?

    Solution?

  • 8/8/2019 Ch08 Probability

    12/51

    Probability

    Conditional probability ruleConditional probability rule

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

    A die is thrown and the result is known to

    be an even number. What is theprobability that this number is divisible by1.5?

    P(/1.5|Even)=P(/1.5 and even)/P(even) 1/6 / 3/6 = 1/3

  • 8/8/2019 Ch08 Probability

    13/51

    Probability

    Compoundor jointCompoundor joint

    probabilityprobability The probability of the simultaneous

    occurrence of two or more events is

    called the compound probability or,synonymously, the joint probability.

    Mutually exclusive events cannot be

    independent unless one of them is zero.

  • 8/8/2019 Ch08 Probability

    14/51

    Probability

    Multiplication forMultiplication for

    independenteventsindependentevents P(A and B) = P(A) x P(B)

    P(ace and heart) = P(ace) x P(heart)

    1/13 x 1/4 = 1/52

  • 8/8/2019 Ch08 Probability

    15/51

    Probability

    Computing conditionalComputing conditional

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

    P(Own and Less than 2 years)?

    Number of credit applicants by category

    On present job 2

    years or less

    On present job

    more than 2 years

    Own Home 20 40

    Rent Home 80 60

    Total 100 100

  • 8/8/2019 Ch08 Probability

    16/51

    Probability

    P(A) P(B)

    P(AandB)

    Computing conditionalComputing conditional

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

  • 8/8/2019 Ch08 Probability

    17/51

    Probability

    Joi t robabilit

    tabl

    On r nt jr r l

    On r nt jr t n

    r

    M rginalr abilit

    Own Home . . .3

    Rent Home . .3 .7

    Marginal probability .5 .5 .

  • 8/8/2019 Ch08 Probability

    18/51

    Probability

    Conditional probabilityConditional probability

    Satisfied Not Satisfied Totals

    New 300 100 400

    Used 450 150 600

    Total 750 250 1000

    S=satisfied N= bought new car

    P(N|S) = ?

  • 8/8/2019 Ch08 Probability

    19/51

    Probability

    Just for funJust for fun

    60 business studentsfrom a large universityare surveyed with the

    following results: 19 read Business Week

    18 read WSJ

    50 read Fortune

    13 read BW and WSJ 11 read WSJ and Fortune

    13 read BW and Fortune

    9 read all three

    How many read none?

    How many read onlyFortune?

    How many read BW, theWSJ, but not Fortune?

    Hint: Try a Venn

    diagram.

  • 8/8/2019 Ch08 Probability

    20/51

    Probability

    ProbabilityProbabilityDistributionsDistributions

  • 8/8/2019 Ch08 Probability

    21/51

    Probability

    Learning objectivesLearning objectives

    Know the difference between discreteand continuous random variables.

    Provide examples of discrete andcontinuous probability distributions.

    Calculate expected values and

    variances. Use the normal distribution table.

  • 8/8/2019 Ch08 Probability

    22/51

    Probability

    RandomvariablesRandomvariables

    A random variable is a numericalquantitywhose value is determined by chance.

    A random variable assigns a number toevery possible outcome or event in anexperiment.

    For non-numerical outcomes such as a coin

    flip you must assign a random variable thatassociates each outcome with a unique realnumber.

  • 8/8/2019 Ch08 Probability

    23/51

    Probability

    Randomvariable typesRandomvariable types

    Discrete random variable - assumes alimited set of values; non-continuous,

    generally countable number of Mark McGwire homeruns in a

    season

    number of auto parts passing assembly-lineinspection

    GRE exam scores

  • 8/8/2019 Ch08 Probability

    24/51

    Probability

    Randomvariable typesRandomvariable types

    Continuous random variable - randomvariable with an infinite set of values.

    Can occur anywhere on a continuous number scale

    0.000 1.000Baseball players batting average

  • 8/8/2019 Ch08 Probability

    25/51

    Probability

    RandomvariablesandRandomvariablesand

    probabilitydistributionsprobabilitydistributions The relationship between a random

    variables values and their probabilities is

    summarized by itsprobability distribution.

  • 8/8/2019 Ch08 Probability

    26/51

    Probability

    ProbabilitydistributionProbabilitydistribution

    Whether continuous or discrete, theprobability distribution provides a

    probability for each possible value of arandom variable, and follows these rules:

    The events are mutually exclusive

    The individual probability values arebetween 0 and 1.

    The total value of the probability values sumto 1

  • 8/8/2019 Ch08 Probability

    27/51

    Probability

    Probabilitydistribution forProbabilitydistribution for

    rates of returnrates of return Possible rate of

    return

    10%

    11%

    12%

    13%

    14% 15%

    16%

    17%

    Probability

    .05

    .15

    .20

    .35

    .10

    .10 .03

    .02

    Total = .

  • 8/8/2019 Ch08 Probability

    28/51

    Probability

    DescribingdistributionsDescribingdistributions

    Measures ofcentral tendency

    expected value (weighted

    average)

    Measures ofvariability

    variance standard deviation

  • 8/8/2019 Ch08 Probability

    29/51

    Probability

    Expectedvalue ofadiscreteExpectedvalue ofadiscrete

    randomvariablerandomvariable For discrete random variables, the

    expected value is the sum of all the

    possible outcomes times the probabilitythat they occur.

    E(X) =7 {xi * P(xi)}

  • 8/8/2019 Ch08 Probability

    30/51

    Probability

    Example:A fairdieExample:A fairdie

    Roll 1 die: x P(x) x*P(x) E(x)=?

    1 1/6 1/6

    2 1/6 2/63 1/6 3/6

    4 1/6 4/6

    5 1/6 5/6

    6 1/6 6/6

    Can you sketch

    the distribution?

  • 8/8/2019 Ch08 Probability

    31/51

    Probability

    Fairdie illustratesadiscreteFairdie illustratesadiscrete

    uniformdistributionuniformdistribution The random variable, x, has n possible

    outcomes and each outcome is equally

    likely. Thus, x is distributed uniform.

  • 8/8/2019 Ch08 Probability

    32/51

    Probability

    x

    P(x)

    1/6

    1 2 3 4 5 6

    ProbabilitydistributionProbabilitydistribution

  • 8/8/2019 Ch08 Probability

    33/51

    Probability

    Example:AnunfairdieExample:Anunfairdie

    Roll 1 die: x P(x) x*P(x) E(x)=?

    1 1/12 1/12

    2 2/12 4/123 2/12 6/12

    4 2/12 8/12

    5 2/12 10/12

    6 3/12 18/12

    Can you sketch

    the distribution?

  • 8/8/2019 Ch08 Probability

    34/51

    Probability

    Expectedvalue ofa betExpectedvalue ofa bet

    Suppose I offer you the following wager:You roll 1 die. If the result is even, I pay

    you $2.00. Otherwise you pay me$1.00.

    E(your winnings)=.5 ($2.00) + .5 (-1.00)

    = 1.00 - .50 = $0.50

  • 8/8/2019 Ch08 Probability

    35/51

    Probability

    ExpectedValue ofa BetExpectedValue ofa Bet

    Suppose I offer you the following wager:You roll 1 die. If the result is 5 or 6 I pay

    you $3.00. Otherwise you pay me $2.00. What is your expected value?

  • 8/8/2019 Ch08 Probability

    36/51

    Probability

    Variance ofadiscreteVariance ofadiscrete

    randomvariablerandomvariableThe variance of a random variable is ameasure of dispersion calculated by

    squaring the differences between theexpected value and each randomvariable and multiplying by its associatedprobability.

    7{(xi-E(x))2 * P(xi)}

  • 8/8/2019 Ch08 Probability

    37/51

    Probability

    Roll 1 die: [x- E(X)] 2 P(x) *P(x)

    1 - 21/6 6.25 1/6 1.04

    2 - 21/6 2.25 1/6 .375

    3 - 21/6 .25 1/6 .04

    4 - 21/6 .25 1/6 .045 - 21/6 2.25 1/6 .375

    6 - 21/6 6.25 1/6 1.042.91

    Example:A fairdieExample:A fairdie

  • 8/8/2019 Ch08 Probability

    38/51

    Probability

    Probabilitydistributions forProbabilitydistributions for

    continuous randomvariablescontinuous randomvariablesA continuous mathematical function

    describes the probability distribution.

    Its called the probability density functionand designated (x)

    Some well know continuous probability

    density functions: Normal Beta

    Exponential Student t

  • 8/8/2019 Ch08 Probability

    39/51

    Probability

    Continuous probabilityContinuous probability

    density functiondensity function -- UniformUniformIf a random variable, x, is distributed

    uniform over the interval [a,b], then its

    pdf is given byf x

    b a( ) !

    1

    a b

    1

    b-a

  • 8/8/2019 Ch08 Probability

    40/51

    Probability

    UniformUniform

    a b

    1

    b-a

    What is the probability of x?

    x

  • 8/8/2019 Ch08 Probability

    41/51

    Probability

    UniformUniform

    a b

    1

    b-a

    Area under the rectangle = base*height

    = (b-a)* 1 = 1

    b-a

  • 8/8/2019 Ch08 Probability

    42/51

    Probability

    UniformUniform

    a b

    1

    b-a

    c

    P(c

  • 8/8/2019 Ch08 Probability

    43/51

  • 8/8/2019 Ch08 Probability

    44/51

    Probability

    UniformdistributionUniformdistribution

    If a random variable, x, is distributeduniform over the interval [a,b], then its pdfis given by

    f xb a

    ( ) !1

    And, the mean and variance are

    (a+b) ( b-a )2E(x) = ------- Var(x)=---------

    2 12

  • 8/8/2019 Ch08 Probability

    45/51

    Probability

    UniformUniform

    3 8

    Mean? Variance?

  • 8/8/2019 Ch08 Probability

    46/51

    Probability

    f x( ) !

    1

    5

    And, the mean and variance are

    (a+b) ( b-a )2 25

    E(x) = ------ = 5.5 V(x)=--------- = ----- = 2.08

    2 12 12

    So, if a = 3 and b = 8

    Calculateuniformmean,Calculateuniformmean,

    variancevariance

  • 8/8/2019 Ch08 Probability

    47/51

    Probability

    Continuous pdfContinuous pdf -- NormalNormal

    f x e

    x

    ( )

    ( )

    !

    1

    2 22

    2

    2

    T W

    Q

    W

    If x is a normally distributed variable, then

    is the pdf for x. The expected value is Q andthe variance is W2.

  • 8/8/2019 Ch08 Probability

    48/51

    Probability

    OnestandarddeviationOnestandarddeviation

    68.3%

    W W

  • 8/8/2019 Ch08 Probability

    49/51

    Probability

    Two standarddeviationsTwo standarddeviations

    95.5%

    2W 2W

  • 8/8/2019 Ch08 Probability

    50/51

    Probability

    ThreestandarddeviationsThreestandarddeviations

    99.73%

    3W 3W

  • 8/8/2019 Ch08 Probability

    51/51

    P b bili

    Continuous PDFContinuous PDF-- StandardStandardNormalNormal

    f z ez

    ( ) !

    1

    2

    2

    2

    T

    If z is distributed standard normal,

    then Q!and W!

    f x e

    x

    ( )

    ( )

    !

    1

    22

    2

    2

    2

    T W

    Q

    W