MATH235

MATH235 Week 7 - Workshop problems

If not all of the problems below are discussed in the workshop for lack of time, then please have a go at the problems on your own.

WS7.1 

Take logs of f(x) and simplify the result in the following cases:

  1. (a)

    f(x)=θx(1-θ)m where 0<θ<1

  2. (b)

    f(x)=λexp(-λx) where λ>0 v f(x)=(βx)y where β>0

  3. (c)

    f(x)=θxexp(-θx2) where θ>0

  4. (d)

    f(x)=i=1nλxiexp(-λ) where λ>0 and i,xi>0.

WS7.2 

  1. (a)

    Obtain the first and second derivatives with respect to θ of

    • (i)

      log(1-θ)x where 0<θ<1

    • (ii)

      -12(x-θ)2

    • (iii)

      -12logθ-12x2θ where θ>0

  2. (b)

    Obtain the first and second derivatives of the following with respect to β, simplifying your answer as much as you can:

    • (iv)

      i=1n(yi-β)2

    • (v)

      logi=1n(βxi)yi   where   β>0and   i,xi>0andyi>0.

WS7.3 

Suppose that X is a discrete random variable with the following probability mass function:

X 0 1 2 3
P(X) 2θ/3 θ/3 2(1-θ)/3 (1-θ)/3

where 0θ1 is a parameter of interest. Suppose a sample of x=(x1,,xn) is observed, and let ni (i=0,,3) represent the number of times data value i appears in the sample, so that i=03ni=n.

  1. (a)

    Derive the method of moments estimator for the parameter θ based on the sample x.

  2. (b)

    Write down the likelihood and log-likelihood functions for the parameter θ based on the sample x.

  3. (c)

    Find an expression for the maximum likelihood estimator for θ and verify it is indeed a maximum.

WS7.4 

In the 2010-11 season, Wolverhampton Wanderers played 38 games, winning 11, drawing 7 and losing 20, finishing the season with 40 points (just escaping relegation!). Let θ be the probability that the team wins a randomly selected match.

  1. (a)

    It is proposed that the number of games won by Wolves is modelled as a binomial distribution with parameter θ. Discuss the assumptions this would be making, and whether they are reasonable.

  2. (b)

    Write down the resulting likelihood and log-likelihood functions.

  3. (c)

    Find the maximum likelihood estimate of θ.

  4. (d)

    At one point in the season, Wolves went for 8 games without a win. Is this evidence against the binomial distribution being appropriate?