Introduction to R for Quantitative Finance
  1. 164 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

About this book

In Detail

Quantitative finance is an increasingly important area for businesses, and skilled professionals are highly sought after. The statistical computing language R is becoming established in universities and in industry as the lingua franca of data analysis and statistical computing.

Introduction to R for Quantitative Finance will show you how to solve real-world quantitative finance problems using the statistical computing language R. The book covers diverse topics ranging from time series analysis to financial networks. Each chapter briefly presents the theory behind specific concepts and deals with solving a diverse range of problems using R with the help of practical examples.

This book will be your guide on how to use and master R in order to solve real-world quantitative finance problems. This book covers the essentials of quantitative finance, taking you through a number of clear and practical examples in R that will not only help you to understand the theory, but how to effectively deal with your own real-life problems.

Starting with time series analysis, you will also learn how to optimize portfolios and how asset pricing models work. The book then covers fixed income securities and derivatives like credit risk management. The last chapters of this book will also provide you with an overview of exciting topics like extreme values and network analysis in quantitative finance.

Approach

This book is a tutorial guide for new users that aims to help you understand the basics of and become accomplished with the use of R for quantitative finance.

Who this book is for

If you are looking to use R to solve problems in quantitative finance, then this book is for you. A basic knowledge of financial theory is assumed, but familiarity with R is not required. With a focus on using R to solve a wide range of issues, this book provides useful content for both the R beginner and more experience users.

Trusted by 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Year
2013
Edition
1
eBook ISBN
9781783280933

Introduction to R for Quantitative Finance


Table of Contents

Introduction to R for Quantitative Finance
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Time Series Analysis
Working with time series data
Linear time series modeling and forecasting
Modeling and forecasting UK house prices
Model identification and estimation
Model diagnostic checking
Forecasting
Cointegration
Cross hedging jet fuel
Modeling volatility
Volatility forecasting for risk management
Testing for ARCH effects
GARCH model specification
GARCH model estimation
Backtesting the risk model
Forecasting
Summary
2. Portfolio Optimization
Mean-Variance model
Solution concepts
Theorem (Lagrange)
Working with real data
Tangency portfolio and Capital Market Line
Noise in the covariance matrix
When variance is not enough
Summary
3. Asset Pricing Models
Capital Asset Pricing Model
Arbitrage Pricing Theory
Beta estimation
Data selection
Simple beta estimation
Beta estimation from linear regression
Model testing
Data collection
Modeling the SCL
Testing the explanatory power of the individual variance
Summary
4. Fixed Income Securities
Measuring market risk of fixed income securities
Example – implementation in R
Immunization of fixed income portfolios
Net worth immunization
Target date immunization
Dedication
Pricing a convertible bond
Summary
5. Estimating the Term Structure of Interest Rates
The term structure of interest rates and related functions
The estimation problem
Estimation of the term structure by linear regression
Cubic spline regression
Applied R functions
Summary
6. Derivatives Pricing
The Black-Scholes model
The Cox-Ross-Rubinstein model
Connection between the two models
Greeks
Implied volatility
Summary
7. Credit Risk Management
Credit default models
Structural models
Intensity models
Correlated defaults – the portfolio approach
Migration matrices
Getting started with credit scoring in R
Summary
8. Extreme Value Theory
Theoretical overview
Application – modeling insurance claims
Exploratory data analysis
Tail behavior of claims
Determining the threshold
Fitting a GPD distribution to the tails
Quantile estimation using the fitted GPD model
Calculation of expected loss using the fitted GPD model
Summary
9. Financial Networks
Representation, simulation, and visualization of financial networks
Analysis of networks’ structure and detection of topology changes
Contribution to systemic risk – identification of SIFIs
Summary
A. References
Time series analysis
Portfolio optimization
Asset pricing
Fixed income securities
Estimating the term structure of interest rates
Derivatives Pricing
Credit risk management
Extreme value theory
Financial networks
Index

Introduction to R for Quantitative Finance

Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: November 2013
Production Reference: 1151113
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK..
ISBN 978-1-78328-093-3
www.packtpub.com
Cover Image by Suresh Mogre ()

Credits

Authors
Gergely DarĂłczi
Michael Puhle
Edina Berlinger
Péter Csóka
DĂĄniel Havran
MĂĄrton Michaletzky
Zsolt Tulassay
Kata VĂĄradi
Agnes Vidovics-Dancs
Reviewers
Dr. Hari Shanker Gupta
Ronald Hochreiter
Acquisition Editor
Akram Hussain
Lead Technical Editor
Mohammed Fahad
Technical Editors
Venu Manthena
Adrian Raposo
Amit Singh
Copy Editors
Alisha Aranha
Tanvi Gaitonde
Sayanee...

Table of contents

  1. Introduction to R for Quantitative Finance

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Introduction to R for Quantitative Finance by Gergely Daroczi, Michael Puhle, Edina Berlinger, Peter Csoka, Daniel Havran, Marton Michaletzky, Zsolt Tulassay, Kata Varadi, Agnes Vidovics-Dancs in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.