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 Statistics node provides basic summary information about
numeric fields. It calculates summary statistics for individual fields and correlations between
fields.
Example
stream = modeler.script.stream()
typenode = stream.findByID("id42KW3MSA94B")
node = stream.create("statistics", "My node")
stream.link(typenode, node)
# "Settings" tab
node.setPropertyValue("examine", ["Age", "BP", "Drug"])
node.setPropertyValue("statistics", ["mean", "sum", "sdev"])
node.setPropertyValue("correlate", ["BP", "Drug"])
# "Correlation Labels..." section
node.setPropertyValue("label_correlations", True)
node.setPropertyValue("weak_below_absolute", 0.25)
node.setPropertyValue("weak_label", "lower quartile")
node.setPropertyValue("strong_above_absolute", 0.75)
node.setPropertyValue("medium_label", "middle quartiles")
node.setPropertyValue("strong_label", "upper quartile")
properties |
Data type | Property description |
---|---|---|
|
flag | Specifies whether a custom output name is used. |
|
string | If is true, specifies the name to use. |
|
|
Used to specify target location for output generated from the output node. |
|
(.txt)
(.html)
(.cou) |
Used to specify the type of output. |
|
string | |
|
list | |
|
list | |
|
|
|
|
|
Specifies whether to label correlations by probability or absolute value. |
|
flag | |
|
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. |
Was the topic helpful?
0/1000