Forecasting Freddie Mac with the DeepAR Algorithm

[This article was first published on DataGeeek, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Mortgage rates have been the highest in the US over the last 20 years. Inventory shortage and high inflation have driven home prices up. I have analyzed this situation by taking FMCC as an indicator of the American housing market. I’ve examined the distribution of Freddie Mac(FMCC) before and after the mortgage crisis period.

While I did that, I added some variables I thought were related. One of them is the 10-year Treasury yield interest rate (TNX), which pertains to treasury bonds the U.S. government borrows money by issuing a 10-year term. The other one is the Federal Fund rates (FEDFUNDS).

Finally, we’ve forecasted the next 2 years for the whole variables with the GluonTS DeepAR model of the modeltime package. Unfortunately, this model is not reproducible, which means every time we run the model, different results come up. The source code has been embedded in the dashboard.

When we look at the forecasting charts, we might say that as the interest rates go down, the housing market will rise again in the coming terms.

To leave a comment for the author, please follow the link and comment on their blog: DataGeeek.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)