linear vs log-linear

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

linear vs log-linear

gigifaye29
Hello,

I have a question on these two interpolation methods provided in QuantLib : Linear and Log-linear

How are these two different?   I wrote some own some codes with a linear method to bootstrap a zero curve, and the results seemed to be the same as what I got using the QuantLib Log-linear as the interpolator....

Your help would be appreciated,
Xin
Reply | Threaded
Open this post in threaded view
|

Re: linear vs log-linear

Ferdinando M. Ametrano-3
Hi Xin

>  I have a question on these two interpolation methods provided in QuantLib :
>  Linear and Log-linear
>  How are these two different?

Linear interpolation interpolates linearly between the {f_i} values of
a function f defined at {x_i}.
Log-Linear interpolation interpolates linearly between the {log(f_i)}
values of a function f defined at {x_i}.

>  I wrote some own some codes with a linear
>  method to bootstrap a zero curve, and the results seemed to be the same as
>  what I got using the QuantLib Log-linear as the interpolator....
I doubt this can be the case... the results are probably not
dramatically different, but they must be numerically different

ciao -- Nando

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users