search for: f_valu

Displaying 2 results from an estimated 2 matches for "f_valu".

Did you mean: f_val
2002 Mar 17
1
Discriminant Analysis Using Anova in R
...ld like to do in R is perform ANOVA and extract the f-test value as a measurement of the importance of that particular dependent variable. My question is how can I extract the value of the f-test from the aov object so that I can use the result in a further equation, e.g. can I extract it using fit[f_value]. Also, my understanding of ANOVA was that the F Value should always be greater then 1 (by swapping around the numerator, denominator). Value closer to 1 suggest that there is not much variation and hence the variable is not discriminant. The values that I actually get in R are sometimes less then...
2007 Nov 22
3
anova planned comparisons/contrasts
...ean)^2) + nG3 * ((G3Mean - GrandMean)^2))/2 } An <- anova(lm(Var ~ Group)) MSwithin = An[3]['Residuals',] DegF = An$Df[length(An$Df)] Fval = MScontr / MSwithin Pval = 1 - pf(Fval, 1, DegF) return (list(MS_contrasts = MScontr, MS_within = MSwithin, F_value = Fval, P_value = Pval)) } ## The first two contrasts produce the same (+/- rounding error) ## p-values as obtained using contrasts() MyContrast(sugars$length, sugars$treatment, 'control', c("fructose", "gluc+fruct", "glucose", "sucrose")...