Filter to Include Observations for HWE Test
This optional feature enables you to specify a subset of the input data set for use in the test for Hardy-Weinberg Equilibrium (HWE). Only those observations that meet all of the conditions specified are included in the analysis.
For example, to filter only diseased individuals from a data set containing a mixed population of diseased (sick) and healthy (healthy) individuals (as indicated in a column named DiseaseStatus), you could use the following simple WHERE expression:
WHERE DiseaseStatus = ‘sick’
Note: the word where has already been entered for you.
For more information about using filter fields, see The SAS WHERE Expression.