View full page at cryptocraft.com

 

Build-your-own fancharts in R

From bankunderground.co.uk

Central banks the world over calculate and plot forecast fancharts as a way of illustrating uncertainty. Explaining the details of how this is done in a single blog post is a big ask, but leveraging free software tools means showing how to go about it isn’t. Each necessary step (getting data, building a model, forecasting with it, creating a fanchart) is shown as R code. In this post, a simple data-coherent model (a vector auto-regression or VAR) is used to forecast US GDP growth and inflation and the resulting fanchart plotted, all in a few self-contained chunks of code. Why use R? Built for statisticians, it’s ... (full story)

Story Stats

  • Posted:
  • Category: Educational News