Description Usage Arguments Details
View source: R/bikes_nb_svbvar.R
Generates a notebook for BVAR models with stochastic volatility specifically for the bike sharing data. For some reason the svsample function does not work when any of the columns in covariates have "to many zeroes" (more than half?), in which case you need to specify "startpara = list(mu = 0, phi = 0, sigma = 1, beta = rep(0, ncol(covariates)).".
1 | bikes_svbvar(agc = list(1, 60, FALSE), include_intercept = TRUE)
|
agc |
List of atomic prediction generation controllers. The first element of the list gives the starting time (ie what observation is considered as t = 1), the second element is the minimum window length used for estimation, and the third one is a boolean indicating if the estimation window is rolling or not. |
include_intercept |
Should the design matrix include an intercept? Defaults to TRUE. |
Uses the stochvol package with default priors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.