September 16th, 2005, 8:18 pm
Andrew,I agreed with points (1) and (2). But in your implementation, you fetch the P_star inside the k-loop, and after you update the probability and the mean, P_star changed also. Should P_star refers to the probability for each bucket k, before we add the new name? For j = 0 To (nAssets - 1) DefProb = Range("defaultProbs").Offset(j + 1, timeStep + 1).Value Lj = Range("Notional").Offset(j + 1, 0).Value * (1# - recovery) ALPHAj = CondDefProb(M, T, DefProb, corr) For i = 0 To (nBuckets - 1) P_prev(i) = P(i) A_prev(i) = A(i) Next i For k = 0 To (nBuckets - 1) UK = FindUK(A_prev(k) + Lj, k, Upper, Lower) Pstar = P_prev(k) PUKstar = P_prev(UK) Astar = A_prev(k) AUKstar = A_prev(UK) .....JenQuoteOriginally posted by: aharvey8Jennifer,I don't think that's correct. Re-reading pages 27 and 28 of the paper, there is one of two things he could have meant.1) The "Probability Shift" happens each time you add an asset.2) "Probability Shift" happens K times for for each of your assets.I tend to believe it's the later. In other words, P* and A*, refer to the P and A vectors as they stand when considering the kth bucket. If I do (1) above, I get some very strange results.I'm thinking that perhaps I just have the buckets to large, especially for the more senior notes, where my buckets are several times as large as for the equity.Does anyone have a feel for approx. how many buckets you will need in order to get accurate results? Perhaps 1000 is not nearly enough?Andrew