Diff for "FAQ/os2" - CBU statistics Wiki
location: Diff for "FAQ/os2"
Differences between revisions 62 and 103 (spanning 41 versions)
Revision 62 as of 2013-08-07 14:06:10
Size: 4875
Editor: PeterWatson
Comment:
Revision 103 as of 2023-01-24 15:32:09
Size: 8523
Editor: PeterWatson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Partial omega-squared as an effect size in analysis of variance = = Partial and Generalized omega-squared as effect sizes in analysis of variance =
Line 7: Line 7:
(Partial) $$\omega^2 ^ = $$ [SS(effect)-df(effect) MSE(effect)] / [SS(effect)+(N-df(effect))MSE] (Partial) $$\omega^2 ^ = $$
[SS(effect)-df(effect) MSE(effect)] / [SS(effect)+(N-df(effect))MSE]

This takes the value of zero when the F ratio is one (no group differences) since F = 1 implies that SS(effect) / df(effect) = MSE(effect) implying SS(effect) = MSE(effect) df(effect) so the above becomes 0 / (MSE(effect) [df(effect) - df(effect) + N]) = 0/[N MSE(effect)] = 0.
Line 17: Line 20:
since in a one-way ANOVA between subjects design the total SS = SS(group) + (N-b)MSE. The latter denominator term (SS(group) +((df(error term)+1) x MSE)) will also be correct for any main effect in a factorial ANOVA since the df(effect) takes the same form as above ie equal to the number of groups - 1 provided the remaining factors are non-random ie chosen by the experimenter. Baguley (2012, p.483) and Field (2013, p.473) give the above formula for $$\omega^2^$$
with Total SS + MSE in the denominator.
since in a one-way ANOVA between subjects design the total SS = SS(group) + (N-b)MSE. The latter denominator term (SS(group) +((df(error term)+1) x MSE)) will also be correct for any main effect in a factorial ANOVA since the df(effect) takes the same form as above ie equal to the number of groups - 1 provided the remaining factors are non-random ie chosen by the experimenter. Baguley (2012, p.483) and Field (2013, p.473) give the above formula for $$\omega^2 ^$$
with Total SS + MSE in the denominator. There is also a calculator for the one-way ANOVA
and other effect sizes [[https://www.ai-therapy.com/psychology-statistics/effect-size-calculator | here.]]
Line 20: Line 24:
Olejnik and Algina further present and illustrate an alternative to the above for ANOVAs with upto three factors a more general formula for partial $$\omega^text{2}$$ to take into account any non-manipulated factors in the ANOVA. Partial $$\omega^2 ^$$
is also equal to the ratio of variance components
Line 22: Line 27:
(Partial) $$\omega^2 ^$$
= [ SS(Effect) - df(effect)MSE ] / [d(SS(Effect) - df(effect)MSE) + \sum_M_ [SS(M) - df(M)(MSE of M)] + N MSE ]
$$\sigma^2 ^$$
(effect) / ( $$\sigma^2 ^$$
(effect) + $$\sigma^2 ^$$
(error) )
Line 25: Line 32:
where d=1 if the effect of interest is non-random and 0 otherwise, M are any sources of variation which include at least one random factor and N is the total number of observations (scores). For example in repeated measures analysis of variance with a factor W and N participants:

$$\sigma^2 ^$$
(effect) / ( $$\sigma^2 ^$$
(effect) + $$\sigma^2 ^$$
(error) )

$$\sigma^2 ^$$
(W) = N $$\sigma^2 ^$$
(W) + $$\sigma^2 ^$$
(error) -
$$\sigma^2 ^$$
(error)

= MS(W) - MS(error)/N

$$\sigma^2 ^$$
(W) + $$\sigma^2 ^$$
(error)

= N $$\sigma^2 ^$$ (W)
+ $$\sigma^2 ^$$
(error) -
$$\sigma^2 ^$$
(error)
+ $$\sigma^2 ^$$
(error)

= MS(W) - MS(error)/N + MS(error)

So the variance component ratio equals [ MS(W) - MS(error)/N ] / [MS(W) - MS(error)/N + MS(error) ]

Multiplying top and bottom by N df(W) gives

[ SS(W) - df(W) MS(error) ] / [SS(W) - df(W)MS(error) + N df(effect) MS(error)]

= [ SS(effect) - df(effect)MS(error) ] / [SS(effect) + (N - df(effect))MS(error)] =
 
Partial
$$\omega^2 ^$$

Olejnik and Algina (2003) quote the partial $$\omega^2 ^$$
formula and then state immediately afterwards that partial $$ \omega^2 ^$$
(and also partial $$ \eta^2 ^$$
) “eliminate the influence of other factors in the design on the denominator”. Lakens (2013) states that the same formula for partial $$\omega^2 ^$$
is used for both between and within subject designs.

Olejnik and Algina (2003, Equation 7 on page 441) further present and illustrate an alternative to the above for ANOVAs (both between subjects only or including a single repeated measures factor) for effects using a more general formula for $$\omega^2 ^$$
to take into account any non-manipulated factors in the ANOVA.

(Generalized) $$\omega^2 ^$$
= [ SS(Effect) - df(effect)MSE ] / [d(SS(Effect) - df(effect)MSE) + \sum_M_ [SS(M) - df(M)(MSE of M)] + N MS(Cells) ]

where d=1 if the effect of interest is non-random and 0 otherwise, M are any sources of variation which include at least one random factor, N is the total number of observations (scores) and MS(Cells) is a pooled error term consisting of the sum of all the error terms (which are connected to variation between subjects) in the ANOVA divided by the sum of their respective degrees of freedom. A [[FAQ/olejalg | spreadsheet]] is available to work out generalized omega^2 using this formula.
Line 33: Line 93:
Field (2013, p.537-8)
illustrates computing $$\omega^2 ^$$
for between subjects ANOVAs with more than one factor which is somewhat more involved and uses variance components.
Olejnik and Algina present simplified versions of their general formula above for specific types of term in different types of ANOVA with upto a total of three factors quoting these in tables in their paper. Note that some of the terms in these tables are incorrect and the use of the general formula above is advised. Field (2013, p.537-8)
illustrates an application of the Olejnik and Algina formula computing $$\omega^2 ^$$
for between subjects ANOVAs with more than one factor using variance components.
Line 40: Line 100:
In particular for a factor in a one-way repeated measures ANOVA with k levels and n subjects In particular he applies the Olejnik and Algina formula to a factor in a one-way repeated measures ANOVA with k levels and n subjects and obtains the simplified form for its effect size, namely
Line 45: Line 105:
where MS(B) = (total variance(N-1)-SS(effect) - SSE)/(N-1) where SSE is the sums of square error for the repeated measures factor (ie the error sum of squares for the effect). Field also suggests only using effect sizes based upon pairwise group comparisons for repeated measures with more than one factor (including for mixed between-within factor ANOVAs) using a simpler effect size equal to sqrt[F(1,dfe)/(F(1,dfe)+dfe)] which is interpreted as a correlation. where MS(B) = (total variance(N-1) - SS(effect) - SSE)/(N-1) where SSE is the error sum of squares for the error term for the repeated measures factor. Field also suggests only using effect sizes based upon pairwise group comparisons for repeated measures with more than one factor (including for mixed between-within factor ANOVAs) using a simpler effect size equal to sqrt[F(1,dfe)/(F(1,dfe)+dfe)] which is interpreted as a correlation.
Line 47: Line 107:
$$\omega^2 ^$$
is unaffected by small sample sizes unlike
An important characteristic of $$\omega^2 ^$$
estimates is that they are unaffected by small sample sizes unlike
Line 50: Line 110:
which tends to overestimate the effect in smaller samples (Larson-Hall (2010), p.120; Field (2013), p.473) and, since it is a population based measure unlike $$\eta^2 ^$$,
will consequently take a smaller value.
estimates which tend to overestimate the effect in smaller samples (Larson-Hall (2010), p.120; Field (2013), p.473). This is due to $$\omega^2^,$$
$$\mbox{ unlike } \eta^2 ^$$
estimates, being population-based measures consequently taking smaller values.

 * [[FAQ/etaomeg|Comparing Partial eta-squared and generalized omega-squared in ANOVAs]]
Line 57: Line 120:
Field AP (2005, p.417-419). Discovering statistics using SPSS. Sage:London. Formulae using ANOVA output to compute omega-squared for factorial designs. Cohen J (1988). Statistical power analysis for the behavioral science. 2nd ed. Hillsdale: Lawrence Erlbaum Associates pp. 284–288.
Line 59: Line 122:
Field A (2013) Discovering statistics using IBM SPSS statistics. Fourth Edition. Sage:London. On page 474 it is suggested using values for $$\omega^text{2}$$ of 0.01, 0.06, 0.14 to indicate small, medium and large effects respectively. Field AP (2005, pp. 417-419). Discovering statistics using SPSS. Sage:London. Formulae using ANOVA output to compute omega-squared for factorial designs.
Line 61: Line 124:
Olejnik S and Algina J (2003). Generalized Eta and Omega Squared Statistics: Measures of effect size for some common research designs. ''Psychological Methods'' '''8(4)''' 434-447. Field A (2013) Discovering statistics using IBM SPSS statistics. Fourth Edition. Sage:London. On page 474 it is suggested using values for $$\omega^text{2}$$ of 0.01, 0.06, 0.14 to indicate small, medium and large effects respectively. These same cut-offs are also given by Cohen (1988) above and [[http://blog.excelmasterseries.com/2014/05/anova-effect-size-calculation-omega.html | here.]]

Olejnik S and Algina J (2003). Generalized Eta and Omega Squared Statistics: Measures of effect size for some common research designs. ''Psychological Methods'' '''8(4)''' 434-447. A pdf of this is available for free to CBUers using PsychNet and also [[http://psycnet.apa.org/journals/met/8/4/434.html | here.]]
Line 64: Line 129:

Lakens D (2013). [[attachment:Lakens.pdf | Calculating and reporting effect sizes to facilitate cumulative science: a practical primer for t-tests and ANOVAs.]] ''Frontiers in Psychology'' '''4''' 1-12. (Gives conversion formula of f-squared in SPSS for computing f-squared in G*Power and discusses omega-squared and partial omega squared.)

Partial and Generalized omega-squared as effect sizes in analysis of variance

Partial $$\omega2 $$ has been suggested by Field (2013, p.473-4), Keppel (1991,pp 222-224) and Olejnik and Algina (2003) as an unbiased alternative to partial $$\eta^text{2}$$ when comparing the size of sources of variation across studies from analysis of variance where MSE is the mean square of the error term.

(Partial) $$\omega2 = $$ [SS(effect)-df(effect) MSE(effect)] / [SS(effect)+(N-df(effect))MSE]

This takes the value of zero when the F ratio is one (no group differences) since F = 1 implies that SS(effect) / df(effect) = MSE(effect) implying SS(effect) = MSE(effect) df(effect) so the above becomes 0 / (MSE(effect) [df(effect) - df(effect) + N]) = 0/[N MSE(effect)] = 0.

In the special case of a between subjects ANOVA with b groups and a total of N subjects the denominator in the above may be rewritten as below.

SS(effect)+(N-df(effect))MSE = SS(group) + (N-df(group))MSE

= SS(group) + (N-(b-1))MSE = SS(group) + (N-b+1)MSE = SS(group) + (N-b)MSE + MSE

= Total SS + MSE = SS(group) + SSE + MSE = SS(group) +((df(error term)+1) x MSE)

since in a one-way ANOVA between subjects design the total SS = SS(group) + (N-b)MSE. The latter denominator term (SS(group) +((df(error term)+1) x MSE)) will also be correct for any main effect in a factorial ANOVA since the df(effect) takes the same form as above ie equal to the number of groups - 1 provided the remaining factors are non-random ie chosen by the experimenter. Baguley (2012, p.483) and Field (2013, p.473) give the above formula for $$\omega2 $$ with Total SS + MSE in the denominator. There is also a calculator for the one-way ANOVA and other effect sizes here.

Partial $$\omega2 $$ is also equal to the ratio of variance components

$$\sigma2 $$ (effect) / ( $$\sigma2 $$ (effect) + $$\sigma2 $$ (error) )

For example in repeated measures analysis of variance with a factor W and N participants:

$$\sigma2 $$ (effect) / ( $$\sigma2 $$ (effect) + $$\sigma2 $$ (error) )

$$\sigma2 $$ (W) = N $$\sigma2 $$ (W) + $$\sigma2 $$ (error) - $$\sigma2 $$ (error)

= MS(W) - MS(error)/N

$$\sigma2 $$ (W) + $$\sigma2 $$ (error)

= N $$\sigma2 $$ (W) + $$\sigma2 $$ (error) - $$\sigma2 $$ (error) + $$\sigma2 $$ (error)

= MS(W) - MS(error)/N + MS(error)

So the variance component ratio equals [ MS(W) - MS(error)/N ] / [MS(W) - MS(error)/N + MS(error) ]

Multiplying top and bottom by N df(W) gives

[ SS(W) - df(W) MS(error) ] / [SS(W) - df(W)MS(error) + N df(effect) MS(error)]

= [ SS(effect) - df(effect)MS(error) ] / [SS(effect) + (N - df(effect))MS(error)] =

Partial $$\omega2 $$

Olejnik and Algina (2003) quote the partial $$\omega2 $$ formula and then state immediately afterwards that partial $$ \omega2 $$ (and also partial $$ \eta2 $$ ) “eliminate the influence of other factors in the design on the denominator”. Lakens (2013) states that the same formula for partial $$\omega2 $$ is used for both between and within subject designs.

Olejnik and Algina (2003, Equation 7 on page 441) further present and illustrate an alternative to the above for ANOVAs (both between subjects only or including a single repeated measures factor) for effects using a more general formula for $$\omega2 $$ to take into account any non-manipulated factors in the ANOVA.

(Generalized) $$\omega2 $$ = [ SS(Effect) - df(effect)MSE ] / [d(SS(Effect) - df(effect)MSE) + \sum_M_ [SS(M) - df(M)(MSE of M)] + N MS(Cells) ]

where d=1 if the effect of interest is non-random and 0 otherwise, M are any sources of variation which include at least one random factor, N is the total number of observations (scores) and MS(Cells) is a pooled error term consisting of the sum of all the error terms (which are connected to variation between subjects) in the ANOVA divided by the sum of their respective degrees of freedom. A spreadsheet is available to work out generalized omega^2 using this formula.

$$\omega2 $$ may take values between $$\pm$$ 1 with a value of zero indicating no effect. A negative value will result if the observed F is less than one.

The numerator in $$\omega2 $$ compares the mean square of the effect (=SS(effect)/df(effect)) to its mean square error which theoretically should be equal (giving a difference, as measured in the numerator, of zero) because the ratio of the mean squares may be approximated by a F distribution which takes a minimum value of one indicating no statistical evidence of the effect.

Olejnik and Algina present simplified versions of their general formula above for specific types of term in different types of ANOVA with upto a total of three factors quoting these in tables in their paper. Note that some of the terms in these tables are incorrect and the use of the general formula above is advised. Field (2013, p.537-8) illustrates an application of the Olejnik and Algina formula computing $$\omega2 $$ for between subjects ANOVAs with more than one factor using variance components.

He also (pages 566-567) mentions that a different form of $$\omega2 $$ to that discussed above is needed for a factor in a repeated measures analysis of variance since the estimate used for a between subjects factor overestimates effect size if used in a repeated measures.

In particular he applies the Olejnik and Algina formula to a factor in a one-way repeated measures ANOVA with k levels and n subjects and obtains the simplified form for its effect size, namely

$$ \omega2 = $$ [ [(k-1)/(nk)] (MS(effect)-MSE)] / [MSE + (MSB - MSE)/k + [(k-1)/(nk)] (MS(effect)-MSE) ]

where MS(B) = (total variance(N-1) - SS(effect) - SSE)/(N-1) where SSE is the error sum of squares for the error term for the repeated measures factor. Field also suggests only using effect sizes based upon pairwise group comparisons for repeated measures with more than one factor (including for mixed between-within factor ANOVAs) using a simpler effect size equal to sqrt[F(1,dfe)/(F(1,dfe)+dfe)] which is interpreted as a correlation.

An important characteristic of $$\omega2 $$ estimates is that they are unaffected by small sample sizes unlike $$\eta2 $$ estimates which tend to overestimate the effect in smaller samples (Larson-Hall (2010), p.120; Field (2013), p.473). This is due to $$\omega2,$$ $$\mbox{ unlike } \eta2 $$ estimates, being population-based measures consequently taking smaller values.

References

Baguley T (2012). Serious Stats. A guide to advanced statistics for the behavioral sciences. Palgrave Macmillan:New York.

Cohen J (1988). Statistical power analysis for the behavioral science. 2nd ed. Hillsdale: Lawrence Erlbaum Associates pp. 284–288.

Field AP (2005, pp. 417-419). Discovering statistics using SPSS. Sage:London. Formulae using ANOVA output to compute omega-squared for factorial designs.

Field A (2013) Discovering statistics using IBM SPSS statistics. Fourth Edition. Sage:London. On page 474 it is suggested using values for $$\omega^text{2}$$ of 0.01, 0.06, 0.14 to indicate small, medium and large effects respectively. These same cut-offs are also given by Cohen (1988) above and here.

Olejnik S and Algina J (2003). Generalized Eta and Omega Squared Statistics: Measures of effect size for some common research designs. Psychological Methods 8(4) 434-447. A pdf of this is available for free to CBUers using PsychNet and also here.

Keppel G (1991). Design and analysis:A researcher's handbook. Prentice-Hall:Englewood Cliffs, NJ

Lakens D (2013). Calculating and reporting effect sizes to facilitate cumulative science: a practical primer for t-tests and ANOVAs. Frontiers in Psychology 4 1-12. (Gives conversion formula of f-squared in SPSS for computing f-squared in G*Power and discusses omega-squared and partial omega squared.)

Larson-Hall J (2010). A Guide to Doing Statistics in Second Language Research Using SPSS. Routledge:New York.

None: FAQ/os2 (last edited 2023-01-24 15:32:09 by PeterWatson)