calculating factorial anova l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Calculating Factorial ANOVA PowerPoint Presentation
Download Presentation
Calculating Factorial ANOVA

Loading in 2 Seconds...

play fullscreen
1 / 32

Calculating Factorial ANOVA - PowerPoint PPT Presentation


  • 284 Views
  • Uploaded on

Calculating Factorial ANOVA. The basic logic of a Factorial ANOVA (e.g. 2x2 ANOVA) is the same as the One-way ANOVA. You calculate an F-ratio and this represents the contrast of Between Groups variance / Within Subjects variance.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Calculating Factorial ANOVA' - daniel_millan


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
calculating factorial anova
Calculating Factorial ANOVA
  • The basic logic of a Factorial ANOVA (e.g. 2x2 ANOVA) is the same as the One-way ANOVA.
  • You calculate an F-ratio and this represents the contrast of Between Groups variance / Within Subjects variance.
  • If the F ratio is sufficiently high, then at least one mean is significantly different from at least one other mean.
calculating factorial anova2
Calculating Factorial ANOVA

F=Between Groups variance / Within Subjects variance. If the F ratio is sufficiently high, then at least one mean is significantly different from at least one other mean.

calculating factorial anova3
Calculating Factorial ANOVA

There are 3 F ratios for Two-way ANOVA:

F for the column main effect

F for the row main effect

F for the Interaction (Row x Column)

calculating factorial anova4
Calculating Factorial ANOVA

There are 3 F ratios for Two-way ANOVA:

F for the column main effect

F for the row main effect

F for the Interaction (Row x Column)

calculating factorial anova5
Calculating Factorial ANOVA

There are 3 F ratios for Two-way ANOVA:

F for the column main effect

calculating factorial anova6
Calculating Factorial ANOVA

There are 3 F ratios for Two-way ANOVA:

F for the column main effect

calculating factorial anova7
Calculating Factorial ANOVA

There are 3 F ratios for Two-way ANOVA:

F for the row main effect

calculating factorial anova8
Calculating Factorial ANOVA

There are 3 F ratios for Two-way ANOVA:

F for the row main effect

calculating factorial anova9
Calculating Factorial ANOVA

There are 3 F ratios for Two-way ANOVA:

F for the interaction

calculating factorial anova10
Calculating Factorial ANOVA

The Within Group Variance for these F ratios is calculated from the variability within each respective set of cells.

calculating factorial anova11
Calculating Factorial ANOVA

The Grand Mean (GM): The mean of all your scores.

The deviation of an individual score from the GM is composed of the following:

1. The score’s deviation from the mean of its cell (Within Group variance)

2. The score’s row mean from the grand mean (Row Between Group variance)

3. The score’s column mean from the grand mean (Column Between Group variance)

4. After you subtract the (Within+Row+Column) from the total variance, you are left with the Interaction Between Group variance

factorial anova example
Factorial ANOVA Example

A researcher was interested in men’s and women’s ability to navigate using two different kinds of directions: maps versus routes. Navigation ability was measured by the time to reach the destination (in minutes).

At the p < .05 level, were there any main effects or an interaction?

steps of hypothesis testing
Steps of Hypothesis Testing
  • Step 1: Restate research question

Main effect of gender

      • H0: men = women
      • H1: menwomen

Main effect of direction type

      • H0: route = map
      • H1: routemap

Interaction of gender and direction type

      • H0: men,route - women,route = men,map - women,map
      • H1: men,route - women,route men,map - women,map
steps of hypothesis testing14
Steps of Hypothesis Testing
  • Step 2: Determine the comparison distribution
    • Three F distributions
    • dfwithin =  dfeach cell = 3 + 3 + 3 + 3 = 12
    • dfgender = Ngenders – 1 = 2 – 1 = 1
    • dfdirection type = Ndirection types – 1 = 2 – 1 = 1
    • dfinteraction = Ncells – dfgender – dfdirection type – 1 = 4 – 1 – 1 – 1 = 1
  • Step 3: Determine the cutoffs
    • p < .05
    • F ratio with dfnumerator = 1, dfdenominator = 12
    • Fcutoff = 4.75
steps of hypothesis testing15
Steps of Hypothesis Testing
  • Step 4: Determine the sample scores
  • Download the excel spreadsheet Gender & Directions Review the findings.
  • Download the file genderdir.sav. Run the same analysis with SPSS
steps of hypothesis testing16
Steps of Hypothesis Testing
  • Step 5: Conclude
    • There was no main effect of gender
      • On average, men and women took the same amount of time to navigate
    • There was a main effect of direction type
      • Map directions took longer to follow compared with route directions
    • There was an interaction between gender and direction type
      • The difference in direction type was smaller for men compared to women
      • Men were faster than women with map directions, but women were faster than men with route directions
assumptions of two way anova
Assumptions of Two-Way ANOVA
  • Populations follow a normal curve
  • Populations have equal variances
  • Assumptions apply to the populations that correspond to each cell
effect size and two way anova
Effect Size and Two-Way ANOVA

R2The proportion of variance accounted for

also called eta squared or correlation ratio

This is the proportion of the total variation of scores from the Grand Mean that is accounted for by the variation between the means of the groups.

R2Columns= SSColumns /(SSTOTAL-SSRows-SSInteraction)

R2Rows= SSRows / (SSTOTAL -SSColumns-SSInteraction)

R2Interaction=SSInteraction /(SSTOTAL-SSRows-SSColumns)

Small = .01; Medium = .06; Large = .14

Compute this for the Gender x Directions Study

power and two way anova
Power and Two-Way ANOVA

Probability of finding an effect when it is present.

All effects in a 2x2 table:

<Graph these in Excel>

sample size and factorial anova
Sample Size and Factorial ANOVA

Sample size needed for 80% power, Using a 2x2 or 2x3 ANOVA, p < .05.

<Graph these in Excel>

sample size and factorial anova22
Sample Size and Factorial ANOVA

Use SPSS to analyze the Gender x Directions study. Include Options such that SPSS generates the effect size and power for the analysis. How large are the effects?

Double the sample size and examine what happens to the power calculation. Do power and effect size change?

Run correlations between the variables and compare the Pearson r to the effect size.

complex factorial anova
Complex Factorial ANOVA

Multiple Levels of Factors

A study can have as many contrasts as there are variables

A study can have multiple dependent measures

A study can have repeated measures

2x2x2

2x4x8x2x4

complex factorial anova24
Complex Factorial ANOVA

Multiple Levels of Factors

A study can have as many contrasts as there are variables

Let’s do a complex analysis with 3 factors

Download salary.sav

Analyze Gender, Education and Job Category, dependent measure is current salary. Run the basic analysis first and then set Options for effect size and power calculations.

complex factorial anova25
Complex Factorial ANOVA

Dichotomizing Numerical Variables

A common practice is to simplify an analysis by dichotomizing or categorizing a continuous variable and then using the variable as a factor in ANOVA.

This results in reduced information and lower power. When the resolution of measurement is lowered then it is harder to find a significant effect when it is present.

Categorizing variables also lowers the effect size.

Calculate correlations with salary.sav data set. Categorize the work experience variable and observe the change in correlations.

complex factorial anova26
Complex Factorial ANOVA

Repeated Measures ANOVA

ANOVA may also be used to examine a within-subjects factor. This factor represents another variable measured on the same subjects. The measures are therefore correlated, or dependent on each other.

The repeated measures ANOVA is logically the same as the paired, or dependent measures t-test.

Examples

Single Factor:Change in illness before and after treatment

Multiple Factor: Do Males and Females differ in change in illness before and after treatment

Gender x PrePost Change

repeated measures factorial anova
Repeated Measures Factorial ANOVA

Traumatic Brain Injury

repeated measures factorial anova28
Repeated Measures Factorial ANOVA

Traumatic Brain Injury

Pathology

Direct Impact

Shearing Injury

Hematoma

Increased

Intracranial

Pressure

Disruption of

Neurotransmitter

Systems

<Play Stone in Head movie>

repeated measures factorial anova29
Repeated Measures Factorial ANOVA

Coma Level:

0 = Unresponsive

1 = Responds only to pain

2 = Responds to pain and verbal command with nonspecific response

3 = Responds to pain or verbal command with meaningful response

4 = Somnolent (falls asleep)

5 = Awake and alert

Traumatic Brain Injury

cycloserine for traumatic brain injury31
Cycloserine for Traumatic Brain Injury

The NMDA receptor may be important for memory. Cycloserine facilitates NMDA receptor function

cycloserine for traumatic brain injury32
Cycloserine for Traumatic Brain Injury

Repeated Measures ANOVA: Basic Study Design

Dependant Measure: Memory Scores

Independent Variables: Treatment/Control, Coma Level

Repeated Measures: Pre and Post Drug Treatment

Analyze the data set trauma.sav

Analyze Main effects of Independent Variables and dependent w/o repeated measures.

Analyze Treatment/Control x PrePost repeated measures. -> Plot results

Analyze Coma Level x PrePost repeated measures -> Plot results

Calculate an average of Pre+Post/2 and then analyze the new variable for a main effect for Coma Level.