Data Science, Machine Learning, Tech, Artificial Intelligence, Economics.
retention. Let’s denote the treatment (vs. control) bucketing with a binary Z, leaving a review as X and retaining beyond 30 days as Y. We estimate the effect of (instrumented) X on Y, where X is instrumented for with Z. In R, we can simply use the AER package and the ivreg command: library(AER)