test.n: This runs test_one function for many replicates, usually...

Description Usage Arguments Value

Description

This runs test_one function for many replicates, usually 10,000, for example, to generate the type-2 error rate for one constituent study (not for end user).

Usage

1
2
  test.n(r_events_control, n_sample_size_control,
    n_sample_size_treated, OR_hat, n, 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.

n

Number of iterations used to generate constituent study power; suggest use 10,000.

OR_hat

Summary odds ratio from meta-analysis

Value

Type-2 error for one constituent study


PubBias documentation built on May 1, 2019, 8:20 p.m.

Related to test.n in PubBias...