Analyzing the odds: How casinos maintain profitability