MATH235

MATH235 Week 1 - Assessed problems (coursework)

Submission is due on Tuesday in Week 2.

CW1.1 

Consider the sequence of random variables X1,,Xn. Assume that these are IID, with Poisson(μ) distribution, μ>0.

  1. (a)

    Show that the sample mean

    X¯n=X1++Xnn

    is an unbiased estimator of μ.

    [marks: 1]

  2. (b)

    What is the variance of the estimator X¯n?

    [marks: 2]

  3. (c)

    Now suppose that X1,,Xn are independent, but that for i=1,,n,

    XiPoisson(wiλ),wi>0,λ>0,

    for some weights w1,,wn.

    The bias of an estimator θ^ for a parameter θ is the difference between the expected value of the estimator and the parameter,

    𝔼[θ^]-θ.

    Calculate the bias if the sample mean X¯n is used as an estimator for λ. What constraint can be placed on the weights to ensure the estimator is unbiased?

    [marks: 2]

CW1.2 

Using the data in Table 0.3 we wish to test the hypothesis that the mean price of tea is greater than 1.8 dollars per kg. Assume that the tea prices are an IID sample from a Normal(μ,σ2) distribution, with unknown population variance.

Year Coffee Sugar Tea
1995 151.2 13.3 1.4
1996 122.1 12.0 1.7
1997 189.1 11.4 2.0
1998 135.2 8.9 2.0
1999 103.9 6.3 1.8
2000 87.1 8.2 1.9
2001 62.3 8.6 1.6
2002 61.5 6.9 1.5
2003 64.2 7.1 1.5
2004 80.5 7.2 1.7
2005 114.9 9.9 1.6
2006 114.4 14.8 1.9
2007 123.5 10.1 2.1
2008 139.8 13.1 2.3
2009 143.9 16.9 2.7
2010 196.0 21.1 2.9
2011 275.3 25.9 2.9
2012 230.0 21.1 2.6
2013 182.3 16.6 2.5
2014 180.0 16.0 2.4
2015 175.0 15.5 2.2
Table 0.2: Forecasts of annual prices for coffee (cents per lb), sugar (cents per lb) and tea (dollars per kg) from 1995 to 2015. Data provided by the Economist Intelligence Unit.
  1. (a)

    Write down appropriate null and alternative hypotheses for this test.

    [marks: 1]

  2. (b)

    Calculate an appropriate test statistic for this test.

    [marks: 2]

  3. (c)

    Calculate the p-value for the test statistic obtained in part (b). What conclusions can you draw about the annual price of tea?

    [marks: 2]

CW1.3 

Challenge
Suppose that X1,,Xn is an IID sequence of Binomial(m,p) random variables, and that Y1,,Yn is also a sequence of Binomial(m,p) random variables. Further the correlation of the two sequences is given by

cor(Xi,Yj)={ri=j0ij.

Consider the estimator p^=12m(X¯+Y¯).

  1. (a)

    Show that p^ is an unbiased estimator of p.

    [marks: 2]

  2. (b)

    Express the variance of Xi+Yi in terms of m, p and r.

    [marks: 1]

  3. (c)

    Using your answer to parts (i) and (ii), give an expression for the variance of p^.

    [marks: 2]