18 Nonparametric Analysis of Variance (Nonparametric ANOVA)

18.1 One-Way ANOVA (Kruskal- Wallis and Permutation Test)

Instructions for performing Nonparametric Analysis of Variance (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 Non-Parametric ANOVA (see Figure Figure 18.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) Select the Boxplot checkbox to see the boxplots for the selected variable by the levels of the selected factor.

  6. Select one or both methods of Kruskal-Wallis or Permutation Test.

  7. (Optional) If you select the Permutation test, click the Details button button to specify the number of Replications and a seed for the random number generator.

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

Analysis of Variance dialog

Figure 18.1: Non-Parametric One-Way ANOVA dialog

18.2 Two-Way ANOVA (Friedman and Permutation Tests)

Instructions for performing Nonparametric Two-Way Analysis of Variance (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 Non-Paramtric ANOVA (see Figure 18.2) .

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

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

  4. (Optional) Select the Boxplot checkbox to see the boxplots for the selected variable by the levels of the selected factors.

  5. Select one or both methods of Friedman or Permutation Test.

  6. (Optional) If you select the Permutation test, click the Details button button to specify the number of Replications and a seed for the random number generator.

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

Non-Parametric Two-Way ANOVA dialog

Figure 18.2: Non-Parametric Two-Way ANOVA dialog