Description
Return eligible trials excluding errors only when requested, while errorFraction always divides errors by total-minus-excludedCorrect.
Trial records can encode conditions, response keys, inclusion masks and blind-code mappings. Literal membership and balanced counts describe the supplied records; they do not establish valid randomization, effective blinding or clinical conclusions.
Return eligible trials excluding errors only when requested, while errorFraction always divides errors by total-minus-excludedCorrect.
When to use this tool
Use Stroop Error Trial Inclusion Denominator when you need a specified experimental-record or allocation-index check.
How to use the tool and how it works
- Enter totalTrials, errors, excludedCorrect, includeErrors. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read eligibleTrials, errorFraction. Use the output convention below.
Require positive total trials and bounded errors/excluded-correct counts with a positive nonexcluded base. Return eligible trials excluding errors only when requested, while errorFraction always divides errors by total-minus-excludedCorrect.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| totalTrials | Total Trials | Required. Safe integer; minimum 1. |
| errors | Errors | Required. Safe integer; minimum 0. |
| excludedCorrect | Excluded Correct | Required. Safe integer; minimum 0. |
| includeErrors | Include Errors | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| eligibleTrials | Nonexcluded correct trials plus errors only when includeErrors. | Required. Safe integer. |
| errorFraction | Errors divided by totalTrials-excludedCorrect, regardless of includeErrors. | Required. Finite number. |
{
"input": {
"totalTrials": 100,
"errors": 10,
"excludedCorrect": 10,
"includeErrors": false
},
"output": {
"eligibleTrials": 80,
"errorFraction": 0.1111111111111111
}
} Limitations and assumptions
- EligibleTrials can be zero while errorFraction remains defined. These are trial accounting conventions, not a complete Stroop score or clinical assessment.
- 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
Review the complete experimental design, controlled mappings and source records. Validate actual randomization, permissions, missingness and analysis assumptions rather than inferring them from one token or count.
References
Similar or alternative tools
- Go Nogo Commission Denominator Choice
Divide commission errors by no-go-minus-excluded trials.
- Trial Exclusion Boundary Flag
Test independent endpoint inclusion and flag exact equality with either boundary.