Return more info from American Montecarlo

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

Return more info from American Montecarlo

andrea-110
Hi,

I would like to return more information from a run of the LS American Montecarlo.
For instance, the probability of exercise at each exercise time.

This information is generated inside

    template <class PathType> inline
    Real LongstaffSchwartzPathPricer<PathType>::operator()
        (const PathType& path) const {


What I could do is to change the ValueType template argument of the PathPricer (default to Real) and
make it a more complicated structure.

Is there an example of something similar?


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Return more info from American Montecarlo

Luigi Ballabio
On Mon, 2010-03-15 at 12:27 +0000, Andrea wrote:

> I would like to return more information from a run of the LS American
> Montecarlo. For instance, the probability of exercise at each exercise
> time.
>
> [...]
>
> What I could do is to change the ValueType template argument of the
> PathPricer (default to Real) and make it a more complicated structure.
>
> Is there an example of something similar?

No, I'm afraid not.

Luigi


--

Do the right thing. It will gratify some people and astonish the rest.
-- Mark Twain



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev