Skip to main content

Hypothesis Testing for Means

A learning component on hypothesis tests for a population mean.


  • types | array<string>: the type(s) of test (One-Sample, Two-Sample) the widget should expose. Default: [ 'One-Sample', 'Two-Sample' ].
  • tests | array<string>: the test(s) exposed by the widget. Default: [ 'Z-Test', 'T-Test' ].
  • nullHypothesisAsValue | boolean: always display the null hypothesis as a single value. Default: false.
  • feedback | boolean: controls whether to display feedback buttons. Default: false.
  • pValue | string: custom label for the p-value (should be a LaTeX equation string). Default: none.
  • style | object: CSS inline styles. Default: {}.


Live Editor
ReferenceError: Provider is not defined