Sample cost benefit analysis