View source: R/selection_bias_inner.R
selection_bias_inner | R Documentation |
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.
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. |
A list including a dataframe of results, a dataframe of the median number of variables selected and a plot illustrating false positive selection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.