powered by
Extrapolate the model for new observations.
# S3 method for WH_1d predict(object, newdata = NULL, ...)
An object of class "WH_1d" with additional components for model prediction.
"WH_1d"
An object of class "WH_1d" returned by the WH() function
WH()
A vector containing the position of new observations. Observations from the fit will automatically be added to this, in the adequate order
Not used
object <- WH(portfolio_mort$d, portfolio_mort$ec) object_extra <- predict(object, newdata = 40:99) plot(object_extra)
Run the code above in your browser using DataLab