Passa al contenuto principale

Hypothesis Testing for Proportions

Una componente di apprendimento su test di ipotesi per una percentuale 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' ].
  • feedback | boolean: controlla se visualizzare i pulsanti di feedback. Default: false.
  • nullHypothesisAsValue | boolean: visualizzare sempre l'ipotesi nulla come un unico valore. 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
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