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=0nr⁢pR⁢(r) def⁢E
    = 0+∑r=1nr⁢pR⁢(r) cunning
    = ∑r=1nr⁢(nr)⁢θr⁢(1-θ)n-r subst.
    = ∑r=1nr⁢n!r!⁢(n-r)!⁢θr⁢(1-θ)n-r 
    = ∑r=1nn!(r-1)!⁢(n-r)!⁢θr⁢(1-θ)n-r cancel
    = 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-s subst s=r-1
    = n⁢θ⁢∑s=0n-1(n-1s)⁢θs⁢(1-θ)n-1-s
    = n⁢θ⁢∑s=0n-1pS⁢(s) where S∼Bin⁢(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-r cancel
    = n⁢(n-1)⁢θ2⁢∑r=2n(n-2)!(r-2)!⁢((n-2)-(r-2))!⁢θr-2⁢(1-θ)(n-2)-(r-2) as before
    = n⁢(n-1)⁢θ2⁢∑s=0n-2(n-2)!s!⁢((n-2)-s)!⁢θ2⁢(1-θ)(n-2)-s subst s=r-2
    = n⁢(n-1)⁢θ2⁢∑s=0n-2pS⁢(s) where S∼Bin⁢(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(R≥2)=1-e-2.2-(2.2)e-2.2=0.6454.

      [1]