Skip to content

Main content

Allocation Period Support Share Tool

Calculate allocation period support share from explicit caller-supplied inputs.

Loading tool…

Description

Return allocation-count support from verified matching period records.

Clinical research distinguishes supplied protocol metadata, participant/event records, allocation bookkeeping and an analysis target. A local count, permission flag or denominator choice can help reconcile records without establishing valid consent, randomization, regulatory compliance or a reliable treatment-effect estimate.

Return allocation-count support from verified matching period records.

When to use this tool

Use Allocation Period Support Share when checking the stated clinical-research record, allocation, timing, analysis or evidence-basis convention.

How to use the tool and how it works

  1. Enter periodIds, allocationCounts, sourceCounts, verified. Keep parallel arrays aligned. 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 allocatedDecimal, supportedDecimal, discrepantPeriods, share, defined. Inspect defined before interpreting the associated values.

Return allocation-count support from verified matching period records. Require aligned nonnegative whole arrays; sum allocations exactly, count supported allocation amounts only when verified and equal source count; return exact totals, discrepancy count and floating share, or zero with defined false.1

Input fieldMeaning and unitsAccepted input
periodIdsPeriod IdsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
allocationCountsAllocation CountsRequired. Array of safe integer; maximum items 256.
sourceCountsSource CountsRequired. Array of safe integer; maximum items 256.
verifiedVerifiedRequired. Array of boolean; maximum items 256.
Output fieldInterpretationReturned shape
allocatedDecimalAllocated DecimalRequired. Text; maximum UTF-16 length 8192.
supportedDecimalExact allocation count summed only from verified equal source-count rows.Required. Text; maximum UTF-16 length 8192.
discrepantPeriodsDiscrepant PeriodsRequired. Safe integer.
shareDimensionless numerator/denominator ratio under the explicit basis above.Required. Finite number.
definedWhether the stated denominator or information basis permits interpretation of the associated value; inspect before using a placeholder.Required. Boolean.
json
{
  "input": {
    "periodIds": [
      "a",
      "b"
    ],
    "allocationCounts": [
      2,
      3
    ],
    "sourceCounts": [
      2,
      4
    ],
    "verified": [
      true,
      true
    ]
  },
  "output": {
    "allocatedDecimal": "5",
    "supportedDecimal": "2",
    "discrepantPeriods": 1,
    "share": 0.4,
    "defined": true
  }
}

Limitations and assumptions

  • Duplicate period labels are not removed; verification flags and source counts are supplied, not authenticated allocation records.
  • 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

  1. Calculation and input contract: clinical-trials/allocation-period-support-share — tool.io

Similar or alternative tools