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
- Enter repeatMeanMs, switchMeanMs, repeatErrors, repeatTrials, switchErrors, switchTrials. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| repeatMeanMs | Repeat Mean Ms | Required. Finite number; minimum 0. |
| switchMeanMs | Switch Mean Ms | Required. Finite number; minimum 0. |
| repeatErrors | Repeat Errors | Required. Safe integer; minimum 0. |
| repeatTrials | Repeat Trials | Required. Safe integer; minimum 1. |
| switchErrors | Switch Errors | Required. Safe integer; minimum 0. |
| switchTrials | Switch Trials | Required. Safe integer; minimum 1. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| latencySwitchCostMs | Switch mean minus repeat mean, in milliseconds. | Required. Finite number. |
| errorSwitchCost | Switch error fraction minus repeat error fraction; dimensionless. | Required. Finite number. |
{
"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
Similar or alternative tools
- Child Memory Delay Retention Fraction
Return delayed/immediate retention and each accuracy fraction.
- Caregiver Report Disagreement One Item
Compare two bounded caregiver ratings.