simulate_unbiased_study_set: Simulate full unbiased study set.

Description Usage Arguments Value

View source: R/data_generation_functions.R

Description

Repeatedly calls simulate_study() until the intended meta-analysis size equals the number of studies with a positive selection indicator (== 1)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
simulate_unbiased_study_set(
  job_id,
  scenario_id,
  ma_size,
  p_contr,
  odds_ratio,
  bias_type,
  bias_strength = NULL,
  bias_percentage = NULL,
  n_cg_distr,
  bias_table,
  tau_squared = 0
)

Arguments

ma_size

passed on to obtain_true_ma_size()

p_contr

passed on to simulate_study()

odds_ratio

passed on to simulate_study()

bias_type

paassed on to simulate_study() and obtain_true_ma_size()

bias_strength

passed on to simulate_study()

bias_percentage

passed on to obtain_true_ma_size()

n_cg_distr

passed on to simulate_study()

tau_squared

passed on to simulate_study()

Value

Returns a data frame of all studies pertaining to a given meta-analysis before publication bias


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