KatInterview

Interaction Effects, Logit vs LPM, and Endogeneity in a Retention Study

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsregressioninteraction-effectslogistic-regression

Last updated

Model day-7 retention with a treatment-by-new-user interaction, interpret LPM and logit coefficients, pick diagnostics and standard errors, handle an endogenous regressor, and model counts.

A video app tested a new content-preloading feature. You have one row per user with these fields:

  • retained_7d: 1 if the user was active on day 7, otherwise 0
  • treated: 1 if the user received the preloading feature
  • new_user: 1 for a brand-new user, 0 for an existing one
  • watch_time_day1: minutes watched on the first day
  • country fixed effects and signup-date fixed effects

You want to estimate the treatment effect on retention and check whether it differs between new and existing users, so the model includes the interaction treated × new_user.

(a) Specification and interpretation. Write out both a linear probability model (LPM) and a logistic regression. Interpret the coefficient on treated and on treated × new_user in each. For the logit, convert a coefficient into an odds ratio and then into an approximate marginal effect at the mean.

(b) Assumptions and diagnostics. Which problems would you look for: heteroskedasticity, separation, multicollinearity (for example VIF), misspecification (for example a link test), and poor calibration (for example reliability plots)? Which standard errors would you report, robust or clustered, and how would you justify the clustering level?

(c) Endogenous regressor. Suppose watch_time_day1 is endogenous, for instance because unobserved taste for the content drives both viewing and retention. Describe two remedies and their assumptions: (1) an instrumental-variable or control-function approach, and (2) a panel design with user fixed effects using within-user variation. What instruments or proxies might be plausible here?

(d) Count outcomes. You also have the number of videos watched per day. When would you prefer Poisson or negative binomial regression over OLS? How would you check for overdispersion, and how do you interpret exponentiated coefficients?

Hints

Hint 1

In the interaction model, the coefficient on the main effect alone describes only the reference group (new_user = 0). Add the interaction coefficient to get the other group's effect.

Hint 2

In a logit, the interaction coefficient is a ratio of odds ratios, and it does not equal the interaction effect on the probability scale. Compute the probability-scale effect as a difference of differences of predicted probabilities.

Hint 3

Ask whether watch_time_day1 is measured after treatment starts. If treatment changes it, it is a mediator, and adjusting for it changes what the treatment coefficient means. Also, with one row per user you cannot include user fixed effects without reshaping to a user-day panel.