subsample.bs | R Documentation |
subsample
procedureThis function carries out the bootstrap procedure of the
subsample
procedure This function supports
parallel programming via the furrr
package.
subsample.bs(
data,
i1,
lpmodel,
beta.tgt,
norm,
solver,
replace,
progress,
m,
n,
omega.hat,
df.error,
eval.count,
error.id,
seed.list
)
data |
An |
i1 |
The last index to be evaluated. |
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
|
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. |
progress |
The boolean variable for whether the progress bars should
be displayed. If it is set as |
m |
The size of each subsample. |
n |
The sample size. This is only required if |
omega.hat |
The estimator of the asymptotic variance. |
df.error |
The consolidated data frame of error messages. |
eval.count |
The count for the number of times the |
error.id |
The list of ID that corresponds to problematic bootstrap draws. |
seed.list |
The list of RNG states and the corresponding iterations. |
Returns a list of output that are obtained from the subsampling procedure:
T.sub |
The bootstrap test statistics from the subsampling procedure. |
beta.sub |
The bootstrap estimators for the |
df.error |
A table showing the id of the bootstrap replication(s) with error(s) and the corresponding error message(s). |
R.eval |
The number of bootstrap replications that have been conducted. |
R.succ |
The number of successful bootstrap replications. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.