The risk weight is calculated by the functional formula given by the Basel Committee in the New Basel Capital Accord. The risk weight function is determined according to the nature of different businesses of banks, so different risk exposure categories have different risk weight functions, among which risk variables include credit risk factors such as default probability (PD), loss given default (LGD) and term (M).