det_range_par: Determine the initial range for stability selection, parallel...

View source: R/det_range_par.R

det_range_parR Documentation

Determine the initial range for stability selection, parallel version

Description

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. Parallelization is used to achieve faster performance.

Usage

det_range_par(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().

Value

result the lambda values and the upper bound and lower bound of the interquartile range.


regsem documentation built on June 7, 2023, 5:58 p.m.