About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Feb 11, 2025
The Means node compares the means between independent groups or between pairs of
related fields to test whether a significant difference exists. For example, you could compare mean
revenues before and after running a promotion or compare revenues from customers who didn't receive
the promotion with those who did.
Example
stream = modeler.script.stream() sourcenode = stream.findByID("id46WRP1285C") node = stream.create("means", "My node") node.setPropertyValue("means_mode", "BetweenGroups") node.setPropertyValue("grouping_field", "BP") node.setPropertyValue("test_fields", ["Age", "K", "Na"]) stream.link(sourcenode, node)
properties |
Data type | Property description |
---|---|---|
|
|
Specifies the type of means statistic to be executed on the data. |
|
|
Specifies the test field when is set to
. |
|
field | Specifies the grouping field. |
|
|
Specifies the field pairs to use when is set to
. |
|
flag | Specifies whether correlation labels are shown in output. This setting applies only when
is set to . |
|
|
Specifies whether to label correlations by probability or absolute value. |
|
string | |
|
string | |
|
string | |
|
number | When is set to , specifies the
cutoff value for weak correlations. This must be a value between 0 and 1—for example, 0.90. |
|
number | Cutoff value for strong correlations. |
|
number | When is set to , specifies the
cutoff value for weak correlations. This must be a value between 0 and 1—for example, 0.90. |
|
number | Cutoff value for strong correlations. |
|
string | |
|
string | |
|
string | |
|
number | Cutoff value for low field importance. This must be a value between 0 and 1—for example, 0.90. |
|
number | |
|
flag | Specifies whether a custom output name is used. |
|
string | Name to use. |
|
|
Specifies the target location for output generated from the output node. |
|
(.tab)
(.csv)
(.html)
(.cou) |
Specifies the type of output. |
|
string | |
|
|
Specifies whether the simple or advanced view is displayed in the output. |
Was the topic helpful?
0/1000