chorussell.check | R Documentation |
chorussell
procedureThis function checks and updates the input from the user in the
chorussell
function. If there is any invalid input,
the function will be terminated and error messages will be printed.
chorussell.check(
data,
lpmodel,
beta.tgt,
R,
Rmulti,
kappa,
norm,
n,
estimate,
solver,
ci,
alpha,
tol,
progress
)
data |
An |
lpmodel |
The |
beta.tgt |
The value to be tested. |
R |
The number of bootstrap replications. |
Rmulti |
The multiplier for the number of bootstrap replications. The
product of |
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 |
ci |
A boolean variable that indicates whether a |
alpha |
The significance level. This can be a vector. |
tol |
The tolerance level in the bisection procedure. |
progress |
The boolean variable for whether the progress bars should
be displayed. If it is set as |
Returns the updated parameters back to the function
chorussell
. The following information are updated:
ci
data
solver
solver.name
test.logical
n
logical.lb
logical.ub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.