process_null_benchmark: Compare an observed effect against a negative-control null...

View source: R/077-negative-controls-leakage-0-9.R

process_null_benchmarkR Documentation

Compare an observed effect against a negative-control null distribution

Description

Compare an observed effect against a negative-control null distribution

Usage

process_null_benchmark(observed, controls, effect = "effect")

Arguments

observed

Observed scalar effect.

controls

Negative-control result or numeric vector.

effect

Effect column when controls is an object.

Value

A named list with components "observed", "n_null", "null_mean", "null_sd", "percentile", "two_sided_tail", "standardized_distance", containing an observed effect against a negative-control null distribution and associated metadata or diagnostics.


eyeprocess documentation built on Sept. 28, 2026, 5:08 p.m.