Overslaan naar hoofdinhoud

Hypothesis Testing for Means

Een leercomponent op hypothesetests voor een populatie betekenen.

Opties

  • types | array<string>: het (de) type(n) test (One-Sample, Two-Sample) dat de widget moet blootleggen. Default: [ 'One-Sample', 'Two-Sample' ].
  • tests | array<string>: de test(s) die door de widget worden blootgelegd. Default: [ 'Z-Test', 'T-Test' ].
  • nullHypothesisAsValue | boolean: de nulhypothese altijd als een enkele waarde weergeven. Default: false.
  • feedback | boolean: regelt of er terugmeldingsknoppen moeten worden weergegeven. Default: false.
  • pValue | string: aangepast label voor de p-waarde (moet een LaTeX-vergelijkingsteken zijn). Default: none.
  • style | object: CSS inline-stijlen. Default: {}.

Voorbeelden

Live redacteur
Resultaat

Parameters

One-Sample
Z-Test

Let's assume that we have observed data with the following characteristics:

We conduct the following test (click on the hypotheses below to switch between the one-sided variants and the two-sided test):

We calculate the following test statistic:

Test Result

Plugging in our values, we have:

Under the null hypothesis, we calculate the p-value:

-3.0-2.0-1.01.02.03.00.100.200.30