A generalized framework for estimating customer lifetime value when customer lifetimes are not observed