Filtered holecounts
A filtered holecount is one in which only records fulfilling a specific condition are counted. They can be created using the if statement to define the occasions when a record should be counted.
For example, to include only male respondents in the holecount, use:
if (c106'1') count c(101,108) $Demonstration Survey – Males$
See also