Time series model for the best-practice gap
1 | bp_gap.model(X, benchmark, arima.order, drift)
|
X |
Input data object generated by prepare_data function. |
benchmark |
Fitted values given by BP linear model. |
arima.order |
A specification of the the ARIMA model to be used in
fitting the best-practice gap. The ARIMA order is country specific.
The three integer components (p, d, q) are the AR order,
the degree of differencing, and the MA order. Format: numerical vector of length 3.
If |
drift |
Indicate whether the ARIMA model should include a linear drift
term or not. Type: logical value. If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.