Suppose you’re interested in explaining variation in movie box office revenue. You develop a model using the movie’s budget, critic reviews, and MPAA rating as independent variables. You use the MPAA ratings to generate three dummy variables indicating whether the movie received a PG, PG-13, or R rating (see Chapter 9 for an in-depth discussion of dummy variables)