hessBootstrap | R Documentation |
Draws bootstrap samples using the estimated variance matrix of the fitted gam model.
hessBootstrap(trend, nBoot = 500)
trend |
An object of class trend. |
nBoot |
The number of bootstrap samples to draw. |
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.
A trend object with the bootstrapped trend estimates appended.
Jonas Knape
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.