rtemis

Command Palette

Search for a command to run...

StratBootConfig

Variant

Stratified bootstrap. See setup_Resampler.

Properties

stratify_var
string | nulldefault null

Name of the variable to stratify by.

train_p
numberdefault 0.75> 0< 1

Training set fraction.

strat_n_bins
integerdefault 4≥ 1

Number of bins to stratify a continuous variable into.

target_length
integer | nulldefault null≥ 1

Target length for stratified bootstraps.

seed
integer | nulldefault null≥ 0

Random seed.

id_strat
integer | string[] | null≥ 1 items

Optional vector of case IDs (e.g. subject IDs) to keep together when resampling. null = ordinary resampling.

Relationships

Used by