Description Usage Arguments Details Value References
This function computes one slice of the truncation set for the F statistic, then returns the complement of the truncation set (w.r.t. to \mathbb{R}).
1 | compIntForFEachSlice(C, coeffs, tol = 1e-08, tol2 = 1e-06)
|
C, coeffs, |
the coefficients related to the F statistic. |
tol, tol2 |
the tolerance of roots. |
This function is essentially a wrapper function for
selectiveInference:::TF_roots
, with minor changes so that
the function does not stop when the constraint is infeasible (instead, this
function returns an empty "Intervals" object).
The reason we compute the complement instead of the original solution set
is that when taking intersection of multiple sets, the strategy of
"taking union of complements, then taking comlement" is substantially faster
than taking intersections directly based on the intervals
package.
This function returns an "Intervals" object.
Tibshirani, R., et al. "selectiveInference: Tools for Post-Selection Inference." R package version 1.3 (2016).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.