parametric.bootstrap: Parametric bootstrap

parametric.bootstrapR Documentation

Parametric bootstrap

Description

Parametric bootstrap

Usage

parametric.bootstrap(boot.R, x, dx, seed)

Arguments

boot.R

numeric. Number of bootstrap samples to generate.

x

numeric vector. Actual values for the data.

dx

numeric vector of the same length as x or missing. Errors of the values.

seed

integer. Seed to use for the random number generation. If it is missing, the seed will not be set to any particular value. If there was a default value, all results would be exactly correlated. So if you want reproducability by fixing the seeds, make sure you choose different seeds for independent variables.

Value

A matrix with as many columns as there are variables in x and as many rows as boot.R.

See Also

Other NLS fit functions: bootstrap.nlsfit(), parametric.bootstrap.cov(), parametric.nlsfit.cov(), parametric.nlsfit(), plot.bootstrapfit(), predict.bootstrapfit(), print.bootstrapfit(), simple.nlsfit(), summary.bootstrapfit()

Examples

x <- 1:3
dx <- 1:3 * 0.1
parametric.bootstrap(5, x, dx)

hadron documentation built on Sept. 9, 2022, 5:06 p.m.