A general model that estimates credit losses arising from deterioration and DEFAULT in creditrisky PORTFOLIOS. Since the model examines portfolio losses, the analytics rely on default CORRELATION estimates between COUNTERPARTIES in the portfolio. A credit portfolio model can be used as a RISK MANAGEMENT , business management , portfolio optimization , and CAPITAL ALLOCATION tool.