Description Usage Arguments Value
Find an (approximate) maximum of gain_function
by repeatedly fitting and evaluating.
1 | two_step_search(gain_function, split_candidates, n, control)
|
gain_function |
closure |
split_candidates |
An array of indices where gain function is (possibly) evaluated. |
n |
total number of observations |
control |
Control parameter as returned by hdcd_control |
A list with entries gain, max_gain, best_split, permutation_test and pval
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.