Skip to content

Main content

Psychiatric Survey Answered Weight Fraction Tool

Explicit research response-completeness weights only; no questionnaire scoring key or mental-health interpretation.

Loading tool…

Description

Explicit research response-completeness weights only; no questionnaire scoring key or mental-health interpretation.

Research questionnaires and interview records distinguish answered, declined, omitted, unpresented, and inapplicable items. Timing and support annotations also affect their denominators. A completeness measure or scale transformation describes those records without establishing an instrument score or a mental-health assessment.

Explicit research response-completeness weights only; no questionnaire scoring key or mental-health interpretation.

When to use this tool

Use Psychiatric Survey Answered Weight Fraction when you need the particular completeness, timing, polarity, or bookkeeping term for supplied research and interview records.

How to use the tool and how it works

  1. Enter itemWeights, answered. 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 totalWeight, answeredWeight, answeredFraction. Use the output convention below.

Sum nonnegative itemWeights for totalWeight and weights with answered true for answeredWeight, then divide for answeredFraction. Require aligned arrays and positive total weight.1

Input fieldMeaning and unitsAccepted input
itemWeightsItem WeightsRequired. Array of finite number; maximum items 256.
answeredAnsweredRequired. Array of boolean; maximum items 256.
Output fieldInterpretationReturned shape
totalWeightTotal WeightRequired. Finite number.
answeredWeightAnswered WeightRequired. Finite number.
answeredFractionAnswered FractionRequired. Finite number.
json
{
  "input": {
    "itemWeights": [
      1,
      2,
      1
    ],
    "answered": [
      true,
      false,
      true
    ]
  },
  "output": {
    "totalWeight": 4,
    "answeredWeight": 2,
    "answeredFraction": 0.5
  }
}

Limitations and assumptions

  • Weights and answer flags are supplied research annotations. This is weighted completeness, not an instrument-specific score, imputed response, or clinically validated interpretation.
  • The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
  • 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. Signed zero is exported as zero.

Alternative or Complementary methods

Use the relevant validated instrument and its documented missing-response and scoring procedures when the task requires an assessment. Verify research annotations and timing before combining record terms.

References

  1. Calculation and input contract: psychiatry/psychiatric-survey-answered-weight-fraction — tool.io

Similar or alternative tools