Description Usage Arguments Details Author(s) See Also
Bootstrap a function
1 | bootFUN(R, FUN = "mean", ..., replications = 1000)
|
R |
xts object or matrix of data passed to |
FUN |
the function to be applied. |
replications |
number of bootstrap replications. |
... |
optional arguments to |
R
is the data passed to FUN
. FUN
must have x
or
R
as arguments for the data. For example, see the functions linked to
in the 'See Also' section. Care must be taken when using bootFUN
on
multivariate data. This function is designed to only accept univariate
(i.e. ncol(R) = 1) data, however is made to work with bivariate data for
bootCor
and bootCov
. For multivariate data, a wrapper function
should be written to apply the bootstrap function to each column of data.
Ross Bennett
bootMean
, bootSD
, bootStdDev
,
bootSimpleVolatility
, bootCor
, bootCov
,
bootVaR
, bootES
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.