Learn R Programming

PubBias (version 1.0)

test_one: For one constituent study and one simulation of its outcome, test if p

Description

For one constituent study and one simulation of its outcome, test if p

Usage

test_one(r_events_control, n_sample_size_control, n_sample_size_treated, OR_hat, alpha)

Arguments

r_events_control
Number of events in untreated
n_sample_size_control
Sample size in untreated group
n_sample_size_treated
Sample size in treated group
alpha
Type-1 error rate.
OR_hat
Summary odds ratio from meta-analysis

Value

Number, 1 if positive, 0 if negative.