
Calibrate Nominal Study Estimates Using Empirical Null Distribution
Source:R/negative_controls.R
calibrate_estimates.RdImplements OHDSI HADES empirical calibration, estimating null distribution mean and variance from negative control estimates and calibrating p-values and confidence intervals.
Arguments
- null_estimates
Data frame with columns
log_rr(oreffect) andse_log_rr(orse), or a numeric vector / matrix of negative control estimates.- observed_effect
Numeric point estimate on the log scale (e.g. log RR or log HR).
- observed_se
Numeric standard error of the observed point estimate (default 0.10).