Running a t-test or a z-test to compare the mean of a sample to a value in XLSTAT

Datensatz für t und z Tests für 1 Stichprobe XLS62.5 KB

Videos für dieses Tutorial
t und z Tests für 1 Stichprobe ist enthalten in: Download Demoversion Mehr Details Kommentare ansehen
  • Pro Statistische Kernsoftware

  • Voraussetzungen

    • Windows:
      • Versionen: 9x/Me/NT/2000/XP/Vista/Win 7
      • Excel: 97 oder höher
      • Prozessor: 32 oder 64 bit
      • Festplattenspeicher: 150 MB
    • Mac OS X:
      • OS: OS X
      • Excel: X, 2004 und 2011
      • Festplattenspeicher: 150 MB

Vorteile von XLSTAT

  • Praktisch und einfache Benutzung
    Praktisch und einfache Benutzung XLSTAT ist perfekt in Microsoft Excel integriert, das das am meisten benutzte Tabellenkalkulationsprogramm ist. Dank dieser Integration und der gleichen Philosophie wie Excel, ist die Benutzung von XLSTAT leicht. Die Software ist in einem speziellen Reiter verfügbar, der das Menu der XLSTAT-Module enthält. Die verfügbaren Analysen sind in Gruppen ähnlicher Funktion zusammengefasst. Die Dialogfenster sind einfach und Ihre Einstellungen verständlich.
  • Einfaches Mitteilen der Daten und Ergebnisse
    Einfaches Mitteilen der Daten und Ergebnisse Einer der größten Vorteile von XLSTAT ist die Tatsache, das die Daten und Ergebnisse ohne Einschränkung kommuniziert werden können. Denn die Daten und Ergebnisse werden in Microsoft Excel gespeichert und sind daher allen zugänglich. Eine XLSTAT Lizenz oder ein Programm zur Ansicht ist nicht erforderlich, um die Daten und Ergebnisse zu empfangen und anzusehen. Darüber hinaus sind die Ergebnisse leicht in andere Programme von Microsoft Office, wie PowerPoint kopierbar, was Ihnen das Erstellen von Präsentationen mit ausgezeichneten Diagrammen in wenigen Minuten erlaubt.
  • Modular
    Modular XLSTAT ist ein modulares Produkt um XLSTAT-Pro herum, das die Basissoftware von XLSTAT darstellt. XLSTAT-Pro schließt bereits alle verbreiteten statistischen Funktionen und multivariaten Datenanalysen ein. Die fortgeschrittenen Funktionen sind ebenfalls in zusätzlichen Modulen verfügbar, die speziellen Anforderungen gerecht werden. So können Sie Ihre Software an Ihre eigenen Anforderungen anpassen, was sie attraktiver werden lässt.
  • Didaktisch
    Didaktisch Die XLSTAT Ergebnisse sind nach Analysen aufgebaut und einfach durchzublättern. Darüber hinaus sind den Ergebnissen nützliche Informationen hinzugefügt, um die Interpretation zu erleichtern.
  • Preiswert
    Preiswert XLSTAT ist eine modulare, komplette Statistik- und Datenanalysesoftware, die sich an alle Ihre analytischen Anforderungen Ihrer Organisation anpasst. Der Preis ist sehr gering, was Ihnen eine quasi sofortige Amortisierung erlaubt. Alle XLSTAT Lizenzen schließen ein Support und eine Unterstützung hervorragender Qualität ein.
  • Zugänglich
    Zugänglich Wir setzen uns ein, XLSTAT so vielen Personen wie möglich durch eine Benutzerschnittstelle in vielen Sprachen darunter Deutsch, englisch, französisch, spanisch, italienisch, portugiesisch, polnisch, chinesisch und japanisch zugänglich zu machen.
  • Automatisierbar und personalisierbar
    Automatisierbar und personalisierbar Die Mehrzahl der in XLSTAT verfügbaren Funktionen können direkt aus Visual Basic for Applications von Microsoft Excel heraus aufgerufen werden. Sie können in Ihre Routinen integriert werden, um Ihren Anforderungen einer speziellen Anwendung gerecht zu werden. Das Hinzufügen von Ergebnistabellen, Diagrammen, oder das Verändern bereits existierender ist vereinfacht. Darüber hinaus schließt XLSTAT die Werkzeuge zur Erzeugen des VBA Kodes für die Dialogfenster ein, so dass Sie Ihre Analysen vom VBA Editor heraus einfach reproduzieren können, indem Sie die Einstellungen automatisch laden. Diese Automatisierung der Analysen wird Ihnen viel Zeit einsparen.

Dataset to perform a mean comparison test - either a Student's t-test or a z-test

An Excel sheet containing both the data and the results for use in this tutorial can be downloaded by clicking here. The data correspond to the mathematic grade average for the first semester of a class of 33 students.

Goal 1 of this tutorial

We want to compare the results of those students with the county average which is 11.5. We don’t have the information about the variance of this statistic so we cannot run a z-test. We will then run a t-test.

Some descriptive statistics on the class performance have been computed and can be found on the sheet Desc.

As you can see the average is 11.121.

We can use a t-test to determine if the difference between the average of the class and the average of all students in the county are similar or different with a risk of 5%.

Setting up a Student's t-test for comparing the mean of a sample to a value

Go over to the menu Parametric tests and select the option One-sample t-test and z-test.

data analysis software

In the dialog box, select the data. Press the Range selector and select the column B that contains the “Math average”. The data format is One sample per column. Here we have only one column corresponding to one sample to test. If the data were spanned on several columns for the same sample we could use the other option.

The results will be displayed in a new sheet as we keep the default option Sheet.

The name of the column was included in our data selection so we tick the option Column labels.

Finally you have to decide if you want to run a t-test or a z-test. As explained above we don’t have the information about the standard deviation of the population so we have to run a Student’s t test.

stats software

We can move on to the tab Options to specify our analysis. The first thing to select is the alternative hypothesis. We know that the average of the class is inferior to the general average so we can select the option Mean 1 < Theoretical mean to run a one-sided test which is more accurate than a two-sided test.

Then we enter 11.5 in the Theoretical mean field. The default significance level is 5%. We will use this value.

t-test software

In the Missing data tab we can choose any option as we do not have missing data in this dataset. For the last section Outputs we select the only available option Descriptive statistics.

statistical software

When everything is set, press OK.

Results of the Student's t-test to compare the mean of a sample to a value

The results of the t-test appear in a new sheet. The following table shows that the class of student is performing significantly less good than the average of the county.

statistical software

Goal 2 of this tutorial

To go further we can now use the standard deviation for the math grades for the county. Let’s use 0.55. So the variance is 0.3025.

Setting up a z-test for the comparison of the mean of a sample to a value

In the first tab General, this time instead of the Student’s t-test option choose the option z-test.

statistical software

In the Options tab, you need to set the variance for the z-test. Opt for the option User defined and set the value to 0.3025.

statistical software

Click OK.

Results and interpretation of a z-test for the comparison of the mean of a sample to a value

In the results page you now have that the hypothesis H0 should be rejected and that the students performed significantly worse than the students of the county.

statistical software

The following video shows how to run a Student's t-test and a z-test in XLSTAT.