SlideShare uma empresa Scribd logo
1 de 31
Baixar para ler offline
R packages for time-varying
networks and extremal dependence
Ivor Cribben
Department of Finance and Statistical Analysis
Alberta School of Business
NY R Conference
April 9th, 2016
Joint work with: Yi Yu, University of Cambridge
Nadia Frolova, University of Alberta
Correlation matrix
Time series
Precision matrix
Undirected graph
Time series
• Recently, there has been an increased interest in estimating time varying
dependence/undirected graphs.
• The static methods (covariance, correlation and precision matrices) all
have a natural time-varying analogue in conjunction with a sliding window.
Allen et al. (2012)
Time-varying dependence
• Hutchinson et al. (2013) and Lindquist et al. (2014) recently discussed the
limitations of the sliding window technique.
• We introduce a new method for estimating time varying dependence
without the use of a sliding window.
Time-varying dependence
Community detection
Time series
• We consider a data-driven technique, called Network Change Point
Detection (NCPD), for detecting change points in the community network
structure.
• NCPD
 detects temporal change points in the community network structure
 estimates the community network structure for data in the temporal
partition that falls between pairs of change points.
• It is assumed that the network remains constant within each partition.
Network Change Point Detection
NCPD
• Functional magnetic resonance imaging (fMRI) is a type of specialized MRI scan. It
is a non-invasive technique for studying brain activity.
• During the course of an fMRI experiment, a series of brain images are acquired
(one every 2s or so) while the subject performs a set of tasks.
fMRI data
Functional connectivity
Functional connectivity
Resting state fMRI data
• We evaluate the amount of change for each candidate change point by the
rotation from one subspace to another or the cosine of the principal
angles between these two subspaces.
• In the same spirit, when estimating the similarity of the networks across
different subjects, we can use the cosine of the principal angles between
their two partitions.
• The pair with the largest criterion value are the most similar networks.
Resting state fMRI data
Resting state fMRI data
• Future work - controls and subjects with brain disorders such as depression,
Alzheimer’s disease and schizophrenia.
• It is hoped that the large-scale temporal features resulting from the
description of connectivity from our novel method will lead to better
o diagnostic and
o prognostic indicators of the brain disorders.
• Parallel computing. Code available to download locally from
http://www.statslab.cam.ac.uk/yy366/
• The average time to run the algorithm on time series (T = 285, P = 116) was
132s on a dual core processor.
Computation
• There has been renewed interest in
understanding and modeling extreme events
– Climate
– Finance
• Extreme events are observations that occur in
the (left and right) tails of a distribution .
• By their nature they occur infrequently.
Extreme events
• The study of extreme events is very interesting.
• Here, we consider the temporal dependence between extreme events.
• This temporal dependence can either occur within a single time series or
between two or more time series.
Extreme events
• The extremogram is a flexible quantitative tool for measuring various
forms of extremal dependence in a stationary time series.
• In simple terms, the extremogram computes the extent to which a large
value of the time series has on a future value of the same time series or
another time series, h time-lags ahead.
• The application of the extremogram to financial time series data is apt
– heavy tails (extreme values) and
– clustering of extreme events over time.
The extremogram
• The data the extremogram considers are naturally rare, hence accurate
estimation of the extremogram requires large sample sizes.
• Fortunately, long time series are available in the field of finance.
• The extremogram and its derivatives can easily describe graphically and
quantitatively the size and persistence of the extreme value clusters.
The extremogram
• Assuming 𝑎 𝑚 is the (1 − 1/m)-quantile of the stationary distribution of a
time series 𝑋𝑡 , the sample extremogram based on the observations
𝑋1,…, 𝑋 𝑛 is given by
𝜌 𝐴,𝐵(ℎ) =
𝐼{𝑎 𝑚
−1 𝑋 𝑡+ℎ ∈ 𝐵, 𝑎 𝑚
−1 𝑋𝑡 ∈ 𝐵}𝑛−ℎ
𝑡=1
𝐼{𝑎 𝑚
−1 𝑋𝑡 ∈ 𝐴}𝑛
𝑡=1
• In practice, 𝑎 𝑚 is replaced by an empirical quantile of the time series 𝑋𝑡 .
For example, it could be replaced by the 0.9th, the 0.95th or the 0.99th
empirical quantile.
The sample extremogram
• We study the
1) persistence of extreme price outcomes in electricity markets and
2) the relationship between extreme events
across 5 regional electricity spot markets in Australia.
• Our study yields important insights into
1) extreme spot electricity prices
2) the persistence of such events
3) spillover effects and
4) the impact of interconnection within Australian electricity markets.
Spot electricity prices
Spot electricity prices
SA NSW
QLD TAS
The cross-extremogram
• We define the sample cross-extremogram for the bivariate time series
(𝑋𝑡, 𝑌𝑡) 𝑡∈ℤ
by
𝜌 𝐴,𝐵(ℎ) =
𝐼{𝑎 𝑚,𝑌
−1
𝑌 𝑡+ℎ ∈ 𝐵, 𝑎 𝑚,𝑋
−1
𝑋𝑡 ∈𝐴}𝑛−ℎ
𝑡=1
𝐼{𝑎 𝑚,𝑋
−1 𝑋𝑡 ∈ 𝐴}𝑛
𝑡=1
where 𝑎 𝑚,𝑋 and 𝑎 𝑚,𝑌 are replaced by the respective empirical
quantiles computed from (𝑋𝑡) 𝑡=1,…,𝑛 and (𝑌𝑡) 𝑡=1,…,𝑛, respectively.
Spot electricity prices
Sample cross-extremograms of half-hourly spot
electricity prices conditioning on price spikes in NSW.
(A) NSW → QLD, (B) NSW → SA, (C) NSW → TAS and
(D) NSW → VIC based on a sample period from
January 1, 2009 to March 31, 2015.
Spot electricity prices
• Our results are important for risk management and hedging decisions.
• In particular, market participants operating in several regional markets
simultaneously, such as large producers, retailers or merchant
interconnectors, clearly should apply extremograms for their planning, trading
and risk management decisions.
Trivariate extremogram
• For a stationary trivariate time series (𝑋𝑡, 𝑌𝑡, 𝑍𝑡) 𝑡∈ℤ
, many different variations of
the cross-extremogram can be defined depending on the context.
• For example, we may consider,
𝜌1(ℎ) =
𝐼{𝑋𝑡 > 𝑎 𝑚,1 and (𝑌 𝑡+ℎ > 𝑎 𝑚,2 or 𝑍 𝑡+ℎ > 𝑎 𝑚,3)}𝑛−ℎ
𝑡=1
𝐼{𝑋𝑡 >𝑎 𝑚,1}𝑛
𝑡=1
𝜌2(ℎ) =
𝐼{(𝑋𝑡 > 𝑎 𝑚,1 or 𝑌𝑡 > 𝑎 𝑚,2) and 𝑍 𝑡+ℎ > 𝑎 𝑚,3}𝑛−ℎ
𝑡=1
𝐼{𝑋𝑡 > 𝑎 𝑚,1 or 𝑌𝑡 > 𝑎 𝑚,2}𝑛
𝑡=1
where 𝑎 𝑚,1, 𝑎 𝑚,2 and 𝑎 𝑚,3 are chosen as the corresponding
empirical quantiles of 𝑋𝑡, 𝑌𝑡, and 𝑍𝑡, respectively.
Equity indices
𝜌1(ℎ) =
𝐼{𝐵𝐴𝐶𝑡 and (𝐶 𝑡+ℎ > 𝑎 𝑚,2 or 𝑀𝑆𝐹𝑇 𝑡+ℎ > 𝑎 𝑚,3)}𝑛−ℎ
𝑡=1
𝐼{𝐵𝐴𝐶𝑡 >𝑎 𝑚,1}𝑛
𝑡=1
Extremogram R package
Cribben, I., & Yu, Y. (2015) Estimating whole brain dynamics using spectral clustering. arXiv
preprint arXiv:1509.03730.
Davis, R.A., Mikosch, T., Cribben, I. (2012) Towards Estimating Extremal Serial Dependence via the
Bootstrapped Extremogram. Journal of Econometrics 170, 142–152.
Davis, R.A., Mikosch, T., Cribben, I. (2012) Estimating Extremal Dependence in Univariate and
Multivariate Time Series via the Extremogram. arXiv:1107.5592 [stat.ME]
Frolova, N., Cribben, I. (2015) extremogram: estimating extreme value dependence. R package
version 3.1.0.
References

Mais conteúdo relacionado

Mais procurados

Machine learning (11)
Machine learning (11)Machine learning (11)
Machine learning (11)
NYversity
 
Approaches to online quantile estimation
Approaches to online quantile estimationApproaches to online quantile estimation
Approaches to online quantile estimation
Data Con LA
 
Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...
Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...
Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...
wl820609
 

Mais procurados (20)

Parallel Optimization in Machine Learning
Parallel Optimization in Machine LearningParallel Optimization in Machine Learning
Parallel Optimization in Machine Learning
 
Machine learning (11)
Machine learning (11)Machine learning (11)
Machine learning (11)
 
Principal component analysis
Principal component analysisPrincipal component analysis
Principal component analysis
 
Cubist
CubistCubist
Cubist
 
Cs229 notes10
Cs229 notes10Cs229 notes10
Cs229 notes10
 
Dual-time Modeling and Forecasting in Consumer Banking (2016)
Dual-time Modeling and Forecasting in Consumer Banking (2016)Dual-time Modeling and Forecasting in Consumer Banking (2016)
Dual-time Modeling and Forecasting in Consumer Banking (2016)
 
Approaches to online quantile estimation
Approaches to online quantile estimationApproaches to online quantile estimation
Approaches to online quantile estimation
 
Computer Science Assignment Help
Computer Science Assignment Help Computer Science Assignment Help
Computer Science Assignment Help
 
Lightning talk at MLConf NYC 2015
Lightning talk at MLConf NYC 2015Lightning talk at MLConf NYC 2015
Lightning talk at MLConf NYC 2015
 
A multilevel automatic thresholding method based on a genetic algorithm for a...
A multilevel automatic thresholding method based on a genetic algorithm for a...A multilevel automatic thresholding method based on a genetic algorithm for a...
A multilevel automatic thresholding method based on a genetic algorithm for a...
 
"Principal Component Analysis - the original paper" presentation @ Papers We ...
"Principal Component Analysis - the original paper" presentation @ Papers We ..."Principal Component Analysis - the original paper" presentation @ Papers We ...
"Principal Component Analysis - the original paper" presentation @ Papers We ...
 
Introduction to R Graphics with ggplot2
Introduction to R Graphics with ggplot2Introduction to R Graphics with ggplot2
Introduction to R Graphics with ggplot2
 
PCA and SVD in brief
PCA and SVD in briefPCA and SVD in brief
PCA and SVD in brief
 
Breaking the Nonsmooth Barrier: A Scalable Parallel Method for Composite Opti...
Breaking the Nonsmooth Barrier: A Scalable Parallel Method for Composite Opti...Breaking the Nonsmooth Barrier: A Scalable Parallel Method for Composite Opti...
Breaking the Nonsmooth Barrier: A Scalable Parallel Method for Composite Opti...
 
Principal component analysis
Principal component analysisPrincipal component analysis
Principal component analysis
 
Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...
Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...
Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...
 
Large data with Scikit-learn - Boston Data Mining Meetup - Alex Perrier
Large data with Scikit-learn - Boston Data Mining Meetup  - Alex PerrierLarge data with Scikit-learn - Boston Data Mining Meetup  - Alex Perrier
Large data with Scikit-learn - Boston Data Mining Meetup - Alex Perrier
 
Linear regression on 1 terabytes of data? Some crazy observations and actions
Linear regression on 1 terabytes of data? Some crazy observations and actionsLinear regression on 1 terabytes of data? Some crazy observations and actions
Linear regression on 1 terabytes of data? Some crazy observations and actions
 
Pca ppt
Pca pptPca ppt
Pca ppt
 
Random Forest for Big Data
Random Forest for Big DataRandom Forest for Big Data
Random Forest for Big Data
 

Destaque

Destaque (19)

Data Science Challenges in Personal Program Analysis
Data Science Challenges in Personal Program AnalysisData Science Challenges in Personal Program Analysis
Data Science Challenges in Personal Program Analysis
 
High-Performance Python
High-Performance PythonHigh-Performance Python
High-Performance Python
 
Improving Data Interoperability for Python and R
Improving Data Interoperability for Python and RImproving Data Interoperability for Python and R
Improving Data Interoperability for Python and R
 
Iterating over statistical models: NCAA tournament edition
Iterating over statistical models: NCAA tournament editionIterating over statistical models: NCAA tournament edition
Iterating over statistical models: NCAA tournament edition
 
A Statistician Walks into a Tech Company: R at a Rapidly Scaling Healthcare S...
A Statistician Walks into a Tech Company: R at a Rapidly Scaling Healthcare S...A Statistician Walks into a Tech Company: R at a Rapidly Scaling Healthcare S...
A Statistician Walks into a Tech Company: R at a Rapidly Scaling Healthcare S...
 
Dr. Datascience or: How I Learned to Stop Munging and Love Tests
Dr. Datascience or: How I Learned to Stop Munging and Love TestsDr. Datascience or: How I Learned to Stop Munging and Love Tests
Dr. Datascience or: How I Learned to Stop Munging and Love Tests
 
Thinking Small About Big Data
Thinking Small About Big DataThinking Small About Big Data
Thinking Small About Big Data
 
Building Scalable Prediction Services in R
Building Scalable Prediction Services in RBuilding Scalable Prediction Services in R
Building Scalable Prediction Services in R
 
What We Learned Building an R-Python Hybrid Predictive Analytics Pipeline
What We Learned Building an R-Python Hybrid Predictive Analytics PipelineWhat We Learned Building an R-Python Hybrid Predictive Analytics Pipeline
What We Learned Building an R-Python Hybrid Predictive Analytics Pipeline
 
Julia + R for Data Science
Julia + R for Data ScienceJulia + R for Data Science
Julia + R for Data Science
 
R for Everything
R for EverythingR for Everything
R for Everything
 
Using R at NYT Graphics
Using R at NYT GraphicsUsing R at NYT Graphics
Using R at NYT Graphics
 
Scaling Analysis Responsibly
Scaling Analysis ResponsiblyScaling Analysis Responsibly
Scaling Analysis Responsibly
 
Scaling Data Science at Airbnb
Scaling Data Science at AirbnbScaling Data Science at Airbnb
Scaling Data Science at Airbnb
 
Inside the R Consortium
Inside the R ConsortiumInside the R Consortium
Inside the R Consortium
 
Reflection on the Data Science Profession in NYC
Reflection on the Data Science Profession in NYCReflection on the Data Science Profession in NYC
Reflection on the Data Science Profession in NYC
 
Analyzing NYC Transit Data
Analyzing NYC Transit DataAnalyzing NYC Transit Data
Analyzing NYC Transit Data
 
The Feels
The FeelsThe Feels
The Feels
 
The Political Impact of Social Penumbras
The Political Impact of Social PenumbrasThe Political Impact of Social Penumbras
The Political Impact of Social Penumbras
 

Semelhante a R Packages for Time-Varying Networks and Extremal Dependence

SSC20160524
SSC20160524SSC20160524
SSC20160524
Dexen Xi
 
1 lab basicstatisticsfall2013
1 lab basicstatisticsfall20131 lab basicstatisticsfall2013
1 lab basicstatisticsfall2013
TAMUK
 
Graph Sample and Hold: A Framework for Big Graph Analytics
Graph Sample and Hold: A Framework for Big Graph AnalyticsGraph Sample and Hold: A Framework for Big Graph Analytics
Graph Sample and Hold: A Framework for Big Graph Analytics
Nesreen K. Ahmed
 
B.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blastB.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blast
Rai University
 

Semelhante a R Packages for Time-Varying Networks and Extremal Dependence (20)

Time Series Analysis.pptx
Time Series Analysis.pptxTime Series Analysis.pptx
Time Series Analysis.pptx
 
Modern power system planning new
Modern power system planning newModern power system planning new
Modern power system planning new
 
SSC20160524
SSC20160524SSC20160524
SSC20160524
 
1 lab basicstatisticsfall2013
1 lab basicstatisticsfall20131 lab basicstatisticsfall2013
1 lab basicstatisticsfall2013
 
Episode 12 : Research Methodology ( Part 2 )
Episode 12 :  Research Methodology ( Part 2 )Episode 12 :  Research Methodology ( Part 2 )
Episode 12 : Research Methodology ( Part 2 )
 
Episode 18 : Research Methodology ( Part 8 )
Episode 18 :  Research Methodology ( Part 8 )Episode 18 :  Research Methodology ( Part 8 )
Episode 18 : Research Methodology ( Part 8 )
 
Time series analysis
Time series analysisTime series analysis
Time series analysis
 
Graph Sample and Hold: A Framework for Big Graph Analytics
Graph Sample and Hold: A Framework for Big Graph AnalyticsGraph Sample and Hold: A Framework for Big Graph Analytics
Graph Sample and Hold: A Framework for Big Graph Analytics
 
301 ayodele
301 ayodele301 ayodele
301 ayodele
 
Md simulation and stochastic simulation
Md simulation and stochastic simulationMd simulation and stochastic simulation
Md simulation and stochastic simulation
 
Av 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background MaterialAv 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background Material
 
Development, Optimization, and Analysis of Cellular Automaton Algorithms to S...
Development, Optimization, and Analysis of Cellular Automaton Algorithms to S...Development, Optimization, and Analysis of Cellular Automaton Algorithms to S...
Development, Optimization, and Analysis of Cellular Automaton Algorithms to S...
 
Storm Prediction data analysis using R/SAS
Storm Prediction data analysis using R/SASStorm Prediction data analysis using R/SAS
Storm Prediction data analysis using R/SAS
 
Energy efficiency in wireless sensor network(ce 16 aniket choudhury)
Energy efficiency in wireless sensor network(ce 16 aniket choudhury)Energy efficiency in wireless sensor network(ce 16 aniket choudhury)
Energy efficiency in wireless sensor network(ce 16 aniket choudhury)
 
Aq4201280292
Aq4201280292Aq4201280292
Aq4201280292
 
Pakdd
PakddPakdd
Pakdd
 
Forecasting of electric consumption in a semiconductor plant using time serie...
Forecasting of electric consumption in a semiconductor plant using time serie...Forecasting of electric consumption in a semiconductor plant using time serie...
Forecasting of electric consumption in a semiconductor plant using time serie...
 
Enm fy17nano qsar
Enm fy17nano qsarEnm fy17nano qsar
Enm fy17nano qsar
 
B.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blastB.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blast
 
B.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blastB.sc biochem i bobi u 3.2 algorithm + blast
B.sc biochem i bobi u 3.2 algorithm + blast
 

Mais de Work-Bench

Cloud Native Infrastructure Management Solutions Compared
Cloud Native Infrastructure Management Solutions ComparedCloud Native Infrastructure Management Solutions Compared
Cloud Native Infrastructure Management Solutions Compared
Work-Bench
 

Mais de Work-Bench (8)

2017 Enterprise Almanac
2017 Enterprise Almanac2017 Enterprise Almanac
2017 Enterprise Almanac
 
AI to Enable Next Generation of People Managers
AI to Enable Next Generation of People ManagersAI to Enable Next Generation of People Managers
AI to Enable Next Generation of People Managers
 
Startup Recruiting Workbook: Sourcing and Interview Process
Startup Recruiting Workbook: Sourcing and Interview ProcessStartup Recruiting Workbook: Sourcing and Interview Process
Startup Recruiting Workbook: Sourcing and Interview Process
 
Cloud Native Infrastructure Management Solutions Compared
Cloud Native Infrastructure Management Solutions ComparedCloud Native Infrastructure Management Solutions Compared
Cloud Native Infrastructure Management Solutions Compared
 
Building a Demand Generation Machine at MongoDB
Building a Demand Generation Machine at MongoDBBuilding a Demand Generation Machine at MongoDB
Building a Demand Generation Machine at MongoDB
 
How to Market Your Startup to the Enterprise
How to Market Your Startup to the EnterpriseHow to Market Your Startup to the Enterprise
How to Market Your Startup to the Enterprise
 
Marketing & Design for the Enterprise
Marketing & Design for the EnterpriseMarketing & Design for the Enterprise
Marketing & Design for the Enterprise
 
Playing the Marketing Long Game
Playing the Marketing Long GamePlaying the Marketing Long Game
Playing the Marketing Long Game
 

Último

Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
amitlee9823
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
amitlee9823
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
amitlee9823
 
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
gajnagarg
 
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
gajnagarg
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
gajnagarg
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
only4webmaster01
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
amitlee9823
 

Último (20)

Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 

R Packages for Time-Varying Networks and Extremal Dependence

  • 1. R packages for time-varying networks and extremal dependence Ivor Cribben Department of Finance and Statistical Analysis Alberta School of Business NY R Conference April 9th, 2016 Joint work with: Yi Yu, University of Cambridge Nadia Frolova, University of Alberta
  • 3. Time series • Recently, there has been an increased interest in estimating time varying dependence/undirected graphs. • The static methods (covariance, correlation and precision matrices) all have a natural time-varying analogue in conjunction with a sliding window.
  • 4. Allen et al. (2012) Time-varying dependence
  • 5. • Hutchinson et al. (2013) and Lindquist et al. (2014) recently discussed the limitations of the sliding window technique. • We introduce a new method for estimating time varying dependence without the use of a sliding window. Time-varying dependence
  • 8. • We consider a data-driven technique, called Network Change Point Detection (NCPD), for detecting change points in the community network structure. • NCPD  detects temporal change points in the community network structure  estimates the community network structure for data in the temporal partition that falls between pairs of change points. • It is assumed that the network remains constant within each partition. Network Change Point Detection
  • 10. • Functional magnetic resonance imaging (fMRI) is a type of specialized MRI scan. It is a non-invasive technique for studying brain activity. • During the course of an fMRI experiment, a series of brain images are acquired (one every 2s or so) while the subject performs a set of tasks. fMRI data
  • 14. • We evaluate the amount of change for each candidate change point by the rotation from one subspace to another or the cosine of the principal angles between these two subspaces. • In the same spirit, when estimating the similarity of the networks across different subjects, we can use the cosine of the principal angles between their two partitions. • The pair with the largest criterion value are the most similar networks. Resting state fMRI data
  • 15. Resting state fMRI data • Future work - controls and subjects with brain disorders such as depression, Alzheimer’s disease and schizophrenia. • It is hoped that the large-scale temporal features resulting from the description of connectivity from our novel method will lead to better o diagnostic and o prognostic indicators of the brain disorders.
  • 16. • Parallel computing. Code available to download locally from http://www.statslab.cam.ac.uk/yy366/ • The average time to run the algorithm on time series (T = 285, P = 116) was 132s on a dual core processor. Computation
  • 17.
  • 18. • There has been renewed interest in understanding and modeling extreme events – Climate – Finance • Extreme events are observations that occur in the (left and right) tails of a distribution . • By their nature they occur infrequently. Extreme events
  • 19. • The study of extreme events is very interesting. • Here, we consider the temporal dependence between extreme events. • This temporal dependence can either occur within a single time series or between two or more time series. Extreme events
  • 20. • The extremogram is a flexible quantitative tool for measuring various forms of extremal dependence in a stationary time series. • In simple terms, the extremogram computes the extent to which a large value of the time series has on a future value of the same time series or another time series, h time-lags ahead. • The application of the extremogram to financial time series data is apt – heavy tails (extreme values) and – clustering of extreme events over time. The extremogram
  • 21. • The data the extremogram considers are naturally rare, hence accurate estimation of the extremogram requires large sample sizes. • Fortunately, long time series are available in the field of finance. • The extremogram and its derivatives can easily describe graphically and quantitatively the size and persistence of the extreme value clusters. The extremogram
  • 22. • Assuming 𝑎 𝑚 is the (1 − 1/m)-quantile of the stationary distribution of a time series 𝑋𝑡 , the sample extremogram based on the observations 𝑋1,…, 𝑋 𝑛 is given by 𝜌 𝐴,𝐵(ℎ) = 𝐼{𝑎 𝑚 −1 𝑋 𝑡+ℎ ∈ 𝐵, 𝑎 𝑚 −1 𝑋𝑡 ∈ 𝐵}𝑛−ℎ 𝑡=1 𝐼{𝑎 𝑚 −1 𝑋𝑡 ∈ 𝐴}𝑛 𝑡=1 • In practice, 𝑎 𝑚 is replaced by an empirical quantile of the time series 𝑋𝑡 . For example, it could be replaced by the 0.9th, the 0.95th or the 0.99th empirical quantile. The sample extremogram
  • 23. • We study the 1) persistence of extreme price outcomes in electricity markets and 2) the relationship between extreme events across 5 regional electricity spot markets in Australia. • Our study yields important insights into 1) extreme spot electricity prices 2) the persistence of such events 3) spillover effects and 4) the impact of interconnection within Australian electricity markets. Spot electricity prices
  • 25. The cross-extremogram • We define the sample cross-extremogram for the bivariate time series (𝑋𝑡, 𝑌𝑡) 𝑡∈ℤ by 𝜌 𝐴,𝐵(ℎ) = 𝐼{𝑎 𝑚,𝑌 −1 𝑌 𝑡+ℎ ∈ 𝐵, 𝑎 𝑚,𝑋 −1 𝑋𝑡 ∈𝐴}𝑛−ℎ 𝑡=1 𝐼{𝑎 𝑚,𝑋 −1 𝑋𝑡 ∈ 𝐴}𝑛 𝑡=1 where 𝑎 𝑚,𝑋 and 𝑎 𝑚,𝑌 are replaced by the respective empirical quantiles computed from (𝑋𝑡) 𝑡=1,…,𝑛 and (𝑌𝑡) 𝑡=1,…,𝑛, respectively.
  • 26. Spot electricity prices Sample cross-extremograms of half-hourly spot electricity prices conditioning on price spikes in NSW. (A) NSW → QLD, (B) NSW → SA, (C) NSW → TAS and (D) NSW → VIC based on a sample period from January 1, 2009 to March 31, 2015.
  • 27. Spot electricity prices • Our results are important for risk management and hedging decisions. • In particular, market participants operating in several regional markets simultaneously, such as large producers, retailers or merchant interconnectors, clearly should apply extremograms for their planning, trading and risk management decisions.
  • 28. Trivariate extremogram • For a stationary trivariate time series (𝑋𝑡, 𝑌𝑡, 𝑍𝑡) 𝑡∈ℤ , many different variations of the cross-extremogram can be defined depending on the context. • For example, we may consider, 𝜌1(ℎ) = 𝐼{𝑋𝑡 > 𝑎 𝑚,1 and (𝑌 𝑡+ℎ > 𝑎 𝑚,2 or 𝑍 𝑡+ℎ > 𝑎 𝑚,3)}𝑛−ℎ 𝑡=1 𝐼{𝑋𝑡 >𝑎 𝑚,1}𝑛 𝑡=1 𝜌2(ℎ) = 𝐼{(𝑋𝑡 > 𝑎 𝑚,1 or 𝑌𝑡 > 𝑎 𝑚,2) and 𝑍 𝑡+ℎ > 𝑎 𝑚,3}𝑛−ℎ 𝑡=1 𝐼{𝑋𝑡 > 𝑎 𝑚,1 or 𝑌𝑡 > 𝑎 𝑚,2}𝑛 𝑡=1 where 𝑎 𝑚,1, 𝑎 𝑚,2 and 𝑎 𝑚,3 are chosen as the corresponding empirical quantiles of 𝑋𝑡, 𝑌𝑡, and 𝑍𝑡, respectively.
  • 29. Equity indices 𝜌1(ℎ) = 𝐼{𝐵𝐴𝐶𝑡 and (𝐶 𝑡+ℎ > 𝑎 𝑚,2 or 𝑀𝑆𝐹𝑇 𝑡+ℎ > 𝑎 𝑚,3)}𝑛−ℎ 𝑡=1 𝐼{𝐵𝐴𝐶𝑡 >𝑎 𝑚,1}𝑛 𝑡=1
  • 31. Cribben, I., & Yu, Y. (2015) Estimating whole brain dynamics using spectral clustering. arXiv preprint arXiv:1509.03730. Davis, R.A., Mikosch, T., Cribben, I. (2012) Towards Estimating Extremal Serial Dependence via the Bootstrapped Extremogram. Journal of Econometrics 170, 142–152. Davis, R.A., Mikosch, T., Cribben, I. (2012) Estimating Extremal Dependence in Univariate and Multivariate Time Series via the Extremogram. arXiv:1107.5592 [stat.ME] Frolova, N., Cribben, I. (2015) extremogram: estimating extreme value dependence. R package version 3.1.0. References