set_selection_indicator: Set selection idicator.

Description Usage Arguments Value

View source: R/data_generation_functions.R

Description

If bias type is "p" one sample will be drawn from a binomial distribution with the probability parameter dertermined by select_prob() based on bias strength and size of p value.

Usage

1
set_selection_indicator(bias_type, p_value, bias_strength, bias_table)

Arguments

bias_type

Bias type can either be "p" or "es".

p_value

p_value (one tailed)

bias_strength

String indicating the bias strength can be "moderate" or "severe" passed to select_prob()

bias_table

passed to select_prob()

Value

TRUE if bias type is "es" (selection will then be performed later). TRUE if bias type is "p" and the draw from the binomial distribution returned 1. FALSE if bias type is "p" and the draw from the binomial distribution returned 1.


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