1 ×

Proportion Test

KNIME Statistic Nodes (Labs) version 4.4.0.v202106041314 by KNIME AG, Zurich, Switzerland

The Proportion Test computes a test statistic to determine if a specific category in a sample has a different proportion than the expected proportion, p0. The node calculates the sample proportion of the category p̂. With the given null-hypothesized proportion p0, a z-Score is calculated via (p̂ - p0)/se, where se is the standard error. If the corresponding p-Value is below the given significance level α, the null hypothesis can be rejected. Missing values will be ignored. See Wikipedia on test statistic, "One-proportion z-test" for further information.


Category column
The distribution column, of StringType or BooleanType. Its total number of occurrences without missing values is nobs.
The category to test for. The number of occurrences of this category in the category column is count.
Null hypothesis
The null hypothesized proportion 0 < p0 < 1.
Alternative hypothesis
The alternative hypothesis HA: whether the actual proportion =nobs/count is
  • larger than (GREATER_THAN)
  • less than (LESS_THAN)
  • different than (TWO_SIDED)
the null hypothesized proportion p0.
Significance level α
H0 is rejected, if p-Value < α

Advanced Settings

Use sample proportion
Whether to calculate the standard error from the sample proportion p̂ rather than the default null hypothesis proportion p0.

Input Ports

The table from which to test samples

Output Ports

Proportion test evaluation

Best Friends (Incoming)

Best Friends (Outgoing)


To use this node in KNIME, install KNIME Statistics Nodes (Labs) from the following update site:


A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.


You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.