Filter function for Stata to temporary filter data sets