SlideShare une entreprise Scribd logo
1  sur  22
Télécharger pour lire hors ligne
Numerical Excellence in Finance


                                                     John Holden
                                  Banking on Monte Carlo and GPUs
                                                     Paris, FRANCE
                                                 28th January 2010




Experts in numerical algorithms
and HPC services
Agenda




 NAG – An Introduction
 NAG – Numerical Libraries




                Numerical Excellence in Finance – January 2010   2
Introduction to NAG
 Founded in 1970 as a co-operative project in UK
 Operates as a commercial, not-for-profit organization
 Worldwide operations
        Oxford & Manchester, UK
        Chicago, US
        Tokyo, Japan
        Taipei, Taiwan
 Over 3,000 customer sites worldwide
 Staff of ~100, over 50% technical, over 25 PhDs
 £7m+ financial turnover



 January 10              Numerical Excellence in Finance – January 2010   3
Portfolio
 Numerical Libraries
      Highly flexible for use in many computing languages, programming
       environments, hardware platforms and for high performance
       computing methods

 Connector Products for Excel, MATLAB and Maple and
      Giving users of the Excel and mathematical software packages
       MATLAB and Maple access to NAG’s library of highly optimized and
       often superior numerical routines and allowing easy integration

 NAG Fortran Compiler and GUI based Windows
 Compiler: Fortran Builder
 Visualization and graphics software
      Build data visualization applications with NAG’s IRIS Explorer

 Consultancy services
                         Numerical Excellence in Finance – January 2010   4
Why bother?
 Numerical computation is difficult to do accurately
 Problems of
      Overflow / underflow
           How does the computation behave for large / small numbers?
      Condition
           How is it affected by small changes in the input?
      Stability
           How sensitive is the computation to rounding errors?
 Importance of
      error analysis
      information about error bounds on solution


                          Numerical Excellence in Finance – January 2010   5
NAG development philosophy

 First priority: accuracy
 Second priority: performance
     How fast do you want the wrong answer?
 Algorithms chosen for
     usefulness
     robustness
     accuracy
     stability
     speed



                   Numerical Excellence in Finance – January 2010   6
Why Use NAG Maths Libraries?
 Global reputation for quality – accuracy,
    reliability and robustness…
   Extensively tested, supported and maintained
    code
   Reduce development time
   Concentrate on your key areas
   Components
       Fit into your environment
       Simple interfaces to your favourite packages
 Regular performance improvements!


                      Numerical Excellence in Finance – January 2010   7
NAG Library and Toolbox Contents
 NAG provides high-level maths and stats components
      Nonlinear equation solvers
      Summation of series and transformations, FFTs
      Quadrature
      ODEs, PDEs and integral equations
      Approximation and curve and surface fitting
      Optimization and operations research
      Dense linear algebra, including LAPACK
      Sparse linear systems and eigenproblems
      Special functions
      Random Number Generators
      ...



                      Numerical Excellence in Finance – January 2010   8
Use of NAG Software in Finance
 Portfolio analysis / Index tracking / Risk management
      Optimisation, linear algebra, copulas…
 Derivative pricing
      PDEs, RNGs, multivariate normal, …
 Fixed Income/ Asset management / Portfolio
  Immunization
      Operations research
 Data analysis
      Time series, GARCH, principal component analysis, data smoothing,
       …
 Monte Carlo simulation
      RNGs
 ……

                       Numerical Excellence in Finance – January 2010      9
Don’t take our word for it….
Financial Maths Professors speed up their optimization




                 Numerical Excellence in Finance – January 2010   10
Don’t take our word for it…...
Senior Quant @ Tier 1 bank
 “concerning the ‘nearest correlation’ algo.
 I have to say, it is very fast, it uses all the power
 of my pc and the result is very satisfactory.”

www.walkingrandomly.com
“I really like the NAG toolbox for MATLAB for the
 following reasons (among others):
 It can speed up MATLAB calculations – see my
 article on MATLAB's interp1 function for
 example, and it has some functionality that can't
 currently be found in MATLAB.”
                 Numerical Excellence in Finance – January 2010   11
                                                                       11
NAG Libraries Ease of Integration
   C++ (various)                        Excel
   C# / .NET                            MATLAB
   CUDA                                        SciLab, Octave
   Visual Basic                           Mathematica
   Java                                   Maple
   Borland Delphi                         PowerBuilder
   Python                                 R and S-Plus
   F#                                     SAS
   …                                      …
   and more                               …
                                            and more



                     Numerical Excellence in Finance – January 2010   12
NAG and Excel..
 Our libraries are
  easily accessible
  from Excel
      Calling DLLs using VBA
      NAG provide VB
       Declaration
       Statements and
       Examples




                        Numerical Excellence in Finance – January 2010   13
NAG and .NET
NAG solutions for .NET
1. Call NAG C (or Fortran) DLL from C#

2. NAG Library for .NET (beta)
  “a more natural solution”
    DLL with C# wrappers
    Integrated help
3. NAG Library for .NET (Work-in-Progress)
     as above pure C# functions



                   Numerical Excellence in Finance – January 2010   14
NAG Toolbox for MATLAB

 Contains essentially all NAG functionality
     not a subset
 Currently runs under Windows (32/64bit) or
  Linux (32/64-bit).
 Installed under the usual MATLAB toolbox
  directory
 Can be used with MATLAB compiler




                     Numerical Excellence in Finance – January 2010   15
Case study – e04uc vs fmincon
A problem from a customer from a European
 bank.
The problem involves 48 variables and has 9
 linear constraints. (No nonlinear constraints.)
No derivatives supplied.

fmincon required 1890 evaluations of the
 objective function and tool 87.6 seconds

e04uc required only 1129 evaluations and took
 49.4 seconds

                Numerical Excellence in Finance – January 2010   16
Subset of Eigenvalues and Eigenvectors
Speedup




 Sunday, 31 January 2010   Numerical Excellence in Finance – January 2010
                                  NAG Toolbox for MATLAB                    17
                                                                                 17
Best Advice – Use the Decision Trees




         Numerical Excellence in Finance – January 2010   18
NAG Library and Toolbox – recent additions
 Global optimization                More Copulas
 ANOVA – Analysis of                Extreme Value Theory
  Variance                            Statistics
 Nearest Correlation Matrix         Fast quantile selection
                                      routine
 Partial Least Squares              Wavelets
  Regression Analysis
                                     Adoption of LAPACK 3.1
 Prediction intervals for           New RNGs
  fitted models                           Scrambled Seq for QMC
 Option Pricing                          Mersenne Twister

                                          Sobol Sequence generator
 Generalised Mixed Effect                 (50,000 dimensions)
  Regression


                  Numerical Excellence in Finance – January 2010   19
                                                                        19
Other NAG software
 NAG’s High Performance libraries
     NAG SMP Library (for multi/many core/processor)
     NAG Parallel Library (for clusters architectures - MPI)
 NAG Fortran Compiler
     Windows version with GUI & Debugger
     Automatic Differentiation (AD) enabled
          In collaboration with RWTH Aachen University
 Routines for SIMD architectures (GPUs etc)
     Early successes with Monte Carlo components on NVIDIA
      hardware
          In collaboration with Professor Mike Giles


                      Numerical Excellence in Finance – January 2010   20
Summary
 NAG for Quality, World-leading Numerical
  Software Components
     accurate, reliable, robust
     extensively tested, supported and maintained code
     updated for new architectures and new algorithms




                    Numerical Excellence in Finance – January 2010   21
NAG Key Contacts
www.nag.com

Technical Support and Help
  support@nag.co.uk

Sales in France
  francois.cassier@nag.com
  Direct Dial +33 6 87 88 12 94

NAGNews http://www.nag.co.uk/NAGNews/Index.asp




                   Numerical Excellence in Finance – January 2010   22

Contenu connexe

Similaire à Numerical Excellence In Finance N A G Jan2010

“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...
“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...
“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...Edge AI and Vision Alliance
 
7358 mathcad chart ts_en
7358 mathcad chart ts_en7358 mathcad chart ts_en
7358 mathcad chart ts_enNithyanadham KV
 
SUSE Expert Days 2017 LENOVO
SUSE Expert Days 2017 LENOVOSUSE Expert Days 2017 LENOVO
SUSE Expert Days 2017 LENOVOSUSE España
 
NAG Presentation to Eduserv Maths and Stats Software Dec2014
NAG Presentation to Eduserv Maths and Stats Software Dec2014NAG Presentation to Eduserv Maths and Stats Software Dec2014
NAG Presentation to Eduserv Maths and Stats Software Dec2014Eduserv
 
SQL Anywhere and the Internet of Things
SQL Anywhere and the Internet of ThingsSQL Anywhere and the Internet of Things
SQL Anywhere and the Internet of ThingsSAP Technology
 
Production ready big ml workflows from zero to hero daniel marcous @ waze
Production ready big ml workflows from zero to hero daniel marcous @ wazeProduction ready big ml workflows from zero to hero daniel marcous @ waze
Production ready big ml workflows from zero to hero daniel marcous @ wazeIdo Shilon
 
Session 1 - The Current Landscape of Big Data Benchmarks
Session 1 - The Current Landscape of Big Data BenchmarksSession 1 - The Current Landscape of Big Data Benchmarks
Session 1 - The Current Landscape of Big Data BenchmarksDataBench
 
Basic of python for data analysis
Basic of python for data analysisBasic of python for data analysis
Basic of python for data analysisPramod Toraskar
 
Labview1_ Computer Applications in Control_ACRRL
Labview1_ Computer Applications in Control_ACRRLLabview1_ Computer Applications in Control_ACRRL
Labview1_ Computer Applications in Control_ACRRLMohammad Sabouri
 
The Rise of Engineering-Driven Analytics by Loren Shure
The Rise of Engineering-Driven Analytics by Loren ShureThe Rise of Engineering-Driven Analytics by Loren Shure
The Rise of Engineering-Driven Analytics by Loren ShureBig Data Spain
 
Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
 Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F... Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...Databricks
 
Joker'14 Java as a fundamental working tool of the Data Scientist
Joker'14 Java as a fundamental working tool of the Data ScientistJoker'14 Java as a fundamental working tool of the Data Scientist
Joker'14 Java as a fundamental working tool of the Data ScientistAlexey Zinoviev
 
Differences of Deep Learning Frameworks
Differences of Deep Learning FrameworksDifferences of Deep Learning Frameworks
Differences of Deep Learning FrameworksSeiya Tokui
 
How to Improve Data Labels and Feedback Loops Through High-Frequency Sensor A...
How to Improve Data Labels and Feedback Loops Through High-Frequency Sensor A...How to Improve Data Labels and Feedback Loops Through High-Frequency Sensor A...
How to Improve Data Labels and Feedback Loops Through High-Frequency Sensor A...InfluxData
 
Business Intelligence Open Source
Business Intelligence Open SourceBusiness Intelligence Open Source
Business Intelligence Open SourceRoberto Marchetto
 
Demantra Case Study Doug
Demantra Case Study DougDemantra Case Study Doug
Demantra Case Study Dougsichie
 
Improving Business Performance Through Big Data Benchmarking, Todor Ivanov, B...
Improving Business Performance Through Big Data Benchmarking, Todor Ivanov, B...Improving Business Performance Through Big Data Benchmarking, Todor Ivanov, B...
Improving Business Performance Through Big Data Benchmarking, Todor Ivanov, B...DataBench
 
Building a Utilities Portal with Magnolia 5 & SAP
Building a Utilities Portal with Magnolia 5 & SAPBuilding a Utilities Portal with Magnolia 5 & SAP
Building a Utilities Portal with Magnolia 5 & SAPMagnolia
 

Similaire à Numerical Excellence In Finance N A G Jan2010 (20)

“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...
“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...
“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...
 
Insync10 anthony spierings
Insync10 anthony spieringsInsync10 anthony spierings
Insync10 anthony spierings
 
7358 mathcad chart ts_en
7358 mathcad chart ts_en7358 mathcad chart ts_en
7358 mathcad chart ts_en
 
SUSE Expert Days 2017 LENOVO
SUSE Expert Days 2017 LENOVOSUSE Expert Days 2017 LENOVO
SUSE Expert Days 2017 LENOVO
 
NAG Presentation to Eduserv Maths and Stats Software Dec2014
NAG Presentation to Eduserv Maths and Stats Software Dec2014NAG Presentation to Eduserv Maths and Stats Software Dec2014
NAG Presentation to Eduserv Maths and Stats Software Dec2014
 
SQL Anywhere and the Internet of Things
SQL Anywhere and the Internet of ThingsSQL Anywhere and the Internet of Things
SQL Anywhere and the Internet of Things
 
Production ready big ml workflows from zero to hero daniel marcous @ waze
Production ready big ml workflows from zero to hero daniel marcous @ wazeProduction ready big ml workflows from zero to hero daniel marcous @ waze
Production ready big ml workflows from zero to hero daniel marcous @ waze
 
Session 1 - The Current Landscape of Big Data Benchmarks
Session 1 - The Current Landscape of Big Data BenchmarksSession 1 - The Current Landscape of Big Data Benchmarks
Session 1 - The Current Landscape of Big Data Benchmarks
 
Basic of python for data analysis
Basic of python for data analysisBasic of python for data analysis
Basic of python for data analysis
 
Labview1_ Computer Applications in Control_ACRRL
Labview1_ Computer Applications in Control_ACRRLLabview1_ Computer Applications in Control_ACRRL
Labview1_ Computer Applications in Control_ACRRL
 
The Rise of Engineering-Driven Analytics by Loren Shure
The Rise of Engineering-Driven Analytics by Loren ShureThe Rise of Engineering-Driven Analytics by Loren Shure
The Rise of Engineering-Driven Analytics by Loren Shure
 
Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
 Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F... Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
 
Joker'14 Java as a fundamental working tool of the Data Scientist
Joker'14 Java as a fundamental working tool of the Data ScientistJoker'14 Java as a fundamental working tool of the Data Scientist
Joker'14 Java as a fundamental working tool of the Data Scientist
 
Differences of Deep Learning Frameworks
Differences of Deep Learning FrameworksDifferences of Deep Learning Frameworks
Differences of Deep Learning Frameworks
 
How to Improve Data Labels and Feedback Loops Through High-Frequency Sensor A...
How to Improve Data Labels and Feedback Loops Through High-Frequency Sensor A...How to Improve Data Labels and Feedback Loops Through High-Frequency Sensor A...
How to Improve Data Labels and Feedback Loops Through High-Frequency Sensor A...
 
Business Intelligence Open Source
Business Intelligence Open SourceBusiness Intelligence Open Source
Business Intelligence Open Source
 
Demantra Case Study Doug
Demantra Case Study DougDemantra Case Study Doug
Demantra Case Study Doug
 
Improving Business Performance Through Big Data Benchmarking, Todor Ivanov, B...
Improving Business Performance Through Big Data Benchmarking, Todor Ivanov, B...Improving Business Performance Through Big Data Benchmarking, Todor Ivanov, B...
Improving Business Performance Through Big Data Benchmarking, Todor Ivanov, B...
 
Sabyasachee_Kar_cv
Sabyasachee_Kar_cvSabyasachee_Kar_cv
Sabyasachee_Kar_cv
 
Building a Utilities Portal with Magnolia 5 & SAP
Building a Utilities Portal with Magnolia 5 & SAPBuilding a Utilities Portal with Magnolia 5 & SAP
Building a Utilities Portal with Magnolia 5 & SAP
 

Dernier

Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 

Dernier (20)

Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 

Numerical Excellence In Finance N A G Jan2010

  • 1. Numerical Excellence in Finance John Holden Banking on Monte Carlo and GPUs Paris, FRANCE 28th January 2010 Experts in numerical algorithms and HPC services
  • 2. Agenda  NAG – An Introduction  NAG – Numerical Libraries Numerical Excellence in Finance – January 2010 2
  • 3. Introduction to NAG  Founded in 1970 as a co-operative project in UK  Operates as a commercial, not-for-profit organization  Worldwide operations  Oxford & Manchester, UK  Chicago, US  Tokyo, Japan  Taipei, Taiwan  Over 3,000 customer sites worldwide  Staff of ~100, over 50% technical, over 25 PhDs  £7m+ financial turnover January 10 Numerical Excellence in Finance – January 2010 3
  • 4. Portfolio  Numerical Libraries  Highly flexible for use in many computing languages, programming environments, hardware platforms and for high performance computing methods  Connector Products for Excel, MATLAB and Maple and  Giving users of the Excel and mathematical software packages MATLAB and Maple access to NAG’s library of highly optimized and often superior numerical routines and allowing easy integration  NAG Fortran Compiler and GUI based Windows Compiler: Fortran Builder  Visualization and graphics software  Build data visualization applications with NAG’s IRIS Explorer  Consultancy services Numerical Excellence in Finance – January 2010 4
  • 5. Why bother?  Numerical computation is difficult to do accurately  Problems of  Overflow / underflow  How does the computation behave for large / small numbers?  Condition  How is it affected by small changes in the input?  Stability  How sensitive is the computation to rounding errors?  Importance of  error analysis  information about error bounds on solution Numerical Excellence in Finance – January 2010 5
  • 6. NAG development philosophy  First priority: accuracy  Second priority: performance  How fast do you want the wrong answer?  Algorithms chosen for  usefulness  robustness  accuracy  stability  speed Numerical Excellence in Finance – January 2010 6
  • 7. Why Use NAG Maths Libraries?  Global reputation for quality – accuracy, reliability and robustness…  Extensively tested, supported and maintained code  Reduce development time  Concentrate on your key areas  Components  Fit into your environment  Simple interfaces to your favourite packages  Regular performance improvements! Numerical Excellence in Finance – January 2010 7
  • 8. NAG Library and Toolbox Contents  NAG provides high-level maths and stats components  Nonlinear equation solvers  Summation of series and transformations, FFTs  Quadrature  ODEs, PDEs and integral equations  Approximation and curve and surface fitting  Optimization and operations research  Dense linear algebra, including LAPACK  Sparse linear systems and eigenproblems  Special functions  Random Number Generators  ... Numerical Excellence in Finance – January 2010 8
  • 9. Use of NAG Software in Finance  Portfolio analysis / Index tracking / Risk management  Optimisation, linear algebra, copulas…  Derivative pricing  PDEs, RNGs, multivariate normal, …  Fixed Income/ Asset management / Portfolio Immunization  Operations research  Data analysis  Time series, GARCH, principal component analysis, data smoothing, …  Monte Carlo simulation  RNGs  …… Numerical Excellence in Finance – January 2010 9
  • 10. Don’t take our word for it…. Financial Maths Professors speed up their optimization Numerical Excellence in Finance – January 2010 10
  • 11. Don’t take our word for it…... Senior Quant @ Tier 1 bank “concerning the ‘nearest correlation’ algo. I have to say, it is very fast, it uses all the power of my pc and the result is very satisfactory.” www.walkingrandomly.com “I really like the NAG toolbox for MATLAB for the following reasons (among others): It can speed up MATLAB calculations – see my article on MATLAB's interp1 function for example, and it has some functionality that can't currently be found in MATLAB.” Numerical Excellence in Finance – January 2010 11 11
  • 12. NAG Libraries Ease of Integration  C++ (various)  Excel  C# / .NET  MATLAB  CUDA  SciLab, Octave  Visual Basic  Mathematica  Java  Maple  Borland Delphi  PowerBuilder  Python  R and S-Plus  F#  SAS  …  …  and more  …  and more Numerical Excellence in Finance – January 2010 12
  • 13. NAG and Excel..  Our libraries are easily accessible from Excel  Calling DLLs using VBA  NAG provide VB Declaration Statements and Examples Numerical Excellence in Finance – January 2010 13
  • 14. NAG and .NET NAG solutions for .NET 1. Call NAG C (or Fortran) DLL from C# 2. NAG Library for .NET (beta) “a more natural solution”  DLL with C# wrappers  Integrated help 3. NAG Library for .NET (Work-in-Progress)  as above pure C# functions Numerical Excellence in Finance – January 2010 14
  • 15. NAG Toolbox for MATLAB  Contains essentially all NAG functionality  not a subset  Currently runs under Windows (32/64bit) or Linux (32/64-bit).  Installed under the usual MATLAB toolbox directory  Can be used with MATLAB compiler Numerical Excellence in Finance – January 2010 15
  • 16. Case study – e04uc vs fmincon A problem from a customer from a European bank. The problem involves 48 variables and has 9 linear constraints. (No nonlinear constraints.) No derivatives supplied. fmincon required 1890 evaluations of the objective function and tool 87.6 seconds e04uc required only 1129 evaluations and took 49.4 seconds Numerical Excellence in Finance – January 2010 16
  • 17. Subset of Eigenvalues and Eigenvectors Speedup Sunday, 31 January 2010 Numerical Excellence in Finance – January 2010 NAG Toolbox for MATLAB 17 17
  • 18. Best Advice – Use the Decision Trees Numerical Excellence in Finance – January 2010 18
  • 19. NAG Library and Toolbox – recent additions  Global optimization  More Copulas  ANOVA – Analysis of  Extreme Value Theory Variance Statistics  Nearest Correlation Matrix  Fast quantile selection routine  Partial Least Squares  Wavelets Regression Analysis  Adoption of LAPACK 3.1  Prediction intervals for  New RNGs fitted models  Scrambled Seq for QMC  Option Pricing  Mersenne Twister  Sobol Sequence generator  Generalised Mixed Effect (50,000 dimensions) Regression Numerical Excellence in Finance – January 2010 19 19
  • 20. Other NAG software  NAG’s High Performance libraries  NAG SMP Library (for multi/many core/processor)  NAG Parallel Library (for clusters architectures - MPI)  NAG Fortran Compiler  Windows version with GUI & Debugger  Automatic Differentiation (AD) enabled  In collaboration with RWTH Aachen University  Routines for SIMD architectures (GPUs etc)  Early successes with Monte Carlo components on NVIDIA hardware  In collaboration with Professor Mike Giles Numerical Excellence in Finance – January 2010 20
  • 21. Summary  NAG for Quality, World-leading Numerical Software Components  accurate, reliable, robust  extensively tested, supported and maintained code  updated for new architectures and new algorithms Numerical Excellence in Finance – January 2010 21
  • 22. NAG Key Contacts www.nag.com Technical Support and Help support@nag.co.uk Sales in France francois.cassier@nag.com Direct Dial +33 6 87 88 12 94 NAGNews http://www.nag.co.uk/NAGNews/Index.asp Numerical Excellence in Finance – January 2010 22