Determine the initial range for stability selection
Determine the initial range for stability selection
This function perform regsem on bootstrap samples to determine the initial range for stability selection. Interquartile range of the bootstrap optimal regularization amounts are uesd as the final range.
det_range(data, model, times =50,...)
Arguments
data: data frame
model: lavaan output object.
times: number of bootstrap samples used.
...: Any additional arguments to pass to regsem() or cv_regsem().
Returns
result the lambda values and the upper bound and lower bound of the interquartile range.