Edited from mice::barnard.rubin. This function computes the residual
degrees of freedom for hypothesis testing, as proposed by Barnard & Rubin (1999).
It is used by the vw_pool function.
Arguments
- lambda
: Proportion of total variance due to missingness
- m
: Number of imputed datasets
- dfcom
: Residual degrees of freedom, estimated using
stats::df.residual()
