View source: R/LG_boot_approx.R
LG_boot_approx | R Documentation |
This function is in essence a wrapper for the function
LG_approx
, and it is called when we need to investigate
bootstrap-based replicates in our analysis of the local
Gaussian spectral densities.
LG_boot_approx(
save_dir = NULL,
TS_boot,
lag_max,
LG_points,
.bws_mixture,
bw_points,
.bws_fixed,
.bws_fixed_only,
content_details,
LG_type
)
save_dir |
A specification of the directory to be used when
saving (and loading) data. The default value |
TS_boot |
The matrix of bootstrap-replicates produced by
|
lag_max |
The number of lags to include in the analysis. |
LG_points |
An array that specifies the point at which it is
desired to compute the local Gaussian estimates. The default
value |
.bws_mixture |
An argument that specifies how the global
bandwidths and those obtained by the nearest-neighbour strategy
should be combined. The three available options are
|
bw_points |
A vector, default |
.bws_fixed |
A vector of non-negative real values, that can be
used to specify fixed values for the bandwidths (which might be
of interest to do in a preliminary analysis). The default
value |
.bws_fixed_only |
A logic value, default |
content_details |
A character string from |
LG_type |
One of |
This function can be called manually, but the intention is
that it only should be called from
LG_boot_approx_scribe
, since that will ensure that the
arguments are properly recorded and that the result are saved
to appropriately named files. In order to dissuade users from
calling this (often quite time consuming) function directly, no
default values have been specified for the arguments.
This function is a wrapper around LG_approx
, and the
result is thus the same as specified for that function.
Regarding the case where the LG_type
-argument is equal
to "par_one": The author of this package has always considered
the "par_one"-approach to be reasonable when the aim of the
investigation is to estimate a density at a given point.
However, the extraction of the correlation value from the
resulting density-estimate will in general not capture the
local geometrical properties of the targeted distribution at
the point of investigation. The "par_one"-approach is as such
(in general) a complete waste of computation resources.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.