Introduction

Plagiarism and collusion

Please familarize yourself with the following excerpt on plagiarism and collusion from the student handbook

By ticking the submission declaration box in Moodle you are agreeing to the following declaration:


Declaration: I am aware of the UCL Statistical Science Department’s regulations on plagiarism for assessed coursework. I have read the guidelines in the student handbook and understand what constitutes plagiarism. I hereby affirm that the work I am submitting for this in-course assessment is entirely my own.

Anonymous Marking

Please do not write your name anywhere on the submission. Please include only your student number as the proxy identifier.

1.) Central limit theorem [10 points]

Recall that if \(X_1, X_2, \ldots\) are i.i.d. random variables with finite nonzero variance then if \(S_n = X_1 + \cdots + X_n\), we have that the normalized sum

\[Z_n = \frac{S_n - \mathbb{E} S_n} {\sqrt{ var(S_n) } } = \frac{S_n - n\mathbb{E}X_1} {\sqrt{ n \cdot var(X_1) } }\] converges in distribution to a standard normal.

Illustrate this fact in R by running simulations. Specifically, consider the case where \(X_i\) are i.i.d. exponential random variables with mean \(1\), and for large values of \(n\), simulate \(k\) instances of \(Z_n\), where \(k\) is also large.

2.) Transition matrices [20 points]

Consider the transition matrix \(P\) on three states \(\{1,2,3\}\) given by \[ \begin{equation*} P = \begin{pmatrix} 1/4 & 1/4 & 1/2 \\ 1/4 & 1/4 & 1/2 \\ 1/8 & 1/4 & 5/8 \end{pmatrix} \end{equation*} \]

3.) Experimenting with R [10 points]

Let \(X\) be a Markov chain with transition matrix \(P\) as in the previous question. Let \(\pi\) be the stationary distribution and assume that \(X\) is started at stationarity, so that \(X_i\) has law \(\pi\) for all \(i\). Consider the normalized sum given by

\[Z_n = \frac{S_n - \mathbb{E} S_n} {\sqrt{ n}} = \frac{S_n - n\mathbb{E} X_1} {\sqrt{ n}}\] where \(S_n = X_1 + \cdots + X_n.\)

4.) Estimating transition matrices [10 points]

Suppose that \(X\) is an aperiodic and irreducible Markov chain on a finite number of states that is started at the stationary distribution. Suppose that all you see is the realization \((x_0,x_1, \ldots, x_n)\), where \(n\) is large. How can you estimate the values transition matrix \(P\)? Carefully explain your answer and why your estimates are reasonable.

5.) Poisson processes [10 points]

Suppose someone hands you the data for arrival times (in seconds) of visits to some website. It is given by \[ \begin{eqnarray*} && arr = (0.16, 0.28, 0.42, 0.66, 0.75, \\ && 1.27, 2.25, 2.33, 2.83, 4.09, \\ && 4.30, 4.80, 5.20, 5.68, 7.05) \end{eqnarray*} \] Suppose that a Poisson process is a good model for these arrival times. Use this data and the assumption that it is a Poisson process to find estimates for the following. Justify your answers.

Version: 06 November 2020