This document provides an example of using regression analysis to model the relationship between gender and the probability of being an Instagram user using a sample of 1069 young people. Logistic regression is used because the response variable is binary (user or non-user). The logistic model relates the log-odds of being a user to the explanatory gender variable using an indicator variable. For the Instagram example, gender is coded as 1 for women and 0 for men, and the response variable also uses an indicator for user status.