Skip to content

← statistics package

ParseStatsTable

Extract data from stats chunk returned by a stats node.

For univar_stats table, the value is returned for each dependent variable. The statistics must be in an axis with the 'statistic_types' custom label (should be a statistic axis, but a feature axis is supported for legacy reasons). Also expects a feature axis containing the names of the factors, with the 'explanatory_variables' custom label. This node will remove both of the above axes (so if you're creating a stats table, split off the data before this node). Version 1.3.1

Ports/Properties

data

Packet with stats chunk to process.

  • verbose name: Data
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

factor

Factor in stats chunk's first axis to get the values for. Leave default to select first factor. Ignored if data has no explanatory variables (i.e., TTest output).

  • verbose name: Factor
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

column_name

Name of column in stats table to extract. 'sum_sq', 'mean_sq' are for univ_stats only, 'Value', 'Den DF' are for multivar_stats only. 'Num DF' is used as 'df' in univar. 'F Value' is used as 'F' in univar. 't Value' is the t-stat from a t-test.

  • verbose name: Column Name
  • default value: p_val
  • port type: EnumPort
  • value type: str (can be None)

mvar_test

Select the multivariate test to extract. Ignored if chunk is univariate stats.

  • verbose name: Mvar Test
  • default value: all
  • port type: EnumPort
  • value type: str (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

  • verbose name: Set Breakpoint (Debug Only)
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

  • verbose name: Metadata
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)