Two-Way Factorial Anova Analysis

Do you need this or any other assignment done for you from scratch?
We have qualified writers to help you.
We assure you a quality paper that is 100% free from plagiarism and AI.
You can choose either format of your choice ( Apa, Mla, Havard, Chicago, or any other)

NB: We do not resell your papers. Upon ordering, we do an original paper exclusively for you.

NB: All your data is kept safe from the public.

Click Here To Order Now!

Introduction

This paper reports the results of an analysis of data using a two-way factorial ANOVA. The data set is briefly described; the assumptions for the factorial ANOVA are named and tested; the research question, hypotheses, and alpha level are articulated; and the results of the analysis are provided. Finally, some strengths and limitations of the factorial ANOVA are briefly discussed.

Data File Description

The caffeineexercisehr.sav data set contains the results of a hypothetical study of the impact of caffeine and exercise on heart rates (Warner, 2013, p. 544). Thus, the factors are caffeine (1=no caffeine, 2=150 mg of caffeine) and exercise (1 = no exercise, 2 = half an hour of exercise), and the outcome is heart rate (beats per minute) (Warner, 2013, p. 544). The independent variables are both dichotomous, whereas the dependent variable is interval/ratio. The sample size N=16.

Testing Assumptions

The assumptions for a factorial ANOVA are as follows (Warner, 2013, pp. 506-507):

  1. the dependent variable is quantitative;
  2. the dependent variable is approximately normally distributed;
  3. the independent variables are independent of each other, and the cases in the data set are pairwise independent;
  4. homogeneity of variances of the scores of the dependent variable in different groups;
  5. no extreme outliers in the dependent variable.

Assumptions 1, 2, and 5

The dependent variable is quantitative (thus, assumption 1 is met).

Histogram for the heart rate variability.
Figure 1. Histogram for the heart rate variability.

Figure 1 above shows the histogram for the dependent variable. It appears that the variable is approximately normally distributed (the assumption 2 is met). There are no outliers (assumption 5 is met).

Descriptive Statistics
N Skewness Kurtosis
Statistic Statistic Std. Error Statistic Std. Error
Heartrate 16 .000 .564 -.491 1.091
Valid N (listwise) 16

Table 1. Descriptives for the heart rate variability.

Table 1 above shows the skewness and kurtosis for the dependent variable. The distribution of the variable is perfectly symmetrical around the mean (skewness=0), and slightly flatter than the normal distribution (kurtosis=-.491). Both values are ideal for analysis in respect of skewness and kurtosis (George & Mallery, 2016).

Assumptions 3 and 4

The factors do not depend on one another, and the observations are pairwise independent (because they are gathered from different participants), so the assumption 3 is met.

Levenes Test of Equality of Error Variances
Dependent Variable: Heartrate
F df1 df2 Sig.
.000 3 12 1.000
Tests the null hypothesis that the error variance of the dependent variable is equal across groups.
a. Design: Intercept + Caffeine + Exercise + Caffeine * Exercise

Table 2. The results of Levenes test for homogeneity of variances across groups.

Table 2 above shows the results of Levenes test of homoscedasticity of the scores of the dependent variable across groups. The test yielded F(3, 12)=.000, at p=1.0, which indicates that there are no significant differences in variances across groups. So, assumption 4 is met.

Therefore, all the assumptions for the factorial ANOVA are met.

Research Question, Hypothesis, and Alpha Level

The research question for the given data set that can be tested by the factorial ANOVA is as follows: Do the intake of caffeine, exercise, and the interaction between the intake of caffeine and exercise predict heart rates of participants? The null hypothesis for the first factor is as follows: There is no significant difference in the means of heart rates between the group that took caffeine and the group that did not take caffeine. The null hypothesis for the second factor is: There is no significant difference in the means of heart rates between the group that exercised and the group that did not exercise. The null hypothesis for the interaction is: There are no significant differences in the means of heart rates between different caffeine×exercise groups.

The alternative hypothesis for the first factor is: There is a significant difference in the means of heart rates between the group that took caffeine and the group that did not take caffeine. The alternative hypothesis for the second factor is: There is a significant difference in the means of heart rates between the group that exercised and the group that did not exercise. The alternative hypothesis for the interaction is: There are significant differences in the means of heart rates between different caffeine×exercise groups. The alpha level for this test will be ±=.05, which is the standard level (Field, 2013), for no rationale for using any other alpha levels is known.

Interpretation

Means for the Dependent Variable

  • The Appendix indicates that the grand mean for the heart rate variable was 80.0.
  • The Appendix also shows that the mean heart rate for the group that did not take caffeine was 72.5, whereas the mean for the group that took caffeine was 87.5.
  • The Appendix also demonstrates that the mean heart rate for the group that did not exercise was 75.0, whereas the mean for the group that exercised was 85.0.

Also, the Appendix shows that the mean heart rate for the group that did not take caffeine and did not exercise was 67.5, and for the group that did not take caffeine but exercised was 77.5; the mean heart rate for the group that took caffeine but did not exercise was 82.5, and for the group that took caffeine and exercised was 92.5.

Means Plot for the Dependent Variable

The estimated marginal means plot for heart rate variability.
Figure 2. The estimated marginal means plot for heart rate variability.

Figure 2 shows the estimated marginal means for the dependent variable. Each of the two factors increases the scores of the outcome. Thus, the main effects for each of the independent variables are that the heart rates of participants are increased. The statistical test below will check whether these main effects are significant.

It also can be seen that the two lines are parallel. Therefore, it appears that there is no interaction between the independent variables, for the effect of one factor on the outcome does not change depending on the other factor (Field, 2013).

Results of the Factorial ANOVA

Tests of Between-Subjects Effects
Dependent Variable: Heartrate
Source Type III Sum of Squares df Mean Square F Sig. Partial Eta Squared Noncent. Parameter Observed Powerb
Corrected Model 1300.000a 3 433.333 10.400 .001 .722 31.200 .985
Intercept 102400.000 1 102400.000 2457.600 .000 .995 2457.600 1.000
Caffeine 900.000 1 900.000 21.600 .001 .643 21.600 .989
Exercise 400.000 1 400.000 9.600 .009 .444 9.600 .811
Caffeine * Exercise .000 1 .000 .000 1.000 .000 .000 .050
Error 500.000 12 41.667
Total 104200.000 16
Corrected Total 1800.000 15
a. R Squared =.722 (Adjusted R Squared =.653)
b. Computed using alpha =.05

Table 3. Results of the ANOVA test.

Therefore, Table 3 shows that there was a significant difference in the means of heart rate for the caffeine variable: F(1)=21.6, p=.001. The effect size ·2=21.6/(21.6+12)=.64, which is large effect size.1 The observed power is.989, so the odds of finding an existing effect was 98.9%, and the odds of making a type II error was 1.1% (Warner, 2013). Thus, the null hypothesis for the first factor was rejected; the evidence was found to support the corresponding alternative hypothesis.

There also was a significant difference in the means of heart rate for the exercise variable: F(1)=9.6, p=.009. The effect size ·2=9.6/(9.6+12)=.444&, which is large effect size. The observed power was.811, so the odds of making a type II error were 1-.811=.189, or 18.9% (Warner, 2013). Therefore, the null hypothesis for the second factor was rejected; the evidence was found to support the respective alternative hypothesis.

The interaction caffeine×exercise was not significant: F(1)=0, p=1. The effect size ·2=0/(0+12)=0, a zero effect size. 2 The observed power was.05, so the odds of making a type II error were 1-.05=.95, or 95%. The null hypothesis for the interaction of factors was not rejected.

Conclusion

Therefore, a two-way factorial ANOVA was conducted to check whether the intake of caffeine, exercise, and the interaction between the intake of caffeine and exercise could predict heart rates of participants. It was discovered that both the intake of caffeine and the exercise could predict the heart rates of participants; the differences in the means in both cases were both statistically significant and of large magnitude (large effect size). However, there was no interaction between the factors (p=0, zero effect size).

The factorial ANOVA has several strengths; for example, it allows for examining differences in means of the outcome for each of several factors simultaneously, so there is no need to run separate tests; it is also virtually the only effective choice for exploring the results of an interaction (Warner, 2013). However, it also has its disadvantages; for instance, as a parametric test, it relies on certain assumptions (such as homoscedasticity in all the groups of the design) the violation of which can make the test considerably less reliable (Warner, 2013).

References

Field, A. (2013). Discovering statistics using IBM SPSS Statistics (4th ed.). Thousand Oaks, CA: SAGE Publications.

George, D., & Mallery, P. (2016). IBM SPSS Statistics 23 step by step: A simple guide and reference (14th ed.). New York, NY: Routledge.

Warner, R. M. (2013). Applied statistics: From bivariate through multivariate techniques (2nd ed.). Thousand Oaks, CA: SAGE Publications.

Appendix

Descriptive statistics for heart rate variable for different groups formed by caffeine and exercise variables:

Descriptive Statistics
Dependent Variable: Heartrate
Caffeine Exercise Mean Std. Deviation N
No Caffeine No Exercise 67.50 6.455 4
Half Hour of Exercise 77.50 6.455 4
Total 72.50 8.018 8
150 mg Caffeine No Exercise 82.50 6.455 4
Half Hour of Exercise 92.50 6.455 4
Total 87.50 8.018 8
Total No Exercise 75.00 10.000 8
Half Hour of Exercise 85.00 10.000 8
Total 80.00 10.954 16

Footnotes

  1. According to Warner (2013), the effect size for a factor A as measured by ·2 can be calculated as follows: ·2A = (dfA * FA) / ((dfA * FA) + dfwithin), where dfwithin = ab(n-1),where a is the number of levels of factor A, b is the number of levels of factor B, n is the number of cases in each cell of the design.
  2. According to Warner (2013), the effect size for the interaction A×B as measured by ·2 can be calculated as follows: ·2A = (dfA×B * FA×B) / ((dfA×B * FA×B) + dfwithin).
Do you need this or any other assignment done for you from scratch?
We have qualified writers to help you.
We assure you a quality paper that is 100% free from plagiarism and AI.
You can choose either format of your choice ( Apa, Mla, Havard, Chicago, or any other)

NB: We do not resell your papers. Upon ordering, we do an original paper exclusively for you.

NB: All your data is kept safe from the public.

Click Here To Order Now!