Business Management Through Customer Lifetime Value

A company's customer base can be thought of as a collection of stochastic future cash flows, not unlike a portfolio of securities. Managers then evaluate the effects of business decisions against expected changes in the present value of customers' cash flows. This is customer lifetime value analysis.


The figure above shows the event histories of a random sample of newspaper customers. Yellow marks a period of rebate subscription, while green marks a full price subscription. Red denotes a period of no subscriptions - the customer has churned. Read more in "Analyzing Customer Lifetime Value Using Tree Ensembles" (link).

Analysis based on the customer lifetime value concept must typically account for two main aspects of customer behavior: The lifetime of a customer and the monetary value generated while active.

Given a set of customer attributes, such as demographic data and past transactions, a model of customer lifetime value can be created. The model seeks to relate customer attributes to lifetime and value.

An example of a basic quantitative approach is to model value through a linear regression model, while lifetime is estimated based on, say, an exponential distribution.

A customer lifetime value model has several exciting applications.
  • Resource Prioritization. Sensible lifetime value estimates can serve as a basis for organizational resource prioritization: Customer service level design, marketing spending, sales force pay and so on.
  • Novelty Detection. Detect and react to changes in the marketplace by monitoring the formation of new patterns in customer lifetime value. Are former valuable clients all of a sudden churning at higher rates? Are new groups of high value clients forming?
Businesses can differentiate valuable customers at an early point in customers' life cycle, monitor the customer base evolution and act on their data on a systematic basis. Such businesses stand to harvest great rewards.

God, Tax and AI

Today, while walking to a client meeting, I was approached by a man.

Man: Are you interested in talking about God and such?

Me: No, not really. I am more interested in making money.

Man: Is it not strange that the Large Hadron Collider recreates circumstances similar to those during the Big Bang, the creation of our universe. The Hadron Collider was built by intelligent people, then, why shouldn't there be intelligence behind the Big Bang?

Me: I am interested in artificial intelligence and hope to one day build a machine with an intelligence surpassing that of humans. However, I would not want the machine to care about its creator. I would want it to solve problems.

Man: Surely a machine would have no conscience, as man, as is witnessed by his enactment of the laws of society.

Me: Who says that man has conscience, that it is not an illusion? Anyway, I think a machine could be programmed to have conscience. ...And when I look at the tax legislation in this country, I really cannot see that as an expression of conscience.

Reinforcement Learning - Tic Tac Toe

Based on Sutton and Barto's "Reinforcement Learning", I did a simple python implementation of tic tac toe.

The algorithm has no knowledge of tic tac toe, except it knows when it has won or lost. By playing against you and itself it gradually learns how to play well.

This particular implementation does not take "exploratory" steps, but it would be simple to implement.

Python code

Information Diet

Reddit, digg and slashdot, New York Times, Financial Times, Wired, Facebook - you are all quarantined for one week. You take up too much of my non-work time.

Python Particle Simulation

Here is how to do a basic particle simulation in Python using PyGame.

The movie below shows a basic 2d particle simulation emulating particles that are attracted to each other, while simultaneously avoiding getting too close to each other.




See the Python source code.

Running on a Mac with Python 2.5? Install pygame and pyobjc from http://rene.f0o.com/~rene/stuff/macosx/. OS X 10.4 versions also work in OS X 10.5.