subsample.bs.fn | R Documentation |
This function carries out the one bootstrap replication of the
subsampling test. This function is used in the
subsample.bs
function via the
future_map
function.
subsample.bs.fn(
x,
data,
lpmodel,
beta.tgt,
norm,
m,
solver,
replace,
n,
pbar,
eval.count,
n.bs,
any.list,
progress,
omega.hat
)
x |
This is either the list of indices that represent the bootstrap
replications, or the list of bootstrap components of the |
data |
An |
lpmodel |
An |
beta.tgt |
The value to be tested. |
norm |
The norm used in the optimization problem. It can be either a
1-norm or a 2-norm. See the details section of
|
m |
The size of each subsample. |
solver |
The name of the linear and quadratic programming solver that
is used to obtain the solution to linear and quadratic programs.
The solvers supported by this package are |
replace |
A boolean variable to indicate whether the function samples the data with or without replacement. |
n |
The sample size. This is only required if |
pbar |
The progress bar object. |
eval.count |
The count for the number of times the |
n.bs |
The total number of replications to be conducted in this procedure. |
any.list |
This object contains information on whether any components
in the |
progress |
The boolean variable for whether the progress bars should
be displayed. If it is set as |
omega.hat |
The estimator of the asymptotic variance. |
Returns a list of output that are obtained from the subsampling procedure:
Ts |
The bootstrap test statistic. |
beta |
The bootstrap estimate of |
msg |
An error message (if applicable). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.