Chaos in a Model of Credit Cycles with Good and Bad Projects