This document discusses using PROC FREQ and PROC LOGISTIC in SAS to analyze a binary outcome variable using contingency tables and logistic regression. It analyzes data on smoking status and abnormal breathing tests. PROC FREQ generates contingency tables and finds that the odds of an abnormal test are about 2.8 times higher for current smokers compared to never smokers. PROC LOGISTIC fits a logistic regression model that estimates the increase in log odds of an abnormal test for current smokers is 1.01 compared to never smokers.