~/talk

Survival Analysis of Customer Retention using Postgres, SQL and R

Talkat PostgresOpen 2014 · 2014-09-17..09-19· [databases, data-visualization]
links:none on file
slides:none on file

Shows a working pipeline that computes the Kaplan-Meier estimator from event rows using Postgres SQL and R via the plr extension, handles censored observations correctly, and exposes results to dashboards. Finds a stark segmentation example — AdWords vs Facebook retention — where AdWords cohort stays while Facebook cohorts churn. Explains that an optimized SQL version outperforms the initial R approach, and warns about installing R packages on DB servers, memory use, and crash surface.

AI-written summary · about

  1. 0:00Start
  2. 1:07What Is Retention Analysis
  3. 4:11Cohort Analysis
  4. 12:45Filtered Aggregates
  5. 14:01Compute the Relative Retention
  6. 29:32Periscope
  7. 30:09Custom Dimensions
  8. 37:55Stability Guarantees
  9. 39:35General Tips
  10. 40:24Working with Sparse Data Sets
  11. 41:02Date Range Types
  12. 42:05Constraints and Exclusion Constraints
  13. 44:57Kaplan-Meier Curves
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.