Przejdź do głównej treści

Hypothesis Testing for Proportions

Komponent do nauki na testach hipotetycznych dla danej populacji.

Opcje

  • types | array<string>: typ(-y) badania (Jedna Próbka, Dwie Próbki), które widżet powinien eksponować. Default: [ 'One-Sample', 'Two-Sample' ].
  • feedback | boolean: kontroluje, czy mają być wyświetlane przyciski sprzężenia zwrotnego. Default: false.
  • nullHypothesisAsValue | boolean: zawsze wyświetlać hipotezę zerową jako pojedynczą wartość. Default: false.
  • pValue | string: własna etykieta dla wartości p (powinna być ciągiem równań LaTeX). Default: none.
  • style | object: Style CSS inline. Default: {}.

Przykłady

Edytor na żywo
Wynik

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