Analyzing return on investment (ROI)