Risk Engineering

Correlation analysis
How are my variables related?


Before you start to create risk models, it is a good idea to visualize how the variables are related to one another. Risk models often involve correlated random variables, and exploring correlation between variables is an important part of exploratory data analysis. Learn how to measure the degree of linear dependency between two random variables using Python and the SciPy library. The lecture slides include a number of warnings related to dependency, causality and correlation in risk analysis.

This submodule is a part of the risk analysis module.

Course material

Modelling correlations with Python

Lecture slides (PDF)
View on Slideshare

Python notebook on correlation

IPython notebook
View notebook online

Python notebook on data analysis and curve fitting

IPython notebook
View notebook online

In these course materials, applications are presented using the NumPy and SciPy libraries for the Python programming language.

Other resources

We recommend the following sources of further information on this topic:

Last updated: