Computes an approximate bias adjustment for eta-squared. This adjustment can be applied to eta-squared, partial-eta squared, and generalized eta-squared estimates.
etasqr.adj(etasqr, dfeffect, dferror)
unadjusted eta-square estimate
degrees of freedom for the effect
error degrees of freedom
Returns a bias adjusted eta-squared estimate
etasqr.adj(.315, 2, 42)
#> Adjusted eta-squared
#> [1,] 0.282381
# Should return:
# Adjusted eta-squared
# [1,] 0.282381