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)
#> adj Eta-squared
#> 0.282381
# Should return:
# adj Eta-squared
# 0.282381