| multipliers | R Documentation |
This function extracts the beta (distributed lag) coefficients for a specific
variable from an estimated ALM model and ARIMA(p,d,0) polynomials. It then uses
them to calculate dynamic multipliers for that variable for the horizon h.
multipliers(object, parm, h = 10)
object |
An estimated ALM model object (with coefficients from |
parm |
Character string of the variable name. |
h |
Horizon for which to produce the dynamic multipliers. |
Numeric vector of dynamic multipliers over time
,
B for creating lagged variables
## Not run:
# Fit a model with lagged variables
test <- alm(drivers ~ kms + law + B(kms, 1) + B(kms, 2),
Seatbelts, orders = c(1, 0, 0))
multipliers(test, "kms", h=10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.