Learn R Programming

SignalY (version 1.1.1)

select_by_magnitude: Select Variables Based on Effect Magnitude

Description

Simple variable selection based on the magnitude of posterior mean coefficients. Useful as a quick screening method.

Usage

select_by_magnitude(hs_fit, threshold = 0.1, verbose = FALSE)

Value

List with selected variable names and details.

Arguments

hs_fit

Object returned by fit_horseshoe.

threshold

Minimum absolute coefficient value. Default 0.1.

verbose

Logical for messages.