Comparing two proportions in XLSTAT

Dataset for Comparison of two proportions XLS28.5 KB

Tutorial video
Comparison of two proportions 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.

Dataset for comparing two proportions

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

We are going to compare the proportion of male and female that are public relation managers per earning category in the US (Source: US Census Bureau, Census 2000 special tabulation).

As can be seen in the dataset, the distribution is very different between male and female.

The earning strata that seems to be the most similar between gender is a yearly salary of $50,000 to $74,999: 29.32% of the male and 25.00% of the female PR manager are earning this salary.

We are now going to test the following null hypothesis H0: There is no gender difference in the proportion of people earning $50,000 to $74,999. The alternative hypothesis will be Ha: There is a bigger proportion of male managers earning $50,000 to $74,999 than female  managers.

Setting up a test for comparing two proportions

Go to the menu Parametric tests / Tests for two proportions.

data analysis software

Once the dialog box is opened, fill in the following information:

  1. Frequency 1: 8990 (Female PR managers earning $50,000 to $74,999)
  2. Sample size 1: 35955 (Total Female PR managers)
  3. Frequency 2: 6619 (Male PR managers earning $50,000 to $74,999)
  4. Sample size 2: 27340 (Total Male PR managers)

The Data format is Frequencies.

We select a z test rather than a Monte Carlo method as we do not need to use Monte Carlo simulation.

Leave the default value Sheet to display the results in a new sheet of the current workbook.

statistics in MS Excel

Move on to the next tab: Options.

For the Alternative hypothesis set up the option Proportion 1 –Proportion 2 < D where D is 0, as the proportion of female PR manager earning $50,000 to $74,999 is inferior to the same proportion for male.

Keep the significance level to 5%.

There are two diferent formula to compute the variance we will use the first one.

stat in Excel

Click on OK.

Interpreting the results of a test comparing two proportions

In the result sheet look at the value of the p-value. It is inferior to the limit of 0.05 therefore we should reject the hypothesis and conclude that the proportion of female PR manager earning $50,000 to $74,999 is significantly less than the proportion of male PR manager.

statistical software