Siirry pääsisältöön

Hypothesis Testing for Proportions

Oppimiskomponentti hypoteesitesteistä populaation osuutta varten.

Vaihtoehdot

  • types | array<string>: testityyppi(t) (Yksi otos, Kaksi otosta), joka widgetin tulisi esittää.. Default: [ 'One-Sample', 'Two-Sample' ].
  • feedback | boolean: ohjaa, näytetäänkö palautepainikkeet. Default: false.
  • nullHypothesisAsValue | boolean: näyttää nollahypoteesin aina yhtenä arvona.. Default: false.
  • pValue | string: p-arvon mukautettu merkintä (sen pitäisi olla LaTeX-yhtälön merkkijono).. Default: none.
  • style | object: CSS-inline-tyylit. Default: {}.

Esimerkkejä

Live Editor
Tulos

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