The Foundations of Behavioral Economic Analysis