parametric.bootstrap: Parametric bootstrap

Description Usage Arguments Value See Also Examples

Description

Parametric bootstrap

Usage

1
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

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

hadron documentation built on Jan. 13, 2021, 8 a.m.