biasCorrectionTransform is a transformation that can be applied to a matrix of data. The resulting matrix's variance is corrected for bias (Morey 2008)

biasCorrectionTransform(dta, variables)

Arguments

dta

a data.frame containing the data in wide format;

variables

a vector of column names on which the transformation will be applied. the remaining columns will be left unchanged

Value

a data.frame of the same form as dta with the variables transformed.

This function is useful when passed to the argument preprocessfct of superb()

where it performs a modification of the data matrix.

References

Morey RD (2008). “Confidence Intervals from Normalized Data: A correction to Cousineau (2005).” Tutorials in Quantitative Methods for Psychology, 4, 61 -- 64. doi:10.20982/tqmp.04.2.p061 .