Running a multinomial goodness of fit test with XLSTAT

Dataset for Multinomial goodness of fit test XLS20.0 KB

Tutorial video
Multinomial goodness of fit test is part of: Download Trial version More details See users' feedback
  • 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.

Multinomial goodness of fit test

XLSTAT multinomial goodness of fit test allows to compare expected and observed frequencies at the categories’ level for a qualitative variable (or a discretized quantitative variable). It is called multinomial goodness of fit test because it is based on the multinomial distribution.

When the theoretical frequencies of the categories of a qualitative variable are known, we can test using observed data the following null hypothesis: The distribution is not different from what is expected.

Dataset for running a multinomial goodness of fit test

We use a simple example based on the distribution of the occupation status in France.

Occupation status is separated into 8 categories (Farmers / Self-employed professionals / Professionals, managers, and intellectual professions / Office worker / Clerks / Workers / Inactive having worked / Other not working).

We want to compare the frequencies obtained on a survey with 560 observations to the national level statistics.

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

Setting up a multinomial goodness of fit test

Once XLSTAT-Pro is activated, select the XLSTAT / Parametric tests / Multinomial Goodness of Fit test command, or click on the corresponding button of the Parametric test menu (see below).

multinom1.gif

Once you have clicked the button, the dialog box appears. Select the data on the Excel sheet: select the column of data corresponding to the observed frequencies in the survey in the Frequencies box.

Then select the proportion in the French population into the Expected proportions box.

As the variables names are included in the first row of the selection, leave the Column labels option checked. Then activate the Chi-square test and the Monte Carlo method.

For more details on the statistical methods please refer to the help of XLSTAT.

multinom2.gif

After you 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 multinomial goodness of fit test

The first table displays the Chi-square statistic, the critical Chi-square, the number of degrees of freedom, and the corresponding p-value.

The p-value tells us that the probability of rejecting the null hypothesis while 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 observed and theoretical frequencies.

We conclude that our sample do not match the population proportions. A method such as raking can be applied to the sample to get closer to the population.

multinom3.gif

The next table shows the Monte Carlo method’s results. It appears that it reaches the same conclusions as the standard method.

multinom4.gif

We have shown in this tutorial, that we can easily compare expected and observed frequencies of the categories of a qualitative variable using XLSTAT.