Credit and risk analysis by banks