bp_gap.model {MortalityGaps} | R Documentation |
Time series model for the best-practice gap
Description
Time series model for the best-practice gap
Usage
bp_gap.model(X, benchmark, arima.order, drift)
Arguments
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 |
[Package MortalityGaps version 1.0.7 Index]