Free Sample
+ Collection

Introduction to R for Quantitative Finance

Gergely Daróczi, Michael Puhle, Edina Berlinger, Péter Csóka, Dániel Havran, Márton Michaletzky, Zsolt Tulassay, Kata Váradi, Ágnes Vidovics-Dancs

R is a statistical computing language that’s ideal for answering quantitative finance questions. This book gives you both theory and practice, all in clear language with stacks of real-world examples. Ideal for R beginners or expert alike.
RRP $23.99
RRP $39.99
Print + eBook

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783280933
Paperback164 pages

About This Book

  • Use time series analysis to model and forecast house prices
  • Estimate the term structure of interest rates using prices of government bonds
  • Detect systemically important financial institutions by employing financial network analysis

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.

Table of Contents

Chapter 1: Time Series Analysis
Working with time series data
Linear time series modeling and forecasting
Modeling volatility
Chapter 2: Portfolio Optimization
Mean-Variance model
Solution concepts
Working with real data
Tangency portfolio and Capital Market Line
Noise in the covariance matrix
When variance is not enough
Chapter 3: Asset Pricing Models
Capital Asset Pricing Model
Arbitrage Pricing Theory
Beta estimation
Model testing
Chapter 4: Fixed Income Securities
Measuring market risk of fixed income securities
Immunization of fixed income portfolios
Pricing a convertible bond
Chapter 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
Chapter 6: Derivatives Pricing
The Black-Scholes model
The Cox-Ross-Rubinstein model
Connection between the two models
Implied volatility
Chapter 7: Credit Risk Management
Credit default models
Correlated defaults – the portfolio approach
Migration matrices
Getting started with credit scoring in R
Chapter 8: Extreme Value Theory
Theoretical overview
Application – modeling insurance claims
Chapter 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

What You Will Learn

  • How to model and forecast house prices and improve hedge ratios using cointegration and model volatility
  • How to understand the theory behind portfolio selection and how it can be applied to real-world data
  • How to utilize the Capital Asset Pricing Model and the Arbitrage Pricing Theory
  • How to understand the basics of fixed income instruments
  • You will discover how to use discrete- and continuous-time models for pricing derivative securities
  • How to successfully work with credit default models and how to model correlated defaults using copulas
  • How to understand the uses of the Extreme Value Theory in insurance and fi nance, model fitting, and risk measure calculation

In Detail

Introduction to R for Quantitative Finance will show you how to solve real-world quantitative fi nance problems using the statistical computing language R. The book covers diverse topics ranging from time series analysis to fi nancial networks. Each chapter briefl y 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 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 such as credit risk management.


Read More