## ANOVAExplanation:
one way Explanation:
two way Calculation:
one-way ## What is it?An ANOVA (Analysis of Variance), sometimes called an F test, is closely related to the t test. The major difference is that, where the t test measures the difference between the means of two groups, an ANOVA tests the difference between the means of two or more groups. A One potential drawback to an ANOVA is that you lose specificity: all an
## Calculation (one way):Computation by hand of a One-way ANOVA is tedious; computation of a
two-way ANOVA is nearly impossible. Here is a general overview of how to
do it:
- Compute the total sum of squares (SST)
- Compute the between groups sum of squares (SSB)
- Compute the within groups sum of squares (SSW)
- Calculate the degrees of freedom for between groups:
Df = number of groups – 1 = (N) - Calculate the degrees of freedom for the total:
Df = total participants – 1 = (D-1) = O - Calculate the degrees of freedom for the within groups:
Df = (df total – df between groups) - Compute the mean squares for each (MSB, MSW)
- Compute the value for F by dividing the mean square for between groups by the mean square for within groups
- And finally: Determine whether F is significant:
- The columns on the critical values table are labeled “degrees of freedom associated with the between groups degrees of freedom,” which, in this case, would be the N variable.
- The rows are labeled “degrees of freedom associated with the within groups degrees of freedom. ”
- Find the point at which these two values intersect. This is the critical value of F. If your value is greater than the critical value, reject the null hypothesis. If it is not, do not reject the null hypothesis
## Computation:## Excel- Enter data into data table. (see Excel Tutorial for help)
- Go to
**TOOLS > DATA ANALYSIS** - Select “ANOVA single”
- Enter input range—this will be all of your data (you can simply draw a box around your data table)
- Check how the data is grouped—probably by columns
- Check the box that says “labels in first row” if your columns are headed with anything (e.g. A1 says “age” and A2-30 has your participants’ ages)
- Set alpha (it’s preset to .05)
- Set output—where do you want your data to go? It can either go on the same sheet, on a different sheet, or in a whole new workbook.
- Hit “OK”
## SPSS- Enter data into data table. (see SPSS tutorial for help)
- Go to
**ANALYZE > COMPARE MEANS > ONE WAY ANOVA** - Enter dependent variable in Dependent List
- Enter independent variable in Factor
- Ignore Contrasts and Post-Hoc buttons
- Options:
- Statistics: Descriptive (yes); Homogeneity of variance (no)
- Means Plot (yes)
- Continue – OK
- Output:
- (a) Descriptives (N, Mean, Std. Dev, etc)
This will give you a chart that has the between groups and within groups sum of squares, the degrees of freedom, the mean squares, the F, and the significance.
- (a) Descriptives (N, Mean, Std. Dev, etc)
- If the significance is less than .05, you may reject the null hypothesis
## Factorial (two way) ANOVA## What is it?A factorial ANOVA can examine data that are classified on multiple independent variables. For example, a two-way ANOVA (two factor ANOVA) can measure both the difference among treatments and among age of participants simultaneously. You can use more than two independent variables in an ANOVA (e.g., three-way, four-way). A factorial ANOVA can show whether there are significant main effects of the independent variables and whether there are significant interaction effects between independent variables in a set of data. Interaction effects occur when the impact of one independent variable depends on the level of the second independent variable. Computation can be done on statistical software. ## Example:We wanted to see how studying method affected grades on a World Civilizations midterm for underclassmen and upperclassmen. Regardless of prior study preference, equal amounts of students were assigned randomly to one of the two categories. This is a two way ANOVA with two independent variables: Year in school (underclass versus upperclass) and Study type (along versus group). The dependent variable is grades (measured on a scale of 0 to 100)
It seems from this data that there is a main effect for type of studying, because on average the “alone” studiers scored higher (87.5) than the “group” studiers (87), and the upper classmen, on average, scored higher (88) than the underclassmen (86.5). There is also an interaction effect, because while the upperclassmen who studied alone scored an average of five points higher than underclassmen who studied alone, upperclassmen who studied in a group scored an average of two points lower than underclassmen who studied in a group. The effect of Year in school on grades depends on type of studying. A two-way ANOVA would test whether the possible main effects and interaction effects are statistically significant—that the results aren’t from sampling error alone. ## Computation:## Excel- Enter data into data table
- Go to
**TOOLS > DATA ANALYSIS**and select**Anova: two factor without replication** - Highlight the data you're looking at and check "labels" if necessary
- Check the "new worksheet ply" box and hit OK
- The results will show up on a new spreadsheet
## SPSS- With your data entered, go to
**ANALYZE > GENERAL LINEAR MODEL > UNIVARIATE** - Enter dependent variable in Dependent List
- Enter independent variables in Factor
- Continue – OK
- Output:
(A) Descriptives (N, Mean, Std. Dev., etc)
This will give you a table. On the right hand side, the significances
will be listed, along with the F values. On the far left side, under the
column “source,” your variables will be listed. The corresponding F values
and significances are for main effects and interaction effects. If the
significance reading is less than .05, you are able to reject the null
hypothesis. | ||||||||||||||||||||||||||||||||||||||||||

References: Patten, Mildred L. (2002). Pavkov, Thomas W., & Pierce, Kent A. (2003). Pyrczak, Fred. (2002). Solso, Robert L., Johnson, Homer H., & Beal, M. Kimberly. (1998).
Yates, Daniel, Moore, David, & McCabe, George. (1999). |