PricingTermStructure icon indicating copy to clipboard operation
PricingTermStructure copied to clipboard

Pricing the Term Structure with Linear Regressions

Results 2 PricingTermStructure issues
Sort by recently updated
recently updated
newest added

Hi; The fitted yield is quite good , have a question about this code snippet for i in range(0, n_maturities - 1): A[0, i+1] = A[0, i] + B[:, i].T...

I have written a code in R and the yields fit very nicely. Once I set the lambda parameters to zero, recalculate As and Bs with recursion and calculate the...