select_prob: Compute selection probablility.

Description Usage Arguments Value

View source: R/data_generation_functions.R

Description

Function computes selection probability based on p_value and intended bia strength.

Usage

1
select_prob(p_value, bias_strength, bias_table)

Arguments

p_value

p_value (one tailed)

bias_strength

String indicating the bias strength

bias_table

List of pvalue cut-offs and corresponding selection probabilities list element names must correspond to elements of bias_strength

Value

Returns probabilty of publication


replisims/peters-2016 documentation built on Aug. 6, 2020, 12:15 a.m.