Skip to main content

Two-Sample Proportion Test

Two-sample proportion test.

Options#

  • data | object (required): object of value arrays. Default: none.
  • var1 | (string|Factor) (required): name of first variable. Default: none.
  • success | string (required): success category of var1. Default: none.
  • var2 | (string|Factor): name of second variable (var2 or group have to be supplied). Default: none.
  • group | (string|Factor): name of grouping variable (var2 or group have to be supplied). Default: none.
  • alpha | number: significance level. Default: 0.05.
  • direction | string: test direction (either less, greater, or two-sided). Default: 'two-sided'.
  • diff | number: difference under H0. Default: 0.
  • showDecision | boolean: controls whether to display if the null hypothesis is rejected at the specified significance level. Default: false.

Examples#

Live Editor
Result
Last updated on by Planeshifter