Running a Friedman's test with XLSTAT

Dataset for Friedman test XLS27.0 KB

Tutorial video
  • Pro Core statistical software

  • System configuration

    • Windows:
      • Versions: 9x/Me/NT/2000/XP/Vista/Win 7
      • Excel: 97 and later
      • Processor: 32 or 64 bits
      • Hard disk: 150 Mb
    • Mac OS X:
      • OS: OS X
      • Excel: X, 2004 and 2011
      • Hard disk: 150Mb.

Benefits

  • Easy and user-friendly
    Easy and user-friendly XLSTAT is flawlessly integrated with Microsoft Excel which is the most popular spreadsheet worldwide. This integration makes it one of the simplest available tools to work with as it utilizes the same philosophy as Microsoft Excel. The program is accessible in a dedicated XLSTAT tab. The analyses are grouped into functional menus. The dialog boxes are user-friendly and setting up an analysis is straightforward.
  • Data and results shared seamlessly
    Data and results shared seamlessly One of the greatest advantages of XLSTAT is the way you can share data and results seamlessly. As the results are stored in Microsoft Excel, anyone can access them. There is no need for the receiver to have an XLSTAT license or any additional viewer which makes your team-work easier and more affordable. In addition, results are easily integrable into other Microsoft Office software such as PowerPoint, so that you can create striking presentation in minutes.
  • Modular
    Modular XLSTAT is a modular product. XLSTAT-Pro is a core statistical module of XLSTAT which includes all the mainstream functionalities in statistics and multivariate analysis. More advanced features contained in add-on modules can be added for specific applications. This way you can adapt the software to your needs making the software more cost-efficient.
  • Didactic
    Didactic The results of XLSTAT are organized by analysis and are easy to navigate. Moreover useful information is provided along with the results to assist you in your interpretation.
  • Affordable
    Affordable XLSTAT is a complete and modular analytical solution that can suit any analytical business needs. It is very reasonably priced so that the return of your investment is almost immediate. Any XLSTAT license comes with top level support and assistance.
  • Accessible - Available in many languages
    Accessible - Available in many languages We have ensured XLSTAT is accessible to everyone by making the program available in many languages, including Chinese, English, French, German, Italian, Japanese, Polish, Portuguese and Spanish.
  • Automatable and customizable
    Automatable and customizable Most of the statistical functions available in XLSTAT can be called directly from the Visual Basic window of Microsoft Excel. They can be modified and integrated to more code to fit to the specificity of your domain. Adding tables and plots as well as modifying existing outputs becomes easy. Furthermore, XLSTAT includes some special tools on the dialog boxes to generate automatically the VBA code in order to reproduce your analysis using the VBA editor or to simply load pre-set settings. This effortless automation of routine analysis will be a huge time saver on your part.

Dataset for a Friedman's test

An Excel sheet with both the data and the results can be downloaded by clicking here.

The data correspond to a sensory analysis where 10 experts have been asked to rate during two separate blind sessions the hardness of four different cheeses, on a [0->5] scale. Our goal is to determine if the difference in hardness between the cheeses is significant or not.

Setting up a Friedman's test

Once XLSTAT-Pro is activated, select the XLSTAT / Nonparametric tests / Comparison of k samples command, or click on the corresponding button of the Nonparametric test toolbar (see below).

barfried.gif

Once you have clicked on the button, the dialog box appears.

Activate the Paired samples option first, then click in the Samples field, and select the data on the Excel sheet: select with the mouse the 4 columns of data corresponding to the 4 cheeses (or samples, or treatments).

As the cheeses names are included in the first row of the selection, leave the Column labels option checked. Then activate the Multiple comparisons option and the Bonferroni option so that if the hypothesis that the cheeses are the same is rejected, we may identify which cheeses are different.

fried1.gif

After you have clicked on the OK button, the results are displayed on a new Excel sheet (because the Sheet option has been selected for outputs).

Interpreting the results of a Friedman's test

The first table displays the Friedman's Q statistic and the corresponding p-value. The p-value tells us that the probability of rejecting the null hypothesis although it is correct is lower than 0.0001. In that case we can conclude that we can securely reject the null hypothesis that there is no difference between the cheeses.

fried2.gif

The next results allow to identify which cheeses are different from the others, as one would do with multiple comparisons tests in ANOVA. To take into account the fact that there are multiple comparisons on k groups, the Bonferroni correction is used. From the summary table below we see that the cheeses 2 and 3, and 1 and 3 are identified as different. Looking back at the data, the 3rd cheese is clearly the hardest cheese.

fried3.gif