Skip to main content

Hypothesis Testing for Proportions

Õppekomponent hüpoteeside testide kohta populatsiooni osakaalu kohta.

Valikud

  • types | array<string>: testi tüüp(id) (ühe valimi test, kahe valimi test), mida vidin peaks avaldama.. Default: [ 'One-Sample', 'Two-Sample' ].
  • feedback | boolean: kontrollib, kas tagasiside nuppe kuvada. Default: false.
  • nullHypothesisAsValue | boolean: kuvab nullhüpoteesi alati ühe väärtusena. Default: false.
  • pValue | string: p-väärtuse kohandatud silt (peaks olema LaTeXi võrrandistring). Default: none.
  • style | object: CSS inline stiilid. Default: {}.

Näited

Live toimetaja
Tulemus

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