Skip to content

Main content

Child Executive Task Rule Switch Gap Tool

Calculate child executive task rule switch gap from explicit caller-supplied inputs.

Loading tool…

Description

Return descriptive switching costs in latency and error fraction.

Developmental research scores can be expressed as changes, ratios, reversed scales or contrasts between conditions. Those arithmetic forms have distinct denominators and need a suitable measurement model before they support psychological interpretation.

Return descriptive switching costs in latency and error fraction.

When to use this tool

Use Child Executive Task Rule Switch Gap when checking a supplied score or response contrast.

How to use the tool and how it works

  1. Enter repeatMeanMs, switchMeanMs, repeatErrors, repeatTrials, switchErrors, switchTrials. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read latencySwitchCostMs, errorSwitchCost. Use the output convention below.

Return descriptive switching costs in latency and error fraction. Require nonnegative mean milliseconds, positive whole trial counts and bounded whole errors; subtract repeat means/rates from switch means/rates.1

Input fieldMeaning and unitsAccepted input
repeatMeanMsRepeat Mean MsRequired. Finite number; minimum 0.
switchMeanMsSwitch Mean MsRequired. Finite number; minimum 0.
repeatErrorsRepeat ErrorsRequired. Safe integer; minimum 0.
repeatTrialsRepeat TrialsRequired. Safe integer; minimum 1.
switchErrorsSwitch ErrorsRequired. Safe integer; minimum 0.
switchTrialsSwitch TrialsRequired. Safe integer; minimum 1.
Output fieldInterpretationReturned shape
latencySwitchCostMsSwitch mean minus repeat mean, in milliseconds.Required. Finite number.
errorSwitchCostSwitch error fraction minus repeat error fraction; dimensionless.Required. Finite number.
json
{
  "input": {
    "repeatMeanMs": 500,
    "switchMeanMs": 600,
    "repeatErrors": 2,
    "repeatTrials": 20,
    "switchErrors": 5,
    "switchTrials": 20
  },
  "output": {
    "latencySwitchCostMs": 100,
    "errorSwitchCost": 0.15
  }
}

Limitations and assumptions

  • Negative costs are allowed; no significance test, adjustment for trial selection or executive-function diagnosis occurs.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use validated instruments, an appropriate study design and professional assessment when interpreting individual development or cognitive function.

References

  1. Calculation and input contract: developmental-psychology/child-executive-task-rule-switch-gap — tool.io

Similar or alternative tools