In-sample and out-of-sample Goyal and Welch (2008)
1 |
df |
tibble or dataframe with date, dependent variable and independent variable (variable) |
firstyear |
Size of the windows |
cumsum |
Cumulative sum of sum squared error (sse) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.