Přeskočit na hlavní obsah

Hypothesis Testing for Proportions

Výuková část o testech hypotéz pro podíl populace.

Možnosti

  • types | array<string>: typ(y) testu (Jednovýběrový, Dvouvýběrový), který by měl widget zobrazit.. Default: [ 'One-Sample', 'Two-Sample' ].
  • feedback | boolean: řídí, zda se mají zobrazovat tlačítka zpětné vazby. Default: false.
  • nullHypothesisAsValue | boolean: vždy zobrazí nulovou hypotézu jako jedinou hodnotu.. Default: false.
  • pValue | string: vlastní označení p-hodnoty (měl by to být řetězec rovnic LaTeXu).. Default: none.
  • style | object: Řádkové styly CSS. Default: {}.

Příklady

Živý editor
Výsledek

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