Description Usage Arguments Value Examples
Performs a parametric bootstrap on returns time series (with an assumed normal distribution) and predefined performance measure.
1 | boot_param(rets, B, sample_size, type = sr_calc)
|
rets |
an nxp data matrix with returns. |
B |
an integer, the number of bootstrap repetitions. |
sample_size |
an integer, the sample size for the parametric bootstrap. |
type |
a function, the performance measure to be calculated. Default is sr_calc. |
a Bxp data matrix with the bootstrapped values of the performance measure from type.
1 2 | data(sp500_rets)
srs_boot <- boot_param(sp500_rets[,2:11], B=1000, sample_size=100, type=sr_calc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.