<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Quantitative Finance Collector]]></title> 
<link>http://www.mathfinance.cn</link> 
<description><![CDATA[Quantitative Finance Collector is a blog on Quantitative finance codes, methods in math finance focusing on derivative pricing, quantitative trading and quantitative risk management.]]></description> 
<language>en-US</language> 
<copyright><![CDATA[Quantitative Finance Collector]]></copyright>
<item>
<link>http://www.mathfinance.cn/barrier-option-pricing-using-adjusted-transition-probabilities/</link>
<title><![CDATA[Barrier Option Pricing Using Adjusted Transition Probabilities]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Mon, 05 Apr 2010 21:08:51 +0000</pubDate> 
<guid>http://www.mathfinance.cn/barrier-option-pricing-using-adjusted-transition-probabilities/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/barrier-option-pricing-using-adjusted-transition-probabilities/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/barrier-option-pricing-using-adjusted-transition-probabilities/" height="61" width="51" /></a>
One big issue of pricing barrier option with <a href="http://www.mathfinance.cn/nine-ways-implement-binomial-tree-option-pricing/" target="_blank">Binomial tree</a> or other lattice method is its slow convergence rate, the barrier option value converges very slowly as the number of tree or lattice levels increase, often requiring unattainably large computing times for even a modest accuracy. A typical plot of barrier option binomial tree results against its analytic value looks like<br/><a href="http://www.mathfinance.cn/attachment.php?fid=79" target="_blank"><img src="http://www.mathfinance.cn/attachment.php?fid=79" class="insertimage" alt="Open in new window" title="Open in new window" border="0" width="500"/></a><br/><em>source from paper Enhanced Numerical Methods for Options with Barriers</em><br/>where the pricing performance is in a sawtooth fashion, with severe periodic spikes that move away from the correct result, which is a nightmare for a researcher because adding more steps doesn't necessarily mean to yield a more accurate answer. <br/>The reason for this is that the barrier being used by the tree is generally different from the true barrier value, for example, as demonstrated below, no matter inner barrier or outer barrier is chosen in practice, calculated value will always be smaller or bigger than correct value, where true barrier shall be used.<br/><a href="http://www.mathfinance.cn/attachment.php?fid=80" target="_blank"><img src="http://www.mathfinance.cn/attachment.php?fid=80" class="insertimage" alt="Open in new window" title="Open in new window" border="0"/></a><br/><br/>John Hull presents three approaches for overcoming this problem, namely, positioning nodes on the barriers, adjusting for nodes not lying on barriers, and the adaptive mesh model. Interested readers please refer to chapter 20, from page 467 to 472, the 5th version, Options, futures and other derivatives. Or read another paper in detail "Enhanced Numerical Methods for Options with Barriers" by Emanuel Derman, etc downloadable at <a href="http://www.ederman.com/new/docs/gs-numerical_methods.pdf" target="_blank" rel="nofollow">http://www.ederman.com/new/docs/gs-numerical_methods.pdf</a>.<br/><br/>The way shared today is distinct from the three approaches, unlike traditional methods to ensure convergence through placing the barrier in close proximity to, or directly onto, the nodes of the tree lattice, this method applies a suitable transition probability adjustment, thereafter called <strong>Barrier Option Pricing Using Adjusted Transition Probabilities</strong>, which exhibits increased convergence to the analytical option price, <br/><a href="http://www.mathfinance.cn/attachment.php?fid=81" target="_blank"><img src="http://www.mathfinance.cn/attachment.php?fid=81" class="insertimage" alt="Open in new window" title="Open in new window" border="0" width="500"/></a><br/><em>source from paper Barrier Option Pricing Using Adjusted Transition Probabilities</em><br/><br/>Please read the paper for detail at <a href="http://papers.ssrn.com/sol3/papers.cfm?abstract_id=964623" target="_blank" rel="nofollow">http://papers.ssrn.com/sol3/papers.cfm?abstract_id=964623</a> and check the accompanying C++ codes at <a href="http://www.codeproject.com/KB/recipes/Zeppelin_Barrier_Options1.aspx" target="_blank" rel="nofollow">http://www.codeproject.com/KB/recipes/Zeppelin_Barrier_Options1.aspx</a><br/>Tags - <a href="http://www.mathfinance.cn/tags/barrier/" rel="tag">barrier</a> , <a href="http://www.mathfinance.cn/tags/option/" rel="tag">option</a> , <a href="http://www.mathfinance.cn/tags/binomial/" rel="tag">binomial</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/barrier-option-pricing-using-adjusted-transition-probabilities/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/meta-financial-function-library/</link>
<title><![CDATA[Meta Financial Functions Library]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Tue, 19 Jan 2010 11:00:56 +0000</pubDate> 
<guid>http://www.mathfinance.cn/meta-financial-function-library/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/meta-financial-function-library/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/meta-financial-function-library/" height="61" width="51" /></a>
<strong>Meta Financial Functions Library</strong> is a free library for option pricing written in C++, as of now, Meta Systems offers no commercial products, and the library is still under beta, as indicated by its author: "The Meta Financial Formula Library implements many commonly used functions as correctly as possible once and then provides wrapper functions and code to be able to reuse the implemenation from other tools and languages."<br/><br/>At the moment <strong>Meta Financial Functions Library</strong> covers a wide range of vanilla and exotic options, which can be obviously seen from the name of functions, for example, a list of functions includes black76, black76_put, black76_call, blackscholes, gbs, gcarry, AmericanExchangeOption, AssetOrNothing, BAWAmericanApprox, BSAmericanApprox, BinaryBarrier, CashOrNothing, ComplexChooser, DiscreteAdjustedBarrier, DoubleBarrier, EquityLinkedFXO, EuropeanExchangeOption, ExchangeExchangeOption, Executive, ExtendibleWriter, ExtremeSpreadOption, FixedStrikeLookback, FloatingStrikeLookback, ForEquOptInDomCur, ForwardStartOption, GapOption, GeometricAverageRateOption, JumpDiffusion, LevyAsian, LookBarrier, OptionsOnOptions, OptionsOnTheMaxMin, PartialFixedLB, PartialFloatLB, PartialTimeBarrier, PartialTimeTwoAssetBarrier, Quanto, RollGeskeWhaley, SimpleChooser, SoftBarrier, SpreadApproximation, StandardBarrier, SuperShare, SuperShare_inlined, Swapoption, TakeoverFXoption, TimeSwitchOption, TurnbullWakemanAsian, TwoAssetBarrier, TwoAssetCashOrNothing, TwoAssetCorrelation, VasicekBondPrice, VasicekBondOption...<br/><br/>, what a long list! you shall download the library at <a href="http://www.metasystems.no/" target="_blank" rel="nofollow">http://www.metasystems.no/</a>, which is free and the author makes the source code clean and publicly available, learning from others is always enjoying.<br/><br/>Tags - <a href="http://www.mathfinance.cn/tags/library/" rel="tag">library</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/meta-financial-function-library/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/</link>
<title><![CDATA[A Finite Element Differential Equations Analysis Library]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Fri, 15 Jan 2010 14:22:24 +0000</pubDate> 
<guid>http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/" height="61" width="51" /></a>
Attended a training of <a href="http://www.nag.co.uk/numeric/MB/start.asp" target="_blank" rel="nofollow">NAG Toolbox for MATLAB</a> today (NAG is short for Numerical Algorithms Group), nice presentation and persuasive performance against Matlab toolbox. I will soon get a licence and start to experience myself.<br/><br/>Anyway, I got to know two sites after the training, first one is <a href="http://www.dealii.org/" target="_blank" rel="nofollow">deal.II</a>, which is a <a href="http://www.mathfinance.cn/finite-element-pde/" target="_blank">finite element</a> differential equations analysis library aiming to enable rapid development of modern <strong>finite element</strong> codes, using among other aspects adaptive meshes and a wide array of tools classes often used in <strong>finite element</strong> program. As stated on its webpage: "deal.II is a C++ program library targeted at the computational solution of partial differential equations using <strong>adaptive finite elements</strong>. It uses state-of-the-art programming techniques to offer you a modern interface to the complex data structures and algorithms required." It should be very useful for those people playing often with PDE numerical solution.<br/><br/>The other site is <a href="http://www.walkingrandomly.com/" target="_blank" rel="nofollow">Walking randomly</a>, a blog where the author randomly collects things including mathematics, physics, vintage computing, Linux, pocket PCs, Android, music and programming. I am especially interested in its Matlab, R, NAG, and statistics categories.<br/><br/>Have a nice weekend.<br/><br/>Tags - <a href="http://www.mathfinance.cn/tags/nag/" rel="tag">nag</a> , <a href="http://www.mathfinance.cn/tags/finite-element/" rel="tag">finite-element</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/Cplusplus-for-numerical-computation/</link>
<title><![CDATA[C/C++ for Numerical Computation]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Tue, 08 Dec 2009 14:38:33 +0000</pubDate> 
<guid>http://www.mathfinance.cn/Cplusplus-for-numerical-computation/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/Cplusplus-for-numerical-computation/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/Cplusplus-for-numerical-computation/" height="61" width="51" /></a>
A large list of <strong>C/C++ Sources for Numerical Computation</strong>, as its' website introduces:<br/>This is a collection of pointers to:<br/><br/>* free source code available on the net,<br/>* books which come with source code, and hence act as low-cost libraries,<br/>* articles and documents, especially those available over the net. <br/><br/>Check it out if you happen to find it useful: <a href="http://cliodhna.cop.uop.edu/~hetrick/c-sources.html" target="_blank" rel="nofollow">http://cliodhna.cop.uop.edu/~hetrick/c-sources.html</a><br/>Tags - <a href="http://www.mathfinance.cn/tags/numerical/" rel="tag">numerical</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/Cplusplus-for-numerical-computation/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/sobol-sequence/</link>
<title><![CDATA[Sobol sequence generator]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Thu, 11 Jun 2009 20:02:37 +0000</pubDate> 
<guid>http://www.mathfinance.cn/sobol-sequence/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/sobol-sequence/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/sobol-sequence/" height="61" width="51" /></a>
<strong>Sobol sequence</strong> has been shared at posts <a href="http://www.mathfinance.cn/Sobol_Faure_sequences/" target="_blank">Sobol and Generalised Faure sequences</a>, <a href="http://www.mathfinance.cn/halton-sobol-sequences/" target="_blank">halton and sobol sequences</a>, and <a href="http://www.mathfinance.cn/primitive-polynomials-sobol-sequences/" target="_blank">Primitive polynomials for Sobol sequences</a>, respectively. Please read Low-discrepancy sequence at <a href="http://en.wikipedia.org/wiki/Sobol_sequence" target="_blank" rel="nofollow">Wikipedia </a>for introduction.<br/><br/>Here is another <strong>Sobol sequence generator</strong> containing the primitive polynomials and various sets of initial direction numbers for generating <strong>Sobol sequences</strong>. The reason I open a new post for it is it is able to support up to dimension 15000, incredible. Check it out at <a href="http://web.maths.unsw.edu.au/~fkuo/sobol/index.html" target="_blank" rel="nofollow">http://web.maths.unsw.edu.au/~fkuo/sobol/index.html</a>.<br/>Tags - <a href="http://www.mathfinance.cn/tags/sobol/" rel="tag">sobol</a> , <a href="http://www.mathfinance.cn/tags/monte_carlo/" rel="tag">monte carlo</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/sobol-sequence/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/ATOM-C-option-calculator/</link>
<title><![CDATA[ATOM C++ option calculator ]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Tue, 05 May 2009 16:01:30 +0000</pubDate> 
<guid>http://www.mathfinance.cn/ATOM-C-option-calculator/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/ATOM-C-option-calculator/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/ATOM-C-option-calculator/" height="61" width="51" /></a>
Another <a href="http://www.mathfinance.cn/online-derivative-calculator/" target="_blank">derivative calculator</a> shared with you, ATOM - Advanced Tool for Option Modelling is a <strong>C++ option calculator </strong>covers:<br/><br/>price,<a href="http://www.mathfinance.cn/black_scholes_implied_volatility/" target="_blank"> implied volatility </a>and <a href="http://www.mathfinance.cn/option-greeks/" target="_blank">Greek letters</a>; <br/><a href="http://www.mathfinance.cn/black_scholes_language/" target="_blank">Black-Scholes analytic formula</a>; <br/><a href="http://www.mathfinance.cn/tags/tree/1/" target="_blank">binomial tree lattice</a>; <br/>Cox-Ross-Rubinstein parametrisation; <br/>Jarrow-Rudd equal-probabilitiy parametrisation; <br/><a href="http://www.mathfinance.cn/asian-option-monte-carlo/" target="_blank">control variable technique</a>; <br/>Broadie-Detemple penultimate node analytic approximation; <br/><a href="http://www.mathfinance.cn/antithetic-sampling/" target="_blank">Monte carlo simulation with the following variance reduction </a>and normal sampling techniques: <br/>antithetic variable; <br/>moment matching, also known as quadratic re-sampling; <br/><a href="http://www.mathfinance.cn/Mersenne_Twister/" target="_blank">Mersenne Twister pseudo-random numbers</a>; <br/><a href="http://www.mathfinance.cn/halton-sobol-sequences/" target="_blank">Halton quasi-random numbers</a>; <br/>Box-Muller polar normal inversion; <br/><a href="http://www.mathfinance.cn/Moro_inverse_normal/" target="_blank">Moro normal inversion</a>; <br/>unlimited maximum number of steps in binomial trees and unlimited maximum number of trials and time intervals in Monte carlo simulations; <br/>exotic option support: <a href="http://www.mathfinance.cn/Asian_Option_Pricing/" target="_blank">Asian average price</a>, <a href="http://www.mathfinance.cn/binary-option-calculator-on-gphone/" target="_blank">binary cash-or-nothing and asset-or-nothing</a>, <a href="http://www.mathfinance.cn/Monte_Carlo_Chooser_Option/" target="_blank">chooser option</a>; <br/><br/>Download at <a href="http://www.atomproject.org/download.shtml" target="_blank" rel="nofollow">http://www.atomproject.org/download.shtml</a><br/>Tags - <a href="http://www.mathfinance.cn/tags/calculator/" rel="tag">calculator</a> , <a href="http://www.mathfinance.cn/tags/option/" rel="tag">option</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/ATOM-C-option-calculator/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/LAPACK-High-Performance-Linear-Algebra/</link>
<title><![CDATA[LAPACK++: High Performance Linear Algebra]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Sun, 26 Apr 2009 23:28:17 +0000</pubDate> 
<guid>http://www.mathfinance.cn/LAPACK-High-Performance-Linear-Algebra/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/LAPACK-High-Performance-Linear-Algebra/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/LAPACK-High-Performance-Linear-Algebra/" height="61" width="51" /></a>
<strong>LAPACK++</strong>: A Design Overview of Object-Oriented Extensions for High Performance Linear Algebra. <strong>LAPACK++ (Linear Algebra PACKage in C++)</strong> is a software library for numerical linear algebra that solves systems of linear equations and eigenvalue problems on high performance computer architectures.<br/><br/>Computational support is provided for supports various matrix classes for vectors, non-symmetric matrices, SPD matrices, symmetric matrices, banded, triangular, and tridiagonal matrices; however, it does not include all of the capabilities of original f77 LAPACK. Emphasis is given to routines for solving linear systems consisting of non-symmetric matrices, symmetric positive definite systems, and solving <a href="http://www.mathfinance.cn/Levenberg-Marquardt-nonlinear-least-squares/" target="_blank">linear least-square</a> systems. <br/><br/>Download at <a href="http://math.nist.gov/lapack++/" target="_blank" rel="nofollow">http://math.nist.gov/lapack++/</a><br/>Tags - <a href="http://www.mathfinance.cn/tags/algebra/" rel="tag">algebra</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/LAPACK-High-Performance-Linear-Algebra/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/Kernel-principal-component-analysis/</link>
<title><![CDATA[Kernel principal component analysis]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Thu, 26 Mar 2009 15:54:40 +0000</pubDate> 
<guid>http://www.mathfinance.cn/Kernel-principal-component-analysis/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/Kernel-principal-component-analysis/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/Kernel-principal-component-analysis/" height="61" width="51" /></a>
EasyPCA is a small educational program intended to help to understand how the <a href="http://www.mathfinance.cn/principal-component-analysis/" target="_blank">Principal Component Analysis</a> (PCA) algorithm works. It has been coded in a very modular way in order to make it easy to understand the code.<br/><br/>PCA is a useful statistical technique that has found application in fields such as face recognition and image compression, and is a common technique for finding patterns in data of high dimension.<br/><br/>For more detail please check <a href="http://transp-or2.epfl.ch/pagesPerso/javierFiles/software.php" target="_blank" rel="nofollow">http://transp-or2.epfl.ch/pagesPerso/javierFiles/software.php</a><br/>Tags - <a href="http://www.mathfinance.cn/tags/pca/" rel="tag">pca</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/Kernel-principal-component-analysis/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/c-class-financial-source-code/</link>
<title><![CDATA[c++ for finance]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Wed, 11 Mar 2009 18:03:34 +0000</pubDate> 
<guid>http://www.mathfinance.cn/c-class-financial-source-code/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/c-class-financial-source-code/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/c-class-financial-source-code/" height="61" width="51" /></a>
A <strong>c++ class list for finance</strong>, specifically, a <a href="http://www.mathfinance.cn/online-derivative-calculator/" target="_blank"> derivative calculator</a> source code, is available, including:<br/><br/><a href="http://www.mathfinance.cn/Crank-Nicholson-american-option/" target="_blank">american_option_approximation</a>: uses the Black Scholes formulae for European options, to approximate the values of American options.<br/> <br/>american_option_fudge: approximates the value of American Options as the value of the corresponding European option, plus the addition of a fudge factor<br/><br/><a href="http://www.mathfinance.cn/avoid-oscillation-Binomial-tree/" target="_blank">binomial_option</a>: typical binomial tree to price option value<br/><br/>Bisection_Secant< functor, real > : This class is a child class of Bisection. The algorithm converges faster because it changes from the bisection to the secant algorithm /// on every other iteration&nbsp;&nbsp;<br/><br/>european_option_pair : <a href="http://www.mathfinance.cn/black_scholes_pricing/" target="_blank">Black Scholes option pricing formulae </a>for puts and calls&nbsp;&nbsp;<br/><br/>...<br/><br/>Click for more and downloading <a href="http://acumenconsultinginc.net/TechNotes/public_options/html/annotated.html" target="_blank" rel="nofollow">http://acumenconsultinginc.net/TechNotes/public_options/html/annotated.html</a><br/>Tags - <a href="http://www.mathfinance.cn/tags/option/" rel="tag">option</a> , <a href="http://www.mathfinance.cn/tags/c%252B%252B/" rel="tag">c++</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/c-class-financial-source-code/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/Matlab-cointegration/</link>
<title><![CDATA[Matlab implementation of cointegration tests]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Mon, 16 Feb 2009 18:26:28 +0000</pubDate> 
<guid>http://www.mathfinance.cn/Matlab-cointegration/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/Matlab-cointegration/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/Matlab-cointegration/" height="61" width="51" /></a>
Matlab of the paper "Implementing Pesaran-Shin-Smith"<br/><br/>This first year paper is based on Pesaran et al. (2000) who generalise the cointegration tests<br/>introduced by Johansen to include exogenous I(1) variables in a VECM model. It reiterates<br/>the proofs for their central test statistics and presents them in a less dense format: Following<br/>Pesaran et al. (2000), this paper focuses on the derivation of the corresponding cointegrating rank<br/>tests, by first introducing a VAR model, subsequently deriving the likelihood for the cointegration<br/>parameters and, finally, the test statistics and their asymptotic distributions. The final section<br/>introduces tests on whether the required exogeneity restrictions hold. In addition, this paper is<br/>concerned with implementing the mentioned test statistics in a Matlab routine.<br/><br/>Paper and Matlab code: <a href="http://www.zeugner.eu/arbeiten/tafel.php" target="_blank" rel="nofollow">http://www.zeugner.eu/arbeiten/tafel.php</a><br/>Tags - <a href="http://www.mathfinance.cn/tags/cointegration/" rel="tag">cointegration</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/Matlab-cointegration/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/Newmat-C-matrix-library/</link>
<title><![CDATA[Newmat C++ matrix library ]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Thu, 18 Dec 2008 21:16:14 +0000</pubDate> 
<guid>http://www.mathfinance.cn/Newmat-C-matrix-library/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/Newmat-C-matrix-library/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/Newmat-C-matrix-library/" height="61" width="51" /></a>
This C++ library is intended for scientists and engineers who need to manipulate a variety of types of matrices using standard <a href="http://www.mathfinance.cn/tags/matrix/" target="_blank">matrix operations</a>. Emphasis is on the kind of operations needed in <a href="http://www.mathfinance.cn/tags/statistics/" target="_blank">statistical calculations</a> such as least squares, linear equation solve and eigenvalues.<br/><br/>It supports matrix types: Matrix (rectangular matrix); UpperTriangularMatrix; LowerTriangularMatrix; DiagonalMatrix; SymmetricMatrix; BandMatrix; UpperBandMatrix; LowerBandMatrix; SymmetricBandMatrix; IdentityMatrix; RowVector; ColumnVector.<br/><br/>Only one element type (float or double) is supported.<br/><br/>The library includes the operations *, +, -, *=, +=, -=, Kronecker product, Schur product, concatenation, inverse, transpose, conversion between types, submatrix, determinant, <a href="http://www.mathfinance.cn/tags/cholesky/" target="_blank">Cholesky decomposition</a>, QR triangularisation, singular value decomposition, eigenvalues of a symmetric matrix, sorting, fast Fourier and trig. transforms, printing and an interface with Numerical Recipes in C. <br/><br/>Introduction and package downloading: <a href="http://www.robertnz.net/nm_intro.htm" target="_blank" rel="nofollow">http://www.robertnz.net/nm_intro.htm</a><br/><a href="http://www.robertnz.net/download.html" target="_blank" rel="nofollow">http://www.robertnz.net/download.html</a><br/>Tags - <a href="http://www.mathfinance.cn/tags/matrix/" rel="tag">matrix</a> , <a href="http://www.mathfinance.cn/tags/library/" rel="tag">library</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/Newmat-C-matrix-library/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/feedforward-neural-networks-estimation/</link>
<title><![CDATA[Feedforward Neural Networks and Lyapunov Exponents Estimation ]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Thu, 20 Nov 2008 20:35:44 +0000</pubDate> 
<guid>http://www.mathfinance.cn/feedforward-neural-networks-estimation/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/feedforward-neural-networks-estimation/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/feedforward-neural-networks-estimation/" height="61" width="51" /></a>
This program, NETLE.EXE, estimates feedforward neural network models and computes Lyapunov exponents (LE).&nbsp;&nbsp;Neural networks are estimated by the method of nonlinear least squares (NLS) (Kuan and Liu (1995)); Lyapunov exponents are calculated from the derivative matrices of estimated network models (Gencay and Dechert (1992)).&nbsp;&nbsp;Note that a positive Lyapunov exponent indicates that the underlying series is chaotic.<br/><br/>REFERENCES:<br/><br/>Kuan, Chung-Ming and Tung Liu (1995).&nbsp;&nbsp; "Forecasting exchange rates using feedforward and recurrent networks", Journal of Applied Econometrics, forthcoming.<br/><br/>Gencay, Ramazan and W. D. Dechert (1992).&nbsp;&nbsp; "An algorithm for the n Lyapunov exponents of an n-dimensional unknown dynamical system", Physica D, 59, 142-157. <br/><br/><a href="http://www.sfu.ca/~rgencay/lyap.html" target="_blank" rel="nofollow">http://www.sfu.ca/~rgencay/lyap.html</a><br/><br/><br/><br/>Tags - <a href="http://www.mathfinance.cn/tags/neural-network/" rel="tag">neural-network</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/feedforward-neural-networks-estimation/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/Levenberg-Marquardt-nonlinear-least-squares/</link>
<title><![CDATA[Levenberg-Marquardt nonlinear least squares algorithms]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Tue, 04 Nov 2008 21:17:18 +0000</pubDate> 
<guid>http://www.mathfinance.cn/Levenberg-Marquardt-nonlinear-least-squares/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/Levenberg-Marquardt-nonlinear-least-squares/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/Levenberg-Marquardt-nonlinear-least-squares/" height="61" width="51" /></a>
In mathematics and computing, the Levenberg–Marquardt algorithm (or LMA) provides a numerical solution to the problem of <a href="http://www.mathfinance.cn/tags/optimization/" target="_blank">minimizing a function</a>, generally nonlinear, over a space of parameters of the function. These minimization problems arise especially in least squares curve fitting and nonlinear programming.<br/><br/>The Levenberg-Marquardt algorithm has proved to be an effective and popular way to solve nonlinear least squares problems. MINPACK-1 contains Levenberg-Marquardt codes in which the Jacobian matrix may be either supplied by the user or calculated by using finite differences. IMSL , MATLAB , ODRPACK , and PROC NLP also contain Levenberg-Marquardt routines.<br/><br/>The algorithms in ODRPACK solve unconstrained nonlinear least squares problems and orthogonal distance regression problems, including those with implicit models and multiresponse data.<br/><br/>For detail about Levenberg-Marquardt nonlinear least squares algorithms introduction and code pls click <a href="http://www.ics.forth.gr/~lourakis/levmar/" target="_blank" rel="nofollow">http://www.ics.forth.gr/~lourakis/levmar/</a><br/>Tags - <a href="http://www.mathfinance.cn/tags/levenberg-marquardt/" rel="tag">levenberg-marquardt</a> , <a href="http://www.mathfinance.cn/tags/optimization/" rel="tag">optimization</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/Levenberg-Marquardt-nonlinear-least-squares/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/singular-value-decomposition/</link>
<title><![CDATA[Singular Value Decomposition]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Tue, 21 Oct 2008 20:53:13 +0000</pubDate> 
<guid>http://www.mathfinance.cn/singular-value-decomposition/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/singular-value-decomposition/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/singular-value-decomposition/" height="61" width="51" /></a>
In linear algebra, the singular value decomposition (SVD) is an important factorization of a rectangular real or complex matrix, with several applications in signal processing and statistics. Applications which employ the SVD include computing the pseudoinverse, least squares fitting of data, matrix approximation, and determining the rank, range and null space of a matrix.<br/><br/>Singular Value Decomposition to solve ill conditioned square matrices.&nbsp;&nbsp;<br/><br/>Excel, C++ Add-in and Demo Spreadsheet with application manual and on-line help are at <a href="http://www.financial-risk-manager.com/risks/analytics/multivar/an_mv_t.html#svd" target="_blank" rel="nofollow">http://www.financial-risk-manager.com/risks/analytics/multivar/an_mv_t.html#svd</a><br/><br/>wiki(Singular value decomposition)<br/>Tags - <a href="http://www.mathfinance.cn/tags/svd/" rel="tag">svd</a> , <a href="http://www.mathfinance.cn/tags/matrix/" rel="tag">matrix</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/singular-value-decomposition/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item><item>
<link>http://www.mathfinance.cn/multi-dimensional-numerical-integration/</link>
<title><![CDATA[Multidimensional numerical integration]]></title> 
<author>abiao  </author>
<category><![CDATA[C++]]></category>
<pubDate>Tue, 14 Oct 2008 19:59:30 +0000</pubDate> 
<guid>http://www.mathfinance.cn/multi-dimensional-numerical-integration/</guid> 
<description>
<![CDATA[<a href="http://api.tweetmeme.com/share?url=http://www.mathfinance.cn/multi-dimensional-numerical-integration/"><img align="left" src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.mathfinance.cn/multi-dimensional-numerical-integration/" height="61" width="51" /></a>
Most derivative pricing problems have finally come to solve integration numerically, by Simpson, Monte Carlo simulation, etc., however, multi-dimensional integration is time-consuming and prone to error, here I share a Cuba library which offers a choice of four independent routines for multidimensional numerical integration: Vegas, Suave, Divonne, and Cuhre. <br/><div class="quote"><div class="quote-title">Quotation</div><div class="quote-content">Vegas is the simplest of the four. It uses importance sampling for <a href="http://www.mathfinance.cn/antithetic-sampling/" target="_blank">variance reduction</a>, but is only in some cases competitive in terms of the number of samples needed to reach a prescribed accuracy. Nevertheless, it has a few improvements over the original algorithm and comes in handy for cross-checking the results of other methods.<br/><br/>Suave is a new algorithm which combines the advantages of two popular methods: importance sampling as done by Vegas and subregion sampling in a manner similar to Miser. By dividing into subregions, Suave manages to a certain extent to get around Vegas' difficulty to adapt its weight function to structures not aligned with the coordinate axes.<br/><br/>Divonne is a further development of the CERNLIB routine D151. Divonne works by stratified sampling, where the partitioning of the integration region is aided by methods from numerical optimization. A number of improvements have been added to this algorithm, the most significant being the possibility to supply knowledge about the integrand. Narrow peaks in particular are difficult to find without sampling very many points, especially in high dimensions. Often the exact or approximate location of such peaks is known from analytic considerations, however, and with such hints the desired accuracy can be reached with far fewer points.<br/><br/>Cuhre employs a cubature rule for subregion estimation in a globally adaptive subdivision scheme. It is hence a deterministic, not a Monte Carlo method. In each iteration, the subregion with the largest error is halved along the axis where the integrand has the largest fourth difference. Cuhre is quite powerful in moderate dimensions, and is usually the only viable method to obtain high precision, say relative accuracies much below 1e-3.</div></div><br/><a href="http://www.feynarts.de/cuba/" target="_blank" rel="nofollow">http://www.feynarts.de/cuba/</a><br/><br/>Tags - <a href="http://www.mathfinance.cn/tags/integration/" rel="tag">integration</a><br/>
...<br/><br/>
<a href=http://www.mathfinance.cn/multi-dimensional-numerical-integration/>reading the full post...</a>
<br /><br />
<b>You may also interested into other posts:</b>
<br /><br />
<ul><li><a href='http://www.mathfinance.cn/matlab-optimization-introduction/' target='_blank'>Matlab optimization introduction</a></li><li><a href='http://www.mathfinance.cn/Moro_inverse_normal/' target='_blank'>Beasley-Springer-Moro inverse normal</a></li><li><a href='http://www.mathfinance.cn/all-quant-code/' target='_blank'>Top Quant codes collection you shouldn&#...</a></li><li><a href='http://www.mathfinance.cn/computational-finance-virtual-conference/' target='_blank'>Computational Finance Virtual Conference</a></li><li><a href='http://www.mathfinance.cn/finite-element-differential-equation-analysis-library/' target='_blank'>A Finite Element Differential Equations ...</a></li></ul>]]>
</description>
</item>
</channel>
</rss>