gridSearch {depCensoring} | R Documentation |
Grid search algorithm for finding the identified set
Description
This function implements the gridsearch and binary search algorithms used to compute the roots of the violation curve and hence in estimating the identified intervals.
Usage
gridSearch(
dir,
test.fun,
hyperparams,
evaluations = NULL,
time.run.duration = FALSE,
verbose = 0,
picturose = FALSE
)
Arguments
dir |
Search direction. |
test.fun |
The test function to be inverted in order to obtain the
identified set. It should take a scalar parameter as argument (i.e. the
specified value of a component of the full parameter vector) and return a
list with named elements |
hyperparams |
List of hyperparameters. |
evaluations |
Matrix of already evaluated points, of which at least one
is feasible. When |
time.run.duration |
Boolean value indicating whether to time each step
in the EAM algorithm. Requires |
verbose |
Boolean value indicating whether or not to print run time
updates to the console. Default is |
picturose |
Boolean value indicating whether or not to visualize the
identified set search. Default is |
Value
List containing the evaluations of the test statistic and critical values, convergence information, and run times.