Draws bootstrap samples using the estimated variance matrix of the fitted gam model.
hessBootstrap(trend, nBoot = 500)
A trend object with the bootstrapped trend estimates appended.
An object of class trend.
The number of bootstrap samples to draw.
Jonas Knape
This function is used by ptrend and would typically not be called directly. Bootstrap samples are drawn using the estimated coefficients and covariance matrix vcov.gam of the fitted gam model. The default values of vcov.gam which gives the Bayesian posterior covariance matrix.
Bootstrapped samples computed in this way do not account for any uncertainty in the selection of degrees of freedom.