Treci la conținutul principal

Hypothesis Testing for Means

O componentă de învățare privind testele de ipoteză pentru media unei populații.

Opțiuni

  • types | array<string>: tipul (tipurile) de test (One-Sample, Two-Sample) pe care widget-ul ar trebui să-l expună. Default: [ 'One-Sample', 'Two-Sample' ].
  • tests | array<string>: testul (testele) expus(e) de către widget. Default: [ 'Z-Test', 'T-Test' ].
  • nullHypothesisAsValue | boolean: să afișeze întotdeauna ipoteza nulă ca o singură valoare. Default: false.
  • feedback | boolean: controlează dacă se afișează butoanele de feedback. Default: false.
  • pValue | string: etichetă personalizată pentru valoarea p (ar trebui să fie un șir de ecuații LaTeX). Default: none.
  • style | object: Stiluri inline CSS. Default: {}.

Exemple

Editor live
Rezultat

Parameters

One-Sample
Z-Test

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