Description
Return block-allocation remainders by arm.
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 block-allocation remainders by arm.
When to use this tool
Use Randomization Arm Balance Remainder when checking the stated clinical-research record, allocation, timing, analysis or evidence-basis convention.
How to use the tool and how it works
- Enter assigned, blockTarget. 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 remaining, overallocatedPositions. Use the output convention below.
Return block-allocation remainders by arm. Require aligned nonnegative whole assigned/blockTarget arrays; remaining = target-assigned, overallocatedPositions lists negative entries.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| assigned | Assigned | Required. Array of safe integer; maximum items 256. |
| blockTarget | Block Target | Required. Array of safe integer; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| remaining | Budget minus use under the stated direction, retaining negative deficits where allowed. | Required. Array of safe integer; maximum items 256. |
| overallocatedPositions | Overallocated Positions | Required. Array of safe integer; maximum items 256. |
{
"input": {
"assigned": [
5,
3
],
"blockTarget": [
4,
4
]
},
"output": {
"remaining": [
-1,
1
],
"overallocatedPositions": [
0
]
}
} Limitations and assumptions
- Overallocations are reported rather than rejected; no concealed random sequence or complete block design is generated.
- 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
- Randomization Stratum Index
Look up a serialized factor tuple in supplied strata.
- Allocation Arm Count Gap
Return trial-arm count gaps from target counts.