selection_bias_inner {stabiliser}R Documentation

selection_bias_inner

Description

An function to illustrate the risk of selection bias in conventional modelling approaches by simulating a dataset with no information and conducting conventional modelling with prefiltration.

Arguments

nrows

The number of rows to simulate.

ncols

The number of columns to simulate.

p_thresh

The p-value threshold to use in univariate pre-filtration.

Value

A list including a dataframe of results, a dataframe of the median number of variables selected and a plot illustrating false positive selection.


[Package stabiliser version 1.0.6 Index]