Pular para o conteúdo principal

Hypothesis Testing for Proportions

Um componente de aprendizado sobre testes de hipóteses para uma proporção populacional.

Opções

  • types | array<string>: o(s) tipo(s) de teste ('Uma Amostra', 'Duas Amostra') que o widget deve expor. Default: [ 'One-Sample', 'Two-Sample' ].
  • feedback | boolean: controla se devem ser exibidos botões de feedback. Default: false.
  • nullHypothesisAsValue | boolean: sempre exibir a hipótese nula como um único valor. Default: false.
  • pValue | string: etiqueta personalizada para o valor p (deve ser uma cadeia de equações LaTeX). Default: none.
  • style | object: Estilos em linha CSS. Default: {}.

Exemplos

Editor ao vivo
Resultado

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