TrinomialTree::descendant Usage

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

TrinomialTree::descendant Usage

Smith, Dale (Norcross)

Hello,

 

I’ve looked at the implementation of TrinomialTree and have a question about TrinomialTree::descendant. I’m assuming the tree looks like the enclosed. I filled in the value of descendent(I,j,branch) (branch = 0, 1, or 2).

 

trinomial-tree.png

What does descendent mean in this case? I did read the code, made a copy of it and put in some print statements to see what’s happening. I’m not able to determine how descendant is used. I’ve also looked at TreeLattice<Impl>::stepback. In this method, descendant would be the index into values, which I assume holds prices of the instrument valued. However, this doesn’t give much light for me.

 

My goal is to implement a Hull-White tree with the discrete alpha calculation, instead of the continuous-time implementation in the HullWhite class. HullWhite gives values close to those of the example in their 1994 paper, but it’s not quite the same.

 

Thanks,

Dale Smith, Ph.D.

Senior Financial Quantitative Analyst

Risk & Compliance

Fiserv.

107 Technology Park

Norcross, GA 30092

Office: 678-375-5315

Mobile: 678-982-6599

Mail: [hidden email]

www.fiserv.com

 


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users