Passa al contenuto principale

Hypothesis Testing for Means

Una componente di apprendimento sui test di ipotesi per una media di popolazione.

Opzioni

  • types | array<string>: il tipo o i tipi di test (One-Sample, Two-Sample) che il widget dovrebbe esporre. Default: [ 'One-Sample', 'Two-Sample' ].
  • tests | array<string>: il test o i test esposti dal widget. Default: [ 'Z-Test', 'T-Test' ].
  • nullHypothesisAsValue | boolean: visualizzare sempre l'ipotesi nulla come un unico valore. Default: false.
  • feedback | boolean: controlla se visualizzare i pulsanti di feedback. Default: false.
  • pValue | string: etichetta personalizzata per il valore p (dovrebbe essere una stringa di equazione LaTeX). Default: none.
  • style | object: Stili in linea CSS. Default: {}.

Esempi

Editore dal vivo
Risultato

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