メインコンテンツへスキップ

Hypothesis Testing for Means

母集団平均の仮説検定に関する学習コンポーネント。

オプション

  • types | array<string>: ウィジェットが公開するテストのタイプ (1サンプル, 2サンプル) を指定します。. Default: [ 'One-Sample', 'Two-Sample' ].
  • tests | array<string>: ウィジェットによって公開されるテスト. Default: [ 'Z-Test', 'T-Test' ].
  • nullHypothesisAsValue | boolean: 常に帰無仮説を1つの値として表示する. Default: false.
  • feedback | boolean: フィードバックボタンを表示するかどうかを制御します。. Default: false.
  • pValue | string: p値のカスタムラベル(LaTeXの数式文字列である必要があります。. Default: none.
  • style | object: CSSインラインスタイル. Default: {}.

例としては、以下のようなものがあります。

ライブエディター
結果

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