I would like to compute the p-value of my two-way ANOVA. The score that I am using to detect significant samples is the eta score which is computed as SS(between)/SS(total).
In many sites I saw that F=Var(between)/Var(within). I want to know if I can consider the eta score as the F-statistic value, and then compute the p-value?
What if I want to compute the p-value for other scores such as eta-partial, or omega?
Is it meaningful if I calculate the p-value for them? Or is it only meaningful for the ratio Var(between)/Var(within)? What difference does it make if I use SS(between)/SS(within) instead of Var?
The formula that I am using to calculate p-value is:
pvalue=-log10(betai(0.5 * df2, 0.5* df1, df2 / (df2 + df1 * eta)));
based on the book Numerical Recipes in C, where df1 and df2 are degrees of freedom.
Thanks for your help.
prob = 2.0*beta.betai(0.5*df2,0.5*df1,df2/(df2+df1*f)), wheref=var1/var2, in the section entitled "14.2.2 F-Test for Significantly Different Variances") vs. one- or two-way ANOVA. What you described suggests you're interested in a one-way model (you have one response variable and one explanatory variable, or factor) and want to conduct a statistical test about the effect of the factor with an F-test while providing a measure of effect-size with the eta-squared. Could you confirm? – chl♦ Apr 28 '11 at 19:02