det_range: Determine the initial range for stability selection

View source: R/det_range.R

det_rangeR Documentation

Determine the initial range for stability selection

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.

Usage

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

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.