Made available UCL Week 10, 1 Nov 2024.
Due 15 November 2024, 13:00 London time.
You are to work by yourself.
This ICA consists of 4 questions, worth 40 points;
This ICA is worth 30 percent of your grade for this module.
Some parts of the questions will require you to write and run R/Python code.
The ICA must be completed in R Markdown/Quarto/Juptyer Notebook and typeset using Markdown with Latex code, just like the way our module content is generated. You can choose to use either R or Python.
As usual, part of the grading will depend on the clarity and presentation of your solutions.
You are to do this assignment by yourself, without any help from others.
You are allowed to use any materials and code that was presented so far.
Do not search the internet for answers to the ICA.
Do not use ChatGPT or similar AI type assistance.
Do not use any fancy code or packages imported from elsewhere.
Conduct yourselves honorably.
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. Moreover, I confirm that I have not used ChatGPT or other AI type tools to complete this assignment.
Please do not write your name anywhere on the submission. Please include only your student number as the proxy identifier.
Suppose someone writes the following R code to generate a random point \(Z=(X,Y)\) on \(\mathbb{R}^2\):
R = 2*runif(1)
theta = 2*pi*runif(1)
X = R*cos(theta)
Y = R*sin(theta)
You may complete the question in Python, even though the above code was given in R
The sample output of a Markov chain is available here.
Based reasonably on this output, generate and continue the Markov chain for another \(50\) steps. [5 points]
Explain why your procedure is reasonable and display the output of your generated \(50\) steps. [5 points]
Let \(X\) and \(Y\) be independent Markov chains on a finite state space \(S = \{1,2,3\}\), with different transition matrices \(P\) and \(Q\), respectively. Suppose that the entries of \(P\) and \(Q\) are all positive. Also assume that \(X_0=1\) and \(Y_0=2\). Let \(T=\inf\{n \geq 1: X_n = Y_n\}.\)
Suppose someone wants simulate a Poisson point process of intensity \(2\) on the disc \(D\) of radius \(1\). However, they always delete/ignore and re-sample when they see that the computer returns zero points. Let \(\Pi\) represent the point process given by a kept sample.