Description
Return trial-arm count gaps from target counts.
Allocation bookkeeping distinguishes arm counts, indexing and vocabulary matches from generation of a concealed random sequence. Floored targets can leave unassigned remainders, and a local balance score does not establish that an allocation method protects a trial from selection bias.
Return trial-arm count gaps from target counts.
When to use this tool
Use Allocation Arm Count Gap when checking the stated clinical-research record, allocation, timing, analysis or evidence-basis convention.
How to use the tool and how it works
- Enter allocated, target. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read gaps. Use the output convention below.
Return trial-arm count gaps from target counts. Require aligned nonnegative whole allocated/target arrays; gaps = allocated-target per position.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| allocated | Allocated | Required. Array of safe integer; maximum items 256. |
| target | Target | Required. Array of safe integer; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| gaps | Gaps | Required. Array of safe integer; maximum items 256. |
{
"input": {
"allocated": [
12,
8
],
"target": [
10,
10
]
},
"output": {
"gaps": [
2,
-2
]
}
} Limitations and assumptions
- Positive values are over-target and negative under-target; no assignment validity, chance imbalance significance or adjustment is inferred.
- 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.
Alternative or Complementary methods
Use the complete approved protocol, authenticated source records and qualified clinical/statistical oversight for actual trial design, conduct and interpretation.
References
Similar or alternative tools
- Allocation Stratum Unfilled Slot Count
Return unfilled slots and overfilled strata.
- Trial Study Arm Allocation Ratio Term
Return ideal and floored trial-arm allocations.