Skip to main content

Module poolvar

Module poolvar 

Source
Expand description

Satterthwaite pooling of sample variances.

Pure-Rust port of limma’s poolvar.R (pool_var): combine sample variances with possibly unequal true variances into one pooled estimate with Satterthwaite-approximated degrees of freedom.

Structs§

PoolVar
Result of pool_var: the pooled variance, the Satterthwaite effective df, and the summed multiplier.

Functions§

pool_var
poolVar(var, df, multiplier). Length-1 inputs are recycled against the longest. Panics on a negative multiplier; an all-zero multiplier yields var = df = multiplier = 0.