Skip to content

Validate Data

Screens variables for problems, checks case identifiers and flags cases that break validation rules.

  • Right after importing or entering data, before analysis.
  • To find impossible values (out-of-range ages, codes outside a scale) or contradictions between variables.
  • Rules describe valid values; missing values only break a rule when you say so (ALLOWMISSING=NO).
  • Cross-variable rules are written as expressions that are true for an invalid case.
  • Variable Checks lists variables with too many missing values, a dominant category, or almost no variation.
  • Rule Descriptions and Variable Summary count violations per rule and variable.
  • Case Report lists cases with violations and which rules they broke.

Validation found 2 out-of-range ages and 1 contradictory case, which were corrected before analysis.

Syntax: VALIDATEDATA VARIABLES=age sex ID=id /RULE VARIABLES=age TYPE=RANGE MIN=0 MAX=120.


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.