ProBlEM 1. Year-on-year monthly inflation rates are defined as πt = 100 log(Πt/Πt 12) where Πt is the consumer price index (CPIAUCSL) in the United States at time t = 1, . . . , T . Consider an AR(1) model of the form:
πt = µ + φπt−1 + ϵt, ϵt ∼ N (0, σ2).
Assume an inverse Gamma prior on the error variances, σ2 ∼ G−1(1, 1) and a Gaussian prior on the parameter µ ∼ N (0, 10). For the persistence parameter, implement the following priors:
• a Gaussian prior, φ ∼ N (0, 10), i.e. φ ∈ R;
• a Beta prior, φ (a0, b0), i.e., φ (0, 1), with shape parameters a0 and b0 that you may choose in an adequate fashion.
Download and transform the most recent series (e.g., from fred.stlouisfed.org), and estimate the model for these two priors. Briefly describe how you implemented your MCMC algorithm and mention key sampling steps. Discuss your findings in terms of the posteriors for φ.
Specifically consider the following aspects: (1) what is the posterior probability of φ < 1 for the unrestricted Gaussian prior; (2) in light of your answer to the first point, is the imposed restriction on the support of φ based on the Beta prior useful; (3) discuss the efficiency of your MCMC algorithm for the two priors.
ProBlEM 2. Consider the model from ProBlEM 1, but now introduce a sample split at time t0. In particular, assume a model of the form:
π = (µ0 + φ0πt−1 + σ0ϵt for t = 1, . . . , t0,
, ϵ ∼ N (0, 1).
1 1 t−1 1 t 0
Restrict your sample to the period from January 1965 to December 2006. The splitting month at t0 is December 1985, i.e., this roughly splits your sample into two equally sized periods which approximately correspond to those commonly referred to as the “Great Inflation” and the “Great Moderation.”
Estimate your model using the unrestricted Gaussian prior and discuss the following as- pects in detail: (1) compute the probabilities of φ0 < 1 and φ1 < 1 and compare; (2) is there evidence for a change in the persistence of inflation over time; (3) was there a significant shift in the unconditional mean and volatility of inflation? Exclude non-stationary draws from your posterior for answering (3).
Remark: If you are interested in related research, the paper “Were There Regime Switches in U.S. Monetary Policy?” by C.A. Sims and T. Zha, American Economic Review 96(1), p. 54–81, 2006, may be of relevance.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme