Blog
Uncategorized
Macroeconomics homework, python required 2 questions
Consider a 2-state Markov chain and a random variable yt = y′xt, where y = (2, 5)′. Suppose it is known that E(yt 1|xt) = (3, 4).
2. Business cycle facts. Download the following aggregate United States data from the FRED database from 1947-2020, quarterly, if available. You can use the following Python API for FRED data.
(a) Find a transition matrix consistent with the conditional expectations.
(b) Find a stationary distribution for the Markov chain xt.
…..