chorussell.bs.fn | R Documentation |
This function carries out one bootstrap replication of the
Cho-Russell procedure. This function is used in the
chorussell.bs
function via the future_map
function.
chorussell.bs.fn(
x,
data,
lpmodel,
beta.tgt,
kappa,
norm,
n,
estimate,
solver,
pbar,
eval.count,
n.bs,
any.list,
progress
)
x |
This is either the list of indices that represent the bootstrap
replications, or the list of bootstrap components of the |
data |
An |
lpmodel |
The |
beta.tgt |
The value to be tested. |
kappa |
The tuning parameter used in the second step of the two-step procedure for obtaining the bounds subject to the shape constraints. It can be any nonnegative number or a vector of nonnegative numbers. |
norm |
The norm used in the optimization problem. It can be either a
1-norm or a 2-norm. See the details section of
|
n |
The sample size. This is only required if |
estimate |
A boolean variable to indicate whether the bounds should be estimated or not. |
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 |
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 |
Returns a list of output that are obtained from the Cho-Russell procedure:
ub |
The bootstrap estimate of the upper bound. |
ub |
The bootstrap estimate of the lower bound. |
kappa.error |
The |
msg |
An error message (if applicable). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.