Skip to content

Main content

Comparator Washout Support Share Tool

Audit explicit comparator research eligibility evidence without choosing a washout duration.

Loading tool…

Description

Audit explicit comparator research eligibility evidence without choosing a washout duration.

Drug-utilization research often reconstructs exposure from dispensing dates, supplied coverage windows, coding systems, and eligibility records. Day counts depend on endpoint and stockpiling policies. Observed records, assumed exposure, and actual medication consumption are different quantities.

Audit explicit comparator research eligibility evidence without choosing a washout duration.

When to use this tool

Use Comparator Washout Support Share when you need this explicit exposure-record, date-window, reporting-base, or evidence-support calculation.

How to use the tool and how it works

  1. Enter supported, required. 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 supportedRequired, requiredCount, share, defined. Inspect defined before interpreting the associated values.

Require aligned supported and required Boolean arrays. Return requiredCount, supportedRequired, and share=supportedRequired/requiredCount when at least one required flag exists, otherwise zero with defined=false.1

Input fieldMeaning and unitsAccepted input
supportedSupportedRequired. Array of boolean; maximum items 256.
requiredRequiredRequired. Array of boolean; maximum items 256.
Output fieldInterpretationReturned shape
supportedRequiredSupported RequiredRequired. Safe integer.
requiredCountRequired CountRequired. Safe integer.
shareDimensionless share under the stated denominator; not a percent numeral.Required. Finite number.
definedWhether the associated denominator or quantity is defined; read before using a zero placeholder.Required. Boolean.
json
{
  "input": {
    "supported": [
      true,
      false
    ],
    "required": [
      true,
      true
    ]
  },
  "output": {
    "supportedRequired": 1,
    "requiredCount": 2,
    "share": 0.5,
    "defined": true
  }
}

Limitations and assumptions

  • Optional entries cannot improve the numerator. The masks are supplied and do not establish a comparator's suitability, washout adequacy, or study eligibility.
  • 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

Choose a documented exposure and eligibility definition for the study before combining records. Verify the coding version, observation windows, endpoint convention, and the evidence for assumptions about carried supply.

References

  1. Calculation and input contract: pharmacoepidemiology/comparator-washout-support-share — tool.io

Similar or alternative tools