The is the second part of the office hours discussing the replication of Collins and Kothari 1989. See the attached code, which was used in the video (note to self, it is saved in the 6193/sas folder on WRDS).
This program discusses dealing with outliers by winsorizing/trimming and using ranks in analysis.
Lots of other tips and tricks too numerous to list, too exciting not to watch again and again.