SlideShare una empresa de Scribd logo
1 de 24
Center for Financial Studies at the Goethe University
PhD Mini-course
Frankfurt, 25 January 2013




Financial Networks

VI. Correlation Networks




                                                        Dr. Kimmo Soramäki
                                                        Founder and CEO
                                                        FNA, www.fna.fi
Agenda

V. Inferring Links
•   Prices and returns
•   Controlling for common factors
•   Correlation and dependence
•   Significant correlations
•   Multiple Comparisons


VI. Correlation Networks
•   Distance and Hierarchical Clustering
•   Minimum Spanning Tree & PMFG
•   Other filtering
•   Layout algorithms
                                           2
Hierarchical structure in financial markets




                                              3
Minimum Spanning Tree
A spanning tree of a graph is a subgraph that:
1. is a tree and
2. connects all the nodes together

Length of a tree is the sum of its links. Minimum spanning tree (MST) is a spanning
tree with shortest length.

MST reflects the hierarchical structure of the correlation matrix
MST and Hierarchical Structure




Source: R.N. Mantegna (1999). Hierarchical structure in nancial markets,
Eur. Phys. J. B 11, 193-197                                                5
36


Single Linkage Clustering

• A method for hierarchical clustering
• Clusters based on similarity or distance
• SLINK algorithm




R. Sibson (1973). SLINK: an optimally efficient algorithm for the single-link cluster
method. The Computer Journal (British Computer Society) 16 (1): 30–34.                  6
Example
# build network from correlations
buildbycorrelationd -file daxreturns-2011-recon.csv -missing Alert -preserve
false

# calculate distance
corrdistance -p correlation -method gower

# calculate single linkage clistering
slink -p corrdistance

# create heatmaps
heatmap -sortv vertex_id -p correlation -symmetric true -cellsizedefault 13 -
transition 0 -cellhover correlation -palette darkblue-lightgray-darkred -
colordomain (-1)-1 -saveas daxheat-slink-Y

                                                                                7
Unordered, Principal   Ordered by Cluster, Principal
Component Removed      Component Removed

                                                       8
Radial tree -layout
• Calculates coordinates for radial layout as presented in
  Bachmaier, Brandes and Schlieper (2005)

• The layout allows definition of each arc length

• Specific parameters of command radialtreeviz:
     –   Arc length property (-p) : Arc property defining arc length. Optional.
     –   Root vertex (-rootvertex) : Id of root vertex. The root vertex is placed in the middle of the
         screen. Due to the repositioning of the tree, nodes may be placed outside the canvas in other
         than the first network. Optional.
     –   Optimal rotation (-rotation) : Rotates layout to minimize sum of vertex distances between
         subsequent networks. Optional. By default 'false'.
     –   Scaling (-scale) : Scale of visualization: value/pixel.




Christian Bachmaier, Ulrik Brandes, and Barbara Schlieper (2005). Drawing Phylogenetic
Trees. Department of Computer & Information Science, University of
                                                                                                         9
Konstanz, Germany
Putting it all together
# build network from correlations
buildbycorrelationd -file daxreturns-2011.csv -missing Alert -savestdev -savereturns -preserve false

# calculate distance
corrdistance -p correlation -method gower

# calculate single linkage clistering
minst -p corrdistance

# drop arcs not in MST
dropa -e minst=false

# calculate absolute correlation
calcap -e 1-abs(correlation) -saveas vizdistance

# create heatmaps
radialtreeviz -p vizdistance -vlabel vertex_id -vsize stdev -transition 3000 -ahover correlation -saveas
daxviz-MST

                                                                                                       10
Asset Trees
              Size of node reflects volatility
              (variance) of returns

              Links between nodes reflect
              'backbone' correlations

              - short link = high correlation
              - long link = low correlation




                                                 11
Circle Tree -visualization
• Calculates coordinates for circle
  tree layout as presented in
  Bachmaier, Brandes and
  Schlieper (2005)



• As before but instead of
  radialtreeviz:

circletreeviz -vlabel vertex_id -vsize
stdev -transition 3000 -ahover
correlation -saveas daxviz-MST-circle




                                         12
Planar Maximally Filtered Graph
                                                                                                         Node size scales
                                                                                                         with degree

•   A complex graph with loops and
    cliques of up to 4 elements. It can be
    drawn on a planar surface without
    link crossings.

•   MST is contained in PMFG




    M. Tumminello, T. Ast, T. Di Matteo and R. N. Mantegna (2005). A Tool for Filtering Information in
    Complex Systems. PNAS vol. 102 no. 30 pp. 10421–10426
                                                                                                                   13
PMFG -command
# build network from correlations
buildbycorrelationd -file daxreturns-2011.csv -missing Alert -savestdev -savereturns -preserve false

# calculate distance
corrdistance -p correlation -method gower

# calculate single linkage clistering
pmfg -p corrdistance

# drop arcs not in MST
dropa -e pmfg=false

# calculate 1-absolute correlation
calcap -e abs(correlation) -saveas vizdistance

# calculate degree
degree

# create heatmaps
frviz -vlabel vertex_id -vsize stdev -atransparency vizdistance -ahover correlation -transition 3000 -ahover correlation -
arrows false -saveas daxviz-PMFG

                                                                                                                        14
Partial Correlation
• Measures the degree of association between two random variables

• What is the direct relationship between Adidas and
  Allianz, controlling for BASF, BAYER, ... ?

• We build regression models for Adidas and Allianz and look at the
  correlation of their model residuals (i.e. wgat left unexplained by the
  other factors) -> Partial correltation




                                                                        15
Example
# build network from correlations
buildbypartialcorrelationd -file daxreturns-2011.csv -missing Alert -
savestdev -preserve false

# show as heatmap
heatmap -sortv vertex_id -p partial_correlation -symmetric true -
cellsizedefault 13 -transition 0 -cellhover partial_correlation -palette
darkblue-lightgray-darkred -colordomain (-1)-1 -saveas daxheat-
partial-Y




                                                                           16
Correlations   Partial Correlations


                                      17
NETS
•   Network Estimation for Time-
    Series

•   Forthcoming paper by Barigozzi
    and Brownlees

•   Estimates an unknown network
    structure from multivariate data

•   Captures both comtemporenous
    and serial dependence (partial
    correlations and lead/lag effects)



                                         18
Correlation filtering                            PMFG



Balance between too much and too little
information

One of many methods to create networks
from correlation/distance matrices
   – PMFGs, Partial Correlation
     Networks, Influence Networks, Granger   Influence Network
     Causality, NETS, etc.


New graph, information-theory, economics
& statistics -based models are being
actively developed



                                                                 19
Sammon’s Projection
Proposed by John W. Sammon in IEEE Transactions on Computers 18: 401–409
(1969)

A nonlinear projection method to map a
high dimensional space onto a space of
lower dimensionality. Example:

                                                                  Iris Setosa




                                                                Iris Versicolor




                                                                 Iris Virginica
                                                                         20
Example
# build network from correlations
buildbycorrelationd -file daxreturns-2011.csv -missing Alert -savestdev -savereturns -
preserve false

# calculate distance
corrdistance -p correlation -method gower

# Calculate sammonlayout
sammonlayouta -p corrdistance -saveerror true

# Sum up error
sumaforv -p error -saveas error

# create heatmaps
sammonaviz -p corrdistance -vlabel vertex_id -vsize error -transition 3000 -ahover error
-saveas daxviz-Sammon-Y

                                                                                         21
Node size reflects
error in layout
Tutorials
•   Tutorial 1 – Loading Networks into FNA
•   Tutorial 2 – Managing Data in FNA
•   Tutorial 3 – Network Summary Measures
•   Tutorial 4 – Centrality Measures
•   Tutorial 5 – Connectedness and Components
•   Tutorial 6 – Network Visualization
•   Tutorial 7 – Correlation Networks
•   Tutorial 8 – Payment System Simulations
•   Tutorial 9 – Analyzing Cross-Border Banking Exposures




                                                            23
Blog, Library and Demos at www.fna.fi




Dr. Kimmo Soramäki
kimmo@soramaki.net
Twitter: soramaki

Más contenido relacionado

La actualidad más candente

Massive parallelism with gpus for centrality ranking in complex networks
Massive parallelism with gpus for centrality ranking in complex networksMassive parallelism with gpus for centrality ranking in complex networks
Massive parallelism with gpus for centrality ranking in complex networksijcsit
 
A few approaches to cope with crash/byzantine failures in communication netwo...
A few approaches to cope with crash/byzantine failures in communication netwo...A few approaches to cope with crash/byzantine failures in communication netwo...
A few approaches to cope with crash/byzantine failures in communication netwo...Feliciano Colella
 
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...lauratoni4
 
Csr2011 june16 11_30_georgiadis
Csr2011 june16 11_30_georgiadisCsr2011 june16 11_30_georgiadis
Csr2011 june16 11_30_georgiadisCSR2011
 
A genetic algorithm for constructing broadcast trees with cost and delay cons...
A genetic algorithm for constructing broadcast trees with cost and delay cons...A genetic algorithm for constructing broadcast trees with cost and delay cons...
A genetic algorithm for constructing broadcast trees with cost and delay cons...IJCNCJournal
 
CCNxCon2012: Session 5: CCN Location Sharing System
CCNxCon2012: Session 5: CCN Location Sharing SystemCCNxCon2012: Session 5: CCN Location Sharing System
CCNxCon2012: Session 5: CCN Location Sharing SystemPARC, a Xerox company
 
A New Approach to Linear Estimation Problem in Multiuser Massive MIMO Systems
A New Approach to Linear Estimation Problem in Multiuser Massive MIMO SystemsA New Approach to Linear Estimation Problem in Multiuser Massive MIMO Systems
A New Approach to Linear Estimation Problem in Multiuser Massive MIMO SystemsRadita Apriana
 
The Effect of Network Topology on Geographic Routing Performance in Localized...
The Effect of Network Topology on Geographic Routing Performance in Localized...The Effect of Network Topology on Geographic Routing Performance in Localized...
The Effect of Network Topology on Geographic Routing Performance in Localized...IDES Editor
 
Effective Sparse Matrix Representation for the GPU Architectures
 Effective Sparse Matrix Representation for the GPU Architectures Effective Sparse Matrix Representation for the GPU Architectures
Effective Sparse Matrix Representation for the GPU ArchitecturesIJCSEA Journal
 

La actualidad más candente (11)

Massive parallelism with gpus for centrality ranking in complex networks
Massive parallelism with gpus for centrality ranking in complex networksMassive parallelism with gpus for centrality ranking in complex networks
Massive parallelism with gpus for centrality ranking in complex networks
 
A few approaches to cope with crash/byzantine failures in communication netwo...
A few approaches to cope with crash/byzantine failures in communication netwo...A few approaches to cope with crash/byzantine failures in communication netwo...
A few approaches to cope with crash/byzantine failures in communication netwo...
 
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
 
Csr2011 june16 11_30_georgiadis
Csr2011 june16 11_30_georgiadisCsr2011 june16 11_30_georgiadis
Csr2011 june16 11_30_georgiadis
 
1801.06434
1801.064341801.06434
1801.06434
 
Ba36317323
Ba36317323Ba36317323
Ba36317323
 
A genetic algorithm for constructing broadcast trees with cost and delay cons...
A genetic algorithm for constructing broadcast trees with cost and delay cons...A genetic algorithm for constructing broadcast trees with cost and delay cons...
A genetic algorithm for constructing broadcast trees with cost and delay cons...
 
CCNxCon2012: Session 5: CCN Location Sharing System
CCNxCon2012: Session 5: CCN Location Sharing SystemCCNxCon2012: Session 5: CCN Location Sharing System
CCNxCon2012: Session 5: CCN Location Sharing System
 
A New Approach to Linear Estimation Problem in Multiuser Massive MIMO Systems
A New Approach to Linear Estimation Problem in Multiuser Massive MIMO SystemsA New Approach to Linear Estimation Problem in Multiuser Massive MIMO Systems
A New Approach to Linear Estimation Problem in Multiuser Massive MIMO Systems
 
The Effect of Network Topology on Geographic Routing Performance in Localized...
The Effect of Network Topology on Geographic Routing Performance in Localized...The Effect of Network Topology on Geographic Routing Performance in Localized...
The Effect of Network Topology on Geographic Routing Performance in Localized...
 
Effective Sparse Matrix Representation for the GPU Architectures
 Effective Sparse Matrix Representation for the GPU Architectures Effective Sparse Matrix Representation for the GPU Architectures
Effective Sparse Matrix Representation for the GPU Architectures
 

Similar a Financial Networks VI - Correlation Networks

A TALE of DATA PATTERN DISCOVERY IN PARALLEL
A TALE of DATA PATTERN DISCOVERY IN PARALLELA TALE of DATA PATTERN DISCOVERY IN PARALLEL
A TALE of DATA PATTERN DISCOVERY IN PARALLELJenny Liu
 
High-Performance Graph Analysis and Modeling
High-Performance Graph Analysis and ModelingHigh-Performance Graph Analysis and Modeling
High-Performance Graph Analysis and ModelingNesreen K. Ahmed
 
Financial Networks: II. Fundamentals of Network Theory and FNA
Financial Networks: II. Fundamentals of Network Theory and FNAFinancial Networks: II. Fundamentals of Network Theory and FNA
Financial Networks: II. Fundamentals of Network Theory and FNAKimmo Soramaki
 
A Survey On Secure Cooperative Bait Detection Approach For...
A Survey On Secure Cooperative Bait Detection Approach For...A Survey On Secure Cooperative Bait Detection Approach For...
A Survey On Secure Cooperative Bait Detection Approach For...Jennifer Perry
 
Jamming aware traffic allocation for multiple-path routing using portfolio se...
Jamming aware traffic allocation for multiple-path routing using portfolio se...Jamming aware traffic allocation for multiple-path routing using portfolio se...
Jamming aware traffic allocation for multiple-path routing using portfolio se...Saad Bare
 
Distributed vertex cover
Distributed vertex coverDistributed vertex cover
Distributed vertex coverIJCNCJournal
 
Applications of machine learning in Wireless sensor networks.
Applications of machine learning in Wireless sensor networks.Applications of machine learning in Wireless sensor networks.
Applications of machine learning in Wireless sensor networks.Sahana B S
 
A Tale of Data Pattern Discovery in Parallel
A Tale of Data Pattern Discovery in ParallelA Tale of Data Pattern Discovery in Parallel
A Tale of Data Pattern Discovery in ParallelJenny Liu
 
Optimizing the Data Collection in Wireless Sensor Network
Optimizing the Data Collection in Wireless Sensor NetworkOptimizing the Data Collection in Wireless Sensor Network
Optimizing the Data Collection in Wireless Sensor NetworkIRJET Journal
 
Spine net learning scale permuted backbone for recognition and localization
Spine net learning scale permuted backbone for recognition and localizationSpine net learning scale permuted backbone for recognition and localization
Spine net learning scale permuted backbone for recognition and localizationDevansh16
 
SVD and the Netflix Dataset
SVD and the Netflix DatasetSVD and the Netflix Dataset
SVD and the Netflix DatasetBen Mabey
 
PhD Consortium ADBIS presetation.
PhD Consortium ADBIS presetation.PhD Consortium ADBIS presetation.
PhD Consortium ADBIS presetation.Giuseppe Ricci
 
MSCX2023_Sergio Gomez_PartI
MSCX2023_Sergio Gomez_PartIMSCX2023_Sergio Gomez_PartI
MSCX2023_Sergio Gomez_PartImscx
 

Similar a Financial Networks VI - Correlation Networks (20)

A TALE of DATA PATTERN DISCOVERY IN PARALLEL
A TALE of DATA PATTERN DISCOVERY IN PARALLELA TALE of DATA PATTERN DISCOVERY IN PARALLEL
A TALE of DATA PATTERN DISCOVERY IN PARALLEL
 
High-Performance Graph Analysis and Modeling
High-Performance Graph Analysis and ModelingHigh-Performance Graph Analysis and Modeling
High-Performance Graph Analysis and Modeling
 
Financial Networks: II. Fundamentals of Network Theory and FNA
Financial Networks: II. Fundamentals of Network Theory and FNAFinancial Networks: II. Fundamentals of Network Theory and FNA
Financial Networks: II. Fundamentals of Network Theory and FNA
 
A Survey On Secure Cooperative Bait Detection Approach For...
A Survey On Secure Cooperative Bait Detection Approach For...A Survey On Secure Cooperative Bait Detection Approach For...
A Survey On Secure Cooperative Bait Detection Approach For...
 
Jamming aware traffic allocation for multiple-path routing using portfolio se...
Jamming aware traffic allocation for multiple-path routing using portfolio se...Jamming aware traffic allocation for multiple-path routing using portfolio se...
Jamming aware traffic allocation for multiple-path routing using portfolio se...
 
Distributed vertex cover
Distributed vertex coverDistributed vertex cover
Distributed vertex cover
 
Applications of machine learning in Wireless sensor networks.
Applications of machine learning in Wireless sensor networks.Applications of machine learning in Wireless sensor networks.
Applications of machine learning in Wireless sensor networks.
 
A Tale of Data Pattern Discovery in Parallel
A Tale of Data Pattern Discovery in ParallelA Tale of Data Pattern Discovery in Parallel
A Tale of Data Pattern Discovery in Parallel
 
XL-MINER:Prediction
XL-MINER:PredictionXL-MINER:Prediction
XL-MINER:Prediction
 
XL-MINER:Prediction
XL-MINER:PredictionXL-MINER:Prediction
XL-MINER:Prediction
 
Optimizing the Data Collection in Wireless Sensor Network
Optimizing the Data Collection in Wireless Sensor NetworkOptimizing the Data Collection in Wireless Sensor Network
Optimizing the Data Collection in Wireless Sensor Network
 
Deepwalk vs Node2vec
Deepwalk vs Node2vecDeepwalk vs Node2vec
Deepwalk vs Node2vec
 
Description Of A Graph
Description Of A GraphDescription Of A Graph
Description Of A Graph
 
Yarn spark next_gen_hadoop_8_jan_2014
Yarn spark next_gen_hadoop_8_jan_2014Yarn spark next_gen_hadoop_8_jan_2014
Yarn spark next_gen_hadoop_8_jan_2014
 
Spine net learning scale permuted backbone for recognition and localization
Spine net learning scale permuted backbone for recognition and localizationSpine net learning scale permuted backbone for recognition and localization
Spine net learning scale permuted backbone for recognition and localization
 
DDBMS
DDBMSDDBMS
DDBMS
 
SVD and the Netflix Dataset
SVD and the Netflix DatasetSVD and the Netflix Dataset
SVD and the Netflix Dataset
 
P229 godfrey
P229 godfreyP229 godfrey
P229 godfrey
 
PhD Consortium ADBIS presetation.
PhD Consortium ADBIS presetation.PhD Consortium ADBIS presetation.
PhD Consortium ADBIS presetation.
 
MSCX2023_Sergio Gomez_PartI
MSCX2023_Sergio Gomez_PartIMSCX2023_Sergio Gomez_PartI
MSCX2023_Sergio Gomez_PartI
 

Más de Kimmo Soramaki

Applications of Network Theory in Finance
Applications of Network Theory in FinanceApplications of Network Theory in Finance
Applications of Network Theory in FinanceKimmo Soramaki
 
Applications of Network Theory in Finance and Production
Applications of Network Theory in Finance and ProductionApplications of Network Theory in Finance and Production
Applications of Network Theory in Finance and ProductionKimmo Soramaki
 
Global Network of Payment Flows - Presentation at Commerzbank Cash Forum
Global Network of Payment Flows - Presentation at Commerzbank Cash ForumGlobal Network of Payment Flows - Presentation at Commerzbank Cash Forum
Global Network of Payment Flows - Presentation at Commerzbank Cash ForumKimmo Soramaki
 
Visualizing Financial Stress - Talk at European Central Bank
Visualizing Financial Stress - Talk at European Central BankVisualizing Financial Stress - Talk at European Central Bank
Visualizing Financial Stress - Talk at European Central BankKimmo Soramaki
 
Financial Cartography at Bogazici University
Financial Cartography at Bogazici UniversityFinancial Cartography at Bogazici University
Financial Cartography at Bogazici UniversityKimmo Soramaki
 
Network Simulations for Business Continuity
Network Simulations for Business ContinuityNetwork Simulations for Business Continuity
Network Simulations for Business ContinuityKimmo Soramaki
 
Financial Cartography for Payments and Markets
Financial Cartography for Payments and MarketsFinancial Cartography for Payments and Markets
Financial Cartography for Payments and MarketsKimmo Soramaki
 
Quantitative Oversight of Financial Market Infrastructures
Quantitative Oversight of Financial Market InfrastructuresQuantitative Oversight of Financial Market Infrastructures
Quantitative Oversight of Financial Market InfrastructuresKimmo Soramaki
 
Emerging Stress Scenarios
Emerging Stress ScenariosEmerging Stress Scenarios
Emerging Stress ScenariosKimmo Soramaki
 
Network Approaches for Interbank Markets
Network Approaches for Interbank MarketsNetwork Approaches for Interbank Markets
Network Approaches for Interbank MarketsKimmo Soramaki
 
System shock analysis and complex network effects
System shock analysis and complex network effectsSystem shock analysis and complex network effects
System shock analysis and complex network effectsKimmo Soramaki
 
Adaptive Stress Testing
Adaptive Stress TestingAdaptive Stress Testing
Adaptive Stress TestingKimmo Soramaki
 
Illuminating Interconnectedness and Contagion
Illuminating Interconnectedness and ContagionIlluminating Interconnectedness and Contagion
Illuminating Interconnectedness and ContagionKimmo Soramaki
 
Financial Networks and Cartography
Financial Networks and CartographyFinancial Networks and Cartography
Financial Networks and CartographyKimmo Soramaki
 
Financial Networks V - Inferring Links
Financial Networks V - Inferring LinksFinancial Networks V - Inferring Links
Financial Networks V - Inferring LinksKimmo Soramaki
 
Financial Cartography - PRMIA Webinar
Financial Cartography - PRMIA WebinarFinancial Cartography - PRMIA Webinar
Financial Cartography - PRMIA WebinarKimmo Soramaki
 
Financial Networks IV. Analyzing and Visualizing Exposures
Financial Networks IV. Analyzing and Visualizing ExposuresFinancial Networks IV. Analyzing and Visualizing Exposures
Financial Networks IV. Analyzing and Visualizing ExposuresKimmo Soramaki
 
Financial Networks III. Centrality and Systemic Importance
Financial Networks III. Centrality and Systemic ImportanceFinancial Networks III. Centrality and Systemic Importance
Financial Networks III. Centrality and Systemic ImportanceKimmo Soramaki
 
Financial Cartography - Center for Financial Research
Financial Cartography - Center for Financial ResearchFinancial Cartography - Center for Financial Research
Financial Cartography - Center for Financial ResearchKimmo Soramaki
 

Más de Kimmo Soramaki (20)

Applications of Network Theory in Finance
Applications of Network Theory in FinanceApplications of Network Theory in Finance
Applications of Network Theory in Finance
 
Applications of Network Theory in Finance and Production
Applications of Network Theory in Finance and ProductionApplications of Network Theory in Finance and Production
Applications of Network Theory in Finance and Production
 
Global Network of Payment Flows - Presentation at Commerzbank Cash Forum
Global Network of Payment Flows - Presentation at Commerzbank Cash ForumGlobal Network of Payment Flows - Presentation at Commerzbank Cash Forum
Global Network of Payment Flows - Presentation at Commerzbank Cash Forum
 
Visualizing Financial Stress - Talk at European Central Bank
Visualizing Financial Stress - Talk at European Central BankVisualizing Financial Stress - Talk at European Central Bank
Visualizing Financial Stress - Talk at European Central Bank
 
Financial Cartography
Financial CartographyFinancial Cartography
Financial Cartography
 
Financial Cartography at Bogazici University
Financial Cartography at Bogazici UniversityFinancial Cartography at Bogazici University
Financial Cartography at Bogazici University
 
Network Simulations for Business Continuity
Network Simulations for Business ContinuityNetwork Simulations for Business Continuity
Network Simulations for Business Continuity
 
Financial Cartography for Payments and Markets
Financial Cartography for Payments and MarketsFinancial Cartography for Payments and Markets
Financial Cartography for Payments and Markets
 
Quantitative Oversight of Financial Market Infrastructures
Quantitative Oversight of Financial Market InfrastructuresQuantitative Oversight of Financial Market Infrastructures
Quantitative Oversight of Financial Market Infrastructures
 
Emerging Stress Scenarios
Emerging Stress ScenariosEmerging Stress Scenarios
Emerging Stress Scenarios
 
Network Approaches for Interbank Markets
Network Approaches for Interbank MarketsNetwork Approaches for Interbank Markets
Network Approaches for Interbank Markets
 
System shock analysis and complex network effects
System shock analysis and complex network effectsSystem shock analysis and complex network effects
System shock analysis and complex network effects
 
Adaptive Stress Testing
Adaptive Stress TestingAdaptive Stress Testing
Adaptive Stress Testing
 
Illuminating Interconnectedness and Contagion
Illuminating Interconnectedness and ContagionIlluminating Interconnectedness and Contagion
Illuminating Interconnectedness and Contagion
 
Financial Networks and Cartography
Financial Networks and CartographyFinancial Networks and Cartography
Financial Networks and Cartography
 
Financial Networks V - Inferring Links
Financial Networks V - Inferring LinksFinancial Networks V - Inferring Links
Financial Networks V - Inferring Links
 
Financial Cartography - PRMIA Webinar
Financial Cartography - PRMIA WebinarFinancial Cartography - PRMIA Webinar
Financial Cartography - PRMIA Webinar
 
Financial Networks IV. Analyzing and Visualizing Exposures
Financial Networks IV. Analyzing and Visualizing ExposuresFinancial Networks IV. Analyzing and Visualizing Exposures
Financial Networks IV. Analyzing and Visualizing Exposures
 
Financial Networks III. Centrality and Systemic Importance
Financial Networks III. Centrality and Systemic ImportanceFinancial Networks III. Centrality and Systemic Importance
Financial Networks III. Centrality and Systemic Importance
 
Financial Cartography - Center for Financial Research
Financial Cartography - Center for Financial ResearchFinancial Cartography - Center for Financial Research
Financial Cartography - Center for Financial Research
 

Último

Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024Adnet Communications
 
CBD Belapur((Thane)) Charming Call Girls📞❤9833754194 Kamothe Beautiful Call G...
CBD Belapur((Thane)) Charming Call Girls📞❤9833754194 Kamothe Beautiful Call G...CBD Belapur((Thane)) Charming Call Girls📞❤9833754194 Kamothe Beautiful Call G...
CBD Belapur((Thane)) Charming Call Girls📞❤9833754194 Kamothe Beautiful Call G...priyasharma62062
 
Toronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdfToronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdfJinJiang6
 
Benefits & Risk Of Stock Loans
Benefits & Risk Of Stock LoansBenefits & Risk Of Stock Loans
Benefits & Risk Of Stock LoansMartinRowse
 
Explore Dual Citizenship in Africa | Citizenship Benefits & Requirements
Explore Dual Citizenship in Africa | Citizenship Benefits & RequirementsExplore Dual Citizenship in Africa | Citizenship Benefits & Requirements
Explore Dual Citizenship in Africa | Citizenship Benefits & Requirementsmarketingkingdomofku
 
Solution Manual For Financial Statement Analysis, 13th Edition By Charles H. ...
Solution Manual For Financial Statement Analysis, 13th Edition By Charles H. ...Solution Manual For Financial Statement Analysis, 13th Edition By Charles H. ...
Solution Manual For Financial Statement Analysis, 13th Edition By Charles H. ...rightmanforbloodline
 
cost-volume-profit analysis.ppt(managerial accounting).pptx
cost-volume-profit analysis.ppt(managerial accounting).pptxcost-volume-profit analysis.ppt(managerial accounting).pptx
cost-volume-profit analysis.ppt(managerial accounting).pptxazadalisthp2020i
 
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...Henry Tapper
 
2999,Vashi Fantastic Ellete Call Girls📞📞9833754194 CBD Belapur Genuine Call G...
2999,Vashi Fantastic Ellete Call Girls📞📞9833754194 CBD Belapur Genuine Call G...2999,Vashi Fantastic Ellete Call Girls📞📞9833754194 CBD Belapur Genuine Call G...
2999,Vashi Fantastic Ellete Call Girls📞📞9833754194 CBD Belapur Genuine Call G...priyasharma62062
 
Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...
Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...
Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...kajalverma014
 
Mahendragarh Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Mahendragarh Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsMahendragarh Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Mahendragarh Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsDeepika Singh
 
logistics industry development power point ppt.pdf
logistics industry development power point ppt.pdflogistics industry development power point ppt.pdf
logistics industry development power point ppt.pdfSalimullah13
 
✂️ 👅 Independent Bhubaneswar Escorts Odisha Call Girls With Room Bhubaneswar ...
✂️ 👅 Independent Bhubaneswar Escorts Odisha Call Girls With Room Bhubaneswar ...✂️ 👅 Independent Bhubaneswar Escorts Odisha Call Girls With Room Bhubaneswar ...
✂️ 👅 Independent Bhubaneswar Escorts Odisha Call Girls With Room Bhubaneswar ...Call Girls Mumbai
 
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...janibaber266
 
Pension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdfPension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdfHenry Tapper
 
Strategic Resources May 2024 Corporate Presentation
Strategic Resources May 2024 Corporate PresentationStrategic Resources May 2024 Corporate Presentation
Strategic Resources May 2024 Corporate PresentationAdnet Communications
 
Call Girls in Benson Town / 8250092165 Genuine Call girls with real Photos an...
Call Girls in Benson Town / 8250092165 Genuine Call girls with real Photos an...Call Girls in Benson Town / 8250092165 Genuine Call girls with real Photos an...
Call Girls in Benson Town / 8250092165 Genuine Call girls with real Photos an...kajal
 
Kopar Khairane Cheapest Call Girls✔✔✔9833754194 Nerul Premium Call Girls-Navi...
Kopar Khairane Cheapest Call Girls✔✔✔9833754194 Nerul Premium Call Girls-Navi...Kopar Khairane Cheapest Call Girls✔✔✔9833754194 Nerul Premium Call Girls-Navi...
Kopar Khairane Cheapest Call Girls✔✔✔9833754194 Nerul Premium Call Girls-Navi...priyasharma62062
 
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdf
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdfSeeman_Fiintouch_LLP_Newsletter_May-2024.pdf
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdfAshis Kumar Dey
 
GIFT City Overview India's Gateway to Global Finance
GIFT City Overview  India's Gateway to Global FinanceGIFT City Overview  India's Gateway to Global Finance
GIFT City Overview India's Gateway to Global FinanceGaurav Kanudawala
 

Último (20)

Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024
 
CBD Belapur((Thane)) Charming Call Girls📞❤9833754194 Kamothe Beautiful Call G...
CBD Belapur((Thane)) Charming Call Girls📞❤9833754194 Kamothe Beautiful Call G...CBD Belapur((Thane)) Charming Call Girls📞❤9833754194 Kamothe Beautiful Call G...
CBD Belapur((Thane)) Charming Call Girls📞❤9833754194 Kamothe Beautiful Call G...
 
Toronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdfToronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdf
 
Benefits & Risk Of Stock Loans
Benefits & Risk Of Stock LoansBenefits & Risk Of Stock Loans
Benefits & Risk Of Stock Loans
 
Explore Dual Citizenship in Africa | Citizenship Benefits & Requirements
Explore Dual Citizenship in Africa | Citizenship Benefits & RequirementsExplore Dual Citizenship in Africa | Citizenship Benefits & Requirements
Explore Dual Citizenship in Africa | Citizenship Benefits & Requirements
 
Solution Manual For Financial Statement Analysis, 13th Edition By Charles H. ...
Solution Manual For Financial Statement Analysis, 13th Edition By Charles H. ...Solution Manual For Financial Statement Analysis, 13th Edition By Charles H. ...
Solution Manual For Financial Statement Analysis, 13th Edition By Charles H. ...
 
cost-volume-profit analysis.ppt(managerial accounting).pptx
cost-volume-profit analysis.ppt(managerial accounting).pptxcost-volume-profit analysis.ppt(managerial accounting).pptx
cost-volume-profit analysis.ppt(managerial accounting).pptx
 
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
 
2999,Vashi Fantastic Ellete Call Girls📞📞9833754194 CBD Belapur Genuine Call G...
2999,Vashi Fantastic Ellete Call Girls📞📞9833754194 CBD Belapur Genuine Call G...2999,Vashi Fantastic Ellete Call Girls📞📞9833754194 CBD Belapur Genuine Call G...
2999,Vashi Fantastic Ellete Call Girls📞📞9833754194 CBD Belapur Genuine Call G...
 
Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...
Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...
Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...
 
Mahendragarh Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Mahendragarh Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsMahendragarh Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Mahendragarh Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
logistics industry development power point ppt.pdf
logistics industry development power point ppt.pdflogistics industry development power point ppt.pdf
logistics industry development power point ppt.pdf
 
✂️ 👅 Independent Bhubaneswar Escorts Odisha Call Girls With Room Bhubaneswar ...
✂️ 👅 Independent Bhubaneswar Escorts Odisha Call Girls With Room Bhubaneswar ...✂️ 👅 Independent Bhubaneswar Escorts Odisha Call Girls With Room Bhubaneswar ...
✂️ 👅 Independent Bhubaneswar Escorts Odisha Call Girls With Room Bhubaneswar ...
 
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
 
Pension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdfPension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdf
 
Strategic Resources May 2024 Corporate Presentation
Strategic Resources May 2024 Corporate PresentationStrategic Resources May 2024 Corporate Presentation
Strategic Resources May 2024 Corporate Presentation
 
Call Girls in Benson Town / 8250092165 Genuine Call girls with real Photos an...
Call Girls in Benson Town / 8250092165 Genuine Call girls with real Photos an...Call Girls in Benson Town / 8250092165 Genuine Call girls with real Photos an...
Call Girls in Benson Town / 8250092165 Genuine Call girls with real Photos an...
 
Kopar Khairane Cheapest Call Girls✔✔✔9833754194 Nerul Premium Call Girls-Navi...
Kopar Khairane Cheapest Call Girls✔✔✔9833754194 Nerul Premium Call Girls-Navi...Kopar Khairane Cheapest Call Girls✔✔✔9833754194 Nerul Premium Call Girls-Navi...
Kopar Khairane Cheapest Call Girls✔✔✔9833754194 Nerul Premium Call Girls-Navi...
 
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdf
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdfSeeman_Fiintouch_LLP_Newsletter_May-2024.pdf
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdf
 
GIFT City Overview India's Gateway to Global Finance
GIFT City Overview  India's Gateway to Global FinanceGIFT City Overview  India's Gateway to Global Finance
GIFT City Overview India's Gateway to Global Finance
 

Financial Networks VI - Correlation Networks

  • 1. Center for Financial Studies at the Goethe University PhD Mini-course Frankfurt, 25 January 2013 Financial Networks VI. Correlation Networks Dr. Kimmo Soramäki Founder and CEO FNA, www.fna.fi
  • 2. Agenda V. Inferring Links • Prices and returns • Controlling for common factors • Correlation and dependence • Significant correlations • Multiple Comparisons VI. Correlation Networks • Distance and Hierarchical Clustering • Minimum Spanning Tree & PMFG • Other filtering • Layout algorithms 2
  • 3. Hierarchical structure in financial markets 3
  • 4. Minimum Spanning Tree A spanning tree of a graph is a subgraph that: 1. is a tree and 2. connects all the nodes together Length of a tree is the sum of its links. Minimum spanning tree (MST) is a spanning tree with shortest length. MST reflects the hierarchical structure of the correlation matrix
  • 5. MST and Hierarchical Structure Source: R.N. Mantegna (1999). Hierarchical structure in nancial markets, Eur. Phys. J. B 11, 193-197 5
  • 6. 36 Single Linkage Clustering • A method for hierarchical clustering • Clusters based on similarity or distance • SLINK algorithm R. Sibson (1973). SLINK: an optimally efficient algorithm for the single-link cluster method. The Computer Journal (British Computer Society) 16 (1): 30–34. 6
  • 7. Example # build network from correlations buildbycorrelationd -file daxreturns-2011-recon.csv -missing Alert -preserve false # calculate distance corrdistance -p correlation -method gower # calculate single linkage clistering slink -p corrdistance # create heatmaps heatmap -sortv vertex_id -p correlation -symmetric true -cellsizedefault 13 - transition 0 -cellhover correlation -palette darkblue-lightgray-darkred - colordomain (-1)-1 -saveas daxheat-slink-Y 7
  • 8. Unordered, Principal Ordered by Cluster, Principal Component Removed Component Removed 8
  • 9. Radial tree -layout • Calculates coordinates for radial layout as presented in Bachmaier, Brandes and Schlieper (2005) • The layout allows definition of each arc length • Specific parameters of command radialtreeviz: – Arc length property (-p) : Arc property defining arc length. Optional. – Root vertex (-rootvertex) : Id of root vertex. The root vertex is placed in the middle of the screen. Due to the repositioning of the tree, nodes may be placed outside the canvas in other than the first network. Optional. – Optimal rotation (-rotation) : Rotates layout to minimize sum of vertex distances between subsequent networks. Optional. By default 'false'. – Scaling (-scale) : Scale of visualization: value/pixel. Christian Bachmaier, Ulrik Brandes, and Barbara Schlieper (2005). Drawing Phylogenetic Trees. Department of Computer & Information Science, University of 9 Konstanz, Germany
  • 10. Putting it all together # build network from correlations buildbycorrelationd -file daxreturns-2011.csv -missing Alert -savestdev -savereturns -preserve false # calculate distance corrdistance -p correlation -method gower # calculate single linkage clistering minst -p corrdistance # drop arcs not in MST dropa -e minst=false # calculate absolute correlation calcap -e 1-abs(correlation) -saveas vizdistance # create heatmaps radialtreeviz -p vizdistance -vlabel vertex_id -vsize stdev -transition 3000 -ahover correlation -saveas daxviz-MST 10
  • 11. Asset Trees Size of node reflects volatility (variance) of returns Links between nodes reflect 'backbone' correlations - short link = high correlation - long link = low correlation 11
  • 12. Circle Tree -visualization • Calculates coordinates for circle tree layout as presented in Bachmaier, Brandes and Schlieper (2005) • As before but instead of radialtreeviz: circletreeviz -vlabel vertex_id -vsize stdev -transition 3000 -ahover correlation -saveas daxviz-MST-circle 12
  • 13. Planar Maximally Filtered Graph Node size scales with degree • A complex graph with loops and cliques of up to 4 elements. It can be drawn on a planar surface without link crossings. • MST is contained in PMFG M. Tumminello, T. Ast, T. Di Matteo and R. N. Mantegna (2005). A Tool for Filtering Information in Complex Systems. PNAS vol. 102 no. 30 pp. 10421–10426 13
  • 14. PMFG -command # build network from correlations buildbycorrelationd -file daxreturns-2011.csv -missing Alert -savestdev -savereturns -preserve false # calculate distance corrdistance -p correlation -method gower # calculate single linkage clistering pmfg -p corrdistance # drop arcs not in MST dropa -e pmfg=false # calculate 1-absolute correlation calcap -e abs(correlation) -saveas vizdistance # calculate degree degree # create heatmaps frviz -vlabel vertex_id -vsize stdev -atransparency vizdistance -ahover correlation -transition 3000 -ahover correlation - arrows false -saveas daxviz-PMFG 14
  • 15. Partial Correlation • Measures the degree of association between two random variables • What is the direct relationship between Adidas and Allianz, controlling for BASF, BAYER, ... ? • We build regression models for Adidas and Allianz and look at the correlation of their model residuals (i.e. wgat left unexplained by the other factors) -> Partial correltation 15
  • 16. Example # build network from correlations buildbypartialcorrelationd -file daxreturns-2011.csv -missing Alert - savestdev -preserve false # show as heatmap heatmap -sortv vertex_id -p partial_correlation -symmetric true - cellsizedefault 13 -transition 0 -cellhover partial_correlation -palette darkblue-lightgray-darkred -colordomain (-1)-1 -saveas daxheat- partial-Y 16
  • 17. Correlations Partial Correlations 17
  • 18. NETS • Network Estimation for Time- Series • Forthcoming paper by Barigozzi and Brownlees • Estimates an unknown network structure from multivariate data • Captures both comtemporenous and serial dependence (partial correlations and lead/lag effects) 18
  • 19. Correlation filtering PMFG Balance between too much and too little information One of many methods to create networks from correlation/distance matrices – PMFGs, Partial Correlation Networks, Influence Networks, Granger Influence Network Causality, NETS, etc. New graph, information-theory, economics & statistics -based models are being actively developed 19
  • 20. Sammon’s Projection Proposed by John W. Sammon in IEEE Transactions on Computers 18: 401–409 (1969) A nonlinear projection method to map a high dimensional space onto a space of lower dimensionality. Example: Iris Setosa Iris Versicolor Iris Virginica 20
  • 21. Example # build network from correlations buildbycorrelationd -file daxreturns-2011.csv -missing Alert -savestdev -savereturns - preserve false # calculate distance corrdistance -p correlation -method gower # Calculate sammonlayout sammonlayouta -p corrdistance -saveerror true # Sum up error sumaforv -p error -saveas error # create heatmaps sammonaviz -p corrdistance -vlabel vertex_id -vsize error -transition 3000 -ahover error -saveas daxviz-Sammon-Y 21
  • 23. Tutorials • Tutorial 1 – Loading Networks into FNA • Tutorial 2 – Managing Data in FNA • Tutorial 3 – Network Summary Measures • Tutorial 4 – Centrality Measures • Tutorial 5 – Connectedness and Components • Tutorial 6 – Network Visualization • Tutorial 7 – Correlation Networks • Tutorial 8 – Payment System Simulations • Tutorial 9 – Analyzing Cross-Border Banking Exposures 23
  • 24. Blog, Library and Demos at www.fna.fi Dr. Kimmo Soramäki kimmo@soramaki.net Twitter: soramaki