17 Analysis of Variance (ANOVA)

17.1 One-Way ANOVA

Instructional video icon

Instructions for One-Way ANOVA in Rguroo

  1. Use a dataset in your Rguroo account or recreate the example below by importing the PlantGrowthX dataset from the Rguroo dataset repository called Rguroo Users Guide into your account.
Click here to see a portion of the dataset. Screenshot of the first 5 rows of the PlantGrowthData dataset.


  1. Open the Analytics toolbox on the left-hand side of the Rguroo window. Use the Analysis dropdown menu and choose ANOVA (see Figure Figure 17.1) .

  2. Select a dataset from the Dataset dropdown.

  3. Select your response variable from the Response dropdown.

  4. In the One-Way tab, select your categorical variable from the Factor dropdown, and type in a significance level.

  5. (Optional) Check the Diagnostics checkbox, and click on the Diagnostics button. The ANOVA Diagnostics dialog opens. Select your desired diagnostics.

  6. (Optional) Check the Post-hoc Test checkbox, and click on the Post-hoc Test button. The ANOVA Post-Hoc dialog opens. Select one or both of Tukey’s HSD or Pairwise Student t.

  7. Click the Preview icon preview icon to view the result.

Analysis of Variance dialog

Figure 17.1: Analysis of Variance dialog

17.2 Two-Way ANOVA

Instructional video icon

Instructions for Two-Way ANOVA in Rguroo

  1. Use a dataset in your Rguroo account or recreate the example below by importing the PlantGrowthX dataset from the Rguroo dataset repository called Rguroo Users Guide into your account.
Click here to see a portion of the dataset. Screenshot of the first 5 rows of the PlantGrowthData dataset.


  1. Open the Analytics toolbox on the left-hand side of the Rguroo window. Use the Analysis dropdown menu and choose ANOVA (see Figure Figure 17.2) .

  2. Select a dataset from the Dataset dropdown, and select your response variable from the Response dropdown.

  3. Click the Two-Way tab, select your categorical variables from the Factor A and Factor B dropdowns, and type in a significance level.

  4. (Optional) Check the Diagnostics checkbox, and click on the Diagnostics button. The ANOVA Diagnostics dialog opens. Select your desired diagnostics.

  5. (Optional) Check the Post-hoc Test checkbox, and click on the Post-hoc Test button. The ANOVA Post-Hoc dialog opens. Select one or both of Tukey’s HSD or Pairwise Student t.

  6. Click the Preview icon preview icon to view the result.

Two-Way ANOVA dialog

Figure 17.2: Two-Way ANOVA dialog