Exercises

  1. 1.

    A weighted six-sided dice has the probabilities of {1/4,1/4,1/6,1/6,1/12,1/12} for numbers 1 to 6 respectively. Write out the moment generating function for rolling this dice. Evaluate the expected value and variability of the weighted dice.

  2. 2.

    A discrete random variable X is said to have a geometric distribution with probability ϕ if it has the probability mass function (pmf):

    pX⁢(x)=ϕ⁢(1-ϕ)x for⁢x=0,1,2,…,0<ϕ<1.

    Show that the moment generating function (mgf) for the geometric distribution is:

    M⁢(s)=ϕ1-exp⁡{s}⁢(1-ϕ).

    For what values of s is the mgf valid.

  3. 3.

    A uniform random variable Y on the unit interval has the probability density function (pdf):

    fY⁢(y)={1,if⁢0<y<1,0,otherwise
    1. (a)

      Derive the mgf M⁢(s) and cumulant generating function (cgf) K⁢(s) for this uniform distribution.

    2. (b)

      Show that the exponential family of distributions generated from the uniform distribution is:

      fY⁢(y|θ)={θ⁢exp⁡{y⁢θ}exp⁡{θ}-1,if⁢0<y<1,0,otherwise
    3. (c)

      Plot this pdf for θ=-2, θ=-1, θ=0 and θ=1. Describe the shape of these distributions.

  4. 4.

    Consider the binomial distribution with known size n and unknown probability π.

    1. (a)

      Show that this belongs to the exponential family with canonical parameter θ=log⁡(π1-π).

    2. (b)

      Find the mean function in terms of the canonical parameter, i.e. derive μ=m⁢(θ).

    3. (c)

      Show that the mean function is monotonic, i.e. a one-to-one function, and derive the inverse function θ=m-1⁢(μ).

    4. (d)

      Derive an expression for the variance function v⁢(μ).

  5. 5.

    A psychologist is interested in examining how children interpret simple instructions. The experiment involves asking children to make a mark on a line of unit length according to her instructions.

    The first instruction is to ”make a mark near to the right-hand end of the line”. It is assumed that the distribution of the marks follow a Beta(α, 1) distribution with pdf:

    fY⁢(y)=α⁢yα-1
    1. (a)

      Show that this distribution belongs to the exponential family with canonical parameter θ=α-1 and sufficient statistic t⁢(y)=log⁡(y). What happens to the pdf when θ=0?

    2. (b)

      Let y1,…,yn be distance of the mark from the left-hand edge of the line from n randomly selected children. Derive an expression for the maximum likelihood estimate θ^ and expected information at the MLE.

    3. (c)

      The table below presents the fraction of the line from the left-hand end to the mark by 10 randomly selected children. Calculate an approximate 95% interval for the canonical parameter. What can you conclude about the children’s understanding of the instruction.

      0.82 0.95 0.98 0.66 0.98
      0.82 0.97 0.85 0.73 0.97