Homework 10
Contents
Homework 10¶
Important: If you struggle with any part of this assignments, raise an issue in the repo.
Tasks¶
Part 1¶
Read Chapter 29 of this notes for an accessible intro to OOP in Python.
Part 2¶
Consider the following state space model.
and the following parameters (
a) Find a state space representation for
b) Write a python function which takes values for the model parameters as input and returns the matrices of the state space representation as output.
c) Construct the covariance matrix of the marginal distribution of
d) Construct the mean vector and covariance matrix of the marginal distribution of
e) Write a function which takes model parameter values and a sample size T as inputs and returns the mean vector and covariance matrix of the marginal distribution of
f) Draw a sample from the distribution of
Submission¶
Submit as a jupyter notebook in the folder HW10 in your repository at https://github.com/PhDEcon108.