How behavior influences the economy