Skip to contents

For null effects: proportion of CIs that correctly contain zero. For non-null effects: proportion of CIs that exclude zero AND have the correct sign.

Usage

sim_correct_rejection_rate(
  estimates,
  ses,
  true_effect,
  correction_factor = 1,
  alpha = 0.05
)

Arguments

estimates

Numeric vector of point estimates.

ses

Numeric vector of standard errors.

true_effect

Scalar true effect value.

correction_factor

Scalar multiplier for SEs (default 1).

alpha

Significance level (default 0.05).

Value

Scalar correct rejection rate.