Coursework solutions for Math 103 Probability: Week 13

  1. 1.

    This can be done in (at least) two ways (starting from either Var(R)=E[(R-E[R])2] or as below). Working from the alternative formulation of variance gives the easiest route:

    Var(R) = E[R2]-(E[R])2
    = E[R(R-1)+R]-(E[R])2
    = E[R(R-1)]+E[R]-(E[R])2

    Marks awarded as follows: start at 3 marks; deduct 1 if the start point is not clearly specified; deduct 1 if there is a major gap in the logic; deduct 0.5 if there is a minor gap; deduct 1 if the result is not obtained; do not go below 0.

  2. 2.
    E[R] = r=0nrpR(r)defE
    = 0+r=1nrpR(r)cunning
    = r=1nr(nr)θr(1-θ)n-rsubst.
    = r=1nrn!r!(n-r)!θr(1-θ)n-r
    = r=1nn!(r-1)!(n-r)!θr(1-θ)n-rcancel
    = nθr=1n(n-1)!(n-r)!(r-1)!θr-1(1-θ)n-r
    = nθs=0n-1(n-1)!s!(n-1-s)!θs(1-θ)n-1-ssubst s=r-1
    = nθs=0n-1(n-1s)θs(1-θ)n-1-s
    = nθs=0n-1pS(s)where SBin(n-1,θ)
    = nθ×1=nθ,

    since summation of binomial pmf is 1.

    [2 marks]

    Similarly

    E[R(R-1)] = r=0nr(r-1)p(r)E of function
    = 0+0+r=2nr(r-1)p(r)first two terms 0
    = r=2nr(r-1)n!r!(n-r)!θr(1-θ)n-r
    = r=2nn!(r-2)!(n-r)!θr(1-θ)n-rcancel
    = n(n-1)θ2r=2n(n-2)!(r-2)!((n-2)-(r-2))!θr-2(1-θ)(n-2)-(r-2)as before
    = n(n-1)θ2s=0n-2(n-2)!s!((n-2)-s)!θ2(1-θ)(n-2)-ssubst s=r-2
    = n(n-1)θ2s=0n-2pS(s)where SBin(n-2,θ)
    = n(n-1)θ2

    since the binomial pmf sums to 1.

    [1]

    Hence

    Var(R) = E[R(R-1)]+E[R]-(E[R])2
    = n(n-1)θ2+nθ-n2θ2
    = nθ(1-θ).

    [1]

  3. 3.

    The number abandoned is probably better modelled as a binomial rv with parameters the number of cars, and the probability that any individual car is abandone. However, we don’t know either of these quantities. But since we have a rare event, we can use Poisson with parameter λ=2.2 given by the average number.

    [1]

    Therefore

    1. (a)

      P(R=0)=e-2.2=0.1108,

      [1]

    2. (b)

      P(R2)=1-e-2.2-(2.2)e-2.2=0.6454.

      [1]