R Tutorial : Quantitative Risk Management in R
Key Takeaways
This video tutorial covers quantitative risk management in R, utilizing the QRM data and QRM tools packages, and introduces concepts such as value at risk and risk factors in portfolio management.
Full Transcript
hello my name is Alex McNeil and I'm going to take you through an introduction to quantitative risk management my background is in mathematical statistics actuarial science and quantitative finance together with my colleagues Radhika Frey and Paul M brakes I am the author of the book quantitative risk management concepts techniques and tools published by Princeton University Press if you want the theoretical background to this course I recommend you take a look together with my co-authors and with marius Hoffert i've also created the website qrm tutorial.org which provides complimentary materials to the QRM book in particular there's a lot of our code there which you might want to try after you've taken this course marius and I have two our packages which feature prominently in qrm tutorial these are qrm data which is a large collection of financial data sets for students and researchers and q RM and QM tools which is a set of useful functions you'll use these packages in the course in qrm the goal is to quantify the risk of a portfolio of risky assets measuring the risk is the first step towards managing the risk in the book I wrote we consider the typical portfolios of risky assets held by banks and insurance companies and sometimes also their liabilities but the ideas apply equally to the portfolio of a private investor like you or me managing the risk can entail many things for example you might try to reduce the risk by selling assets by acquiring new assets to increase the diversification of the portfolio or by using so-called hedging strategies for the banks and insurers an important part of managing risk is making sure they have sufficient capital to withstand large losses on their portfolios and remain solvent for this purpose they compute measurements of the amounts that they could lose in periods of extreme market stress a well-known example of one of these risk measures is value at risk in this course you will work up to calculating value at risk for portfolios to begin with it is important to consider where the risk in a portfolio comes from so think of a portfolio of risky assets it might contain some stock index trackers some individual stocks some government bonds or Treasuries some corporate bonds it might contain assets denominated in domestic currency and some denominated in foreign currencies it might contain commodities like gold it might contain some derivative securities designed to hedge risk or speculate on price movements such as equity options the value of this portfolio at any point in time depends on the fluctuating values of many underlying quantities which we call risk factors examples of risk factors are equity indexes individual equity prices foreign exchange rates interest rates for different borrowing periods in the case of bonds and commodity prices let's load the QRM data package and then the data set s be 500 this contains daily values of the well known equity index based on 500 of the most important US stocks using head and tail the first few lines and the last few lines of the data can be displayed note the dates of the first few values in 1950 and the last few values up to the end of 2015 let's plot the index you can see it has generally gone up over time but with some draw downs such as around the 2008 to 2009 financial crisis now it's your turn to work through the exercises and explore some financial risk factor data you'll look at another stock index some individual equity prices and a couple of exchange rates
Original Description
Want to learn more? Take the full course at https://learn.datacamp.com/courses/quantitative-risk-management-in-r at your own pace. More than a video, you'll learn hands-on coding & quickly apply skills to your daily work.
---
Hello. My name is Alex McNeil and I am going to take your through "An Introduction to Quantitative Risk Management".
My background is in mathematical statistics, actuarial science and quantitative finance. Together with my colleagues Ruediger Frey and Paul Embrechts I am the author of the book "Quantitative Risk Management: Concepts, Techniques and Tools", published by Princeton University Press.
If you want the theoretical background to this course, I recommend you take a look.
Together with my co-authors and with Marius Hofert I have also created the website qrmtutorial.org which provides complementary materials to the QRM book. In particular there is a lot of R code there, which you might want to try after you've taken this course.
Marius and I have two R packages which feature prominently in qrmtutorial. These are qrmdata, which is a large collection of financial datasets for students and researchers in QRM, and qrmtools, which is a set of useful functions. You'll use these packages in the course.
In QRM the goal is to quantify the risk of a portfolio of risky assets. Measuring the risk is the first step towards managing the risk.
In the book I wrote we consider the typical portfolios of risky assets held by banks and insurance companies, and sometimes also their liabilities. But the ideas apply equally to the portfolio of a private investor, like you or me.
Managing the risk can entail many things. For example, you might try to reduce the risk by selling assets, by acquiring new assets to increase the diversification of the portfolio, or by using so-called hedging strategies.
For the banks and insurers an important part of managing risk is making sure they have sufficient capital to withstand large losses on their portfolios and
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from DataCamp · DataCamp · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SQL Server Tutorial: Date manipulation
DataCamp
R Tutorial: Intermediate Interactive Data Visualization with plotly in R
DataCamp
R Tutorial: Adding aesthetics to represent a variable
DataCamp
R Tutorial: Moving Beyond Simple Interactivity
DataCamp
Python Tutorial: Why use ML for marketing? Strategies and use cases
DataCamp
Python Tutorial: Preparation for modeling
DataCamp
Python Tutorial: Machine Learning modeling steps
DataCamp
R Tutorial: The prior model
DataCamp
R Tutorial: Data & the likelihood
DataCamp
R Tutorial: The posterior model
DataCamp
R Tutorial: An Introduction to plotly
DataCamp
R Tutorial: Plotting a single variable
DataCamp
R Tutorial: Bivariate graphics
DataCamp
Python Tutorial: Customer Segmentation in Python
DataCamp
Python Tutorial: Time cohorts
DataCamp
Python Tutorial: Calculate cohort metrics
DataCamp
Python Tutorial: Cohort analysis visualization
DataCamp
R Tutorial: Building Dashboards with flexdashboard
DataCamp
R Tutorial: Anatomy of a flexdashboard
DataCamp
R Tutorial: Layout basics
DataCamp
R Tutorial: Advanced layouts
DataCamp
Python Tutorial: Time Series Analysis in Python
DataCamp
Python Tutorial: Correlation of Two Time Series
DataCamp
Python Tutorial: Simple Linear Regressions
DataCamp
Python Tutorial: Autocorrelation
DataCamp
R Tutorial: The gapminder dataset
DataCamp
R Tutorial: The filter verb
DataCamp
R Tutorial: The arrange verb
DataCamp
R Tutorial: The mutate verb
DataCamp
R Tutorial: What is cluster analysis?
DataCamp
R Tutorial: Distance between two observations
DataCamp
R Tutorial: The importance of scale
DataCamp
R Tutorial: Measuring distance for categorical data
DataCamp
Python Tutorial: Plotting multiple graphs
DataCamp
Python Tutorial: Customizing axes
DataCamp
Python Tutorial: Legends, annotations, & styles
DataCamp
Python Tutorial: Introduction to iterators
DataCamp
Python Tutorial: Playing with iterators
DataCamp
Python Tutorial: Using iterators to load large files into memory
DataCamp
SQL Tutorial: Introduction to Relational Databases in SQL
DataCamp
SQL Tutorial: Tables: At the core of every database
DataCamp
SQL Tutorial: Update your database as the structure changes
DataCamp
Python Tutorial: Classification-Tree Learning
DataCamp
Python Tutorial: Decision-Tree for Classification
DataCamp
Python Tutorial: Decision-Tree for Regression
DataCamp
Python Tutorial: Census Subject Tables
DataCamp
Python Tutorial: Census Geography
DataCamp
Python Tutorial: Using the Census API
DataCamp
R Tutorial: A/B Testing in R
DataCamp
R Tutorial: Baseline Conversion Rates
DataCamp
R Tutorial: Designing an Experiment - Power Analysis
DataCamp
R Tutorial: Introduction to qualitative data
DataCamp
R Tutorial: Understanding your qualitative variables
DataCamp
R Tutorial: Making Better Plots
DataCamp
SQL Tutorial: OLTP and OLAP
DataCamp
SQL Tutorial: Storing data
DataCamp
SQL Tutorial: Database design
DataCamp
Python Tutorial: Introduction to spaCy
DataCamp
Python Tutorial: Statistical Models
DataCamp
Python Tutorial: Rule-based Matching
DataCamp
Related Reads
📰
📰
📰
📰
Accrue targets African businesses with stablecoin-powered cross-border banking platform
TechCabal
Why “faster payments” is the wrong frame for stablecoins.
Medium · Startup
Why a South African fintech chose the UK before the rest of Africa
TechCabal
Revolut hires ex-Chase UK boss Kuba Fast to lead its European bank
The Next Web AI
🎓
Tutor Explanation
DeepCamp AI