SlideShare ist ein Scribd-Unternehmen logo
1 von 15
AUTO-CORRELATION AND
CROSS-CORRELATION
DR.MRINMOY MAJUMDER (ORCID ID : 0000-0001-6231-5989)
Available at : “ LEARN ABOUT SOFT-COMPUTATION FOR OPTIMIZATION”-
www.utilizeoptimally.com
Lecture 1 of “INTRODUCTION TO DATA ANALYSIS TECHNIQUES” course and “HYDRO-
INFORMATICS”/”ADVANCED OPTIMIZATION TECHNIQUES” of MTECH(HIE)
AUTO-CORRELATION
DEFINITION
• The degree of correlation between adjacent values of the same time series.
• The analysis usually examines the changes in correlation as the separation
distance increases
• The separation distance is called the lag and is denoted by the letter tau or t
• The correlation between the adjacent time series is known as Lag 1 Auto
Correlation
• The correlation between the values separated by two time interval is known as
Lag 2 Auto Correlation
• A plot of the auto correlation coefficient vs lag is called the correlogram
PEARSON PRODUCT-MOMENT CORRELATION COEFFICIENT BETWEEN TWO
ADJACENT DATASET OF SAME TIMESERIES SEPARATED BY A DISTANCE OF TAU
• If A = Sum of the product of xi and xi+t from i
= 1 to N-t ( N is the total no. of data point in
the series)
• B = Sum of xi from i=1 to N-t
• C = Sum of xi from i=t+1 to N
• Let D = N-t
• If E = Sum of the square of xi from i=1 to N-t
• F= Sum of the square of xi from i=t+1 to N
• Then,
• R(t)
• = t-lag Auto Correlation Coefficient
•
𝐴−𝐷−1(𝐵×𝐶)
𝐸−𝐷−1 𝐵2 × 𝐹−𝐷−1 C2
M
NO
POINTS TO REMEMBER
• At t = 0, R(t) = 1
• As t increases values to calculate R(t) decreases and correlogram begin to
oscillate
• Maximum value of t must be equal to or less than 10% of N
• Strong secular trend = high auto correlation for small lags
• Periodic trend = peak of correlogram occurring at the period of the component
HOW TO CALCULATE
AUTOCORRELATION COEFFICIENT
1) The procedure to calculate R(t) begins with the creation of a table where the first
column will indicate the value of i.
2) Second column will depict the value of xi
3) Third column will show the value of xi+t
4) Fourth column will indicate the value of square of xi
5) After deducing the value of D, the fifth to ninth column will depict the value of
respectively A,B,C,E and F (As indicated in Pearson Product.. slide).
6) The tenth column will show the value of R(t) after calculating the same as per the
equation given in Pearson Product.. slide.
AUTOCORRELATION EXAMPLE : PROBLEM
• Calculate the lag-1 autocorrelation coefficient of the following data series :
4
3
5
4
6
5
8
Indicate the range within the dataset taken for calculation of B
Indicate the range within the dataset taken for calculation of C
Indicate the range within the dataset taken for calculation of E
Indicate the range within the dataset taken for calculation of F
AUTOCORRELATION EXAMPLE : SOLUTION
What is
M,N,O ??
CROSS CORRELATION
DEFINITION
• Objective is to identify the significance of correlation and thus the predictability
between two time series
• Cross-correlation coefficients can be plotted against lag to produce Cross-
correlogram
• Calculation of coefficient is same like that of deduction of the auto-correlation
coefficient
• Only the xi+t term is replaced by yi+t where y represents the data point of the other
series
DIFFERENCE BETWEEN AUTO(A) AND CROSS(C)
CORRELATION
For A : value of coefficient at lag = 0 is always 1
For C : can take any value between - 1 to + 1
For A : peak of correlogram can be found at lag = 0
For C : peak of cross-correlogram can be observed at any lag other than 0
For A : calculation of positive lags is enough
For C : calculation of both positive and negative lag is required if both are physically
feasible
(rainfall of today will have zero impact on the runoff of yesterday)
CALCULATION OF CROSS-CORRELATION COEFFICIENT BETWEEN TWO TIME SERIES
XI (INDEPENDENT/CAUSE) AND YI (DEPENDANT/EFFECT)
• If A = Sum of the product of xi and yi+T from i =
1 to N- T ( N is the total no. of data point in
the series)
• B = Sum of xi from i=1 to N- T
• C = Sum of yi from i=T+1 to N
• Let D = N- T
• If E = Sum of the square of xi from i=1 to N-T
• F= Sum of the square of yi from i=1+T to N
• G = Sum of yi from i=1 +T to N
• Then,
• Rc(T)
• = T-lag Cross Correlation Coefficient
•
𝐴−𝐷−1(𝐵×𝐶)
𝐸−𝐷−1 𝐵2 × 𝐹−𝐷−1 G2
M
NO
Note : Here the absolute value of tau(T) is considered
HOW TO CALCULATE CROSS-CORRELATION COEFFICIENT
1) The procedure to calculate R(T) begins with the creation of a table where the first column will
indicate the value of i.
2) Second column will depict the value of xi
3) Third column will indicate the value of yi
4) Fourth column will show the value of yi+T
5) Fifth column will indicate the value of square of xi
6) Sixth column will depict the value of square of yi
7) After deducing the value of D, the seventh to eleventh column will depict the value of respectively
A,B,C,E and F (As indicated in twelvth slide).C and G is generally the same factor if tau is positive.
8) The tenth column will show the value of R(t) after calculating the same as per the equation given
in twelvth slide
CROSS CORRELATION EXAMPLE : PROBLEM
• Calculate the lag-1 cross-correlation coefficient of the following data series :
Indicate the range within the dataset taken for calculation of B
Indicate the range within the dataset taken for calculation of C
Indicate the range within the dataset taken for calculation of E
Indicate the range within the dataset taken for calculation of F
i xi yi
1 5 2.5
2 4.8 2.1
3 3.7 2
4 2.8 1.3
5 3.6 1.7
6 3.3 2
7 2.9 1.8
CROSS CORRELATION EXAMPLE : SOLUTION
What is
M,N,O ??

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Digital communication systems unit 1
Digital communication systems unit 1Digital communication systems unit 1
Digital communication systems unit 1
 
Companding & Pulse Code Modulation
Companding & Pulse Code ModulationCompanding & Pulse Code Modulation
Companding & Pulse Code Modulation
 
DPCM
DPCMDPCM
DPCM
 
Power amplifiers
Power amplifiersPower amplifiers
Power amplifiers
 
DSP_2018_FOEHU - Lec 04 - The z-Transform
DSP_2018_FOEHU - Lec 04 - The z-TransformDSP_2018_FOEHU - Lec 04 - The z-Transform
DSP_2018_FOEHU - Lec 04 - The z-Transform
 
Chapter5 - The Discrete-Time Fourier Transform
Chapter5 - The Discrete-Time Fourier TransformChapter5 - The Discrete-Time Fourier Transform
Chapter5 - The Discrete-Time Fourier Transform
 
4.Sampling and Hilbert Transform
4.Sampling and Hilbert Transform4.Sampling and Hilbert Transform
4.Sampling and Hilbert Transform
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filters
 
Dsp lecture vol 7 adaptive filter
Dsp lecture vol 7 adaptive filterDsp lecture vol 7 adaptive filter
Dsp lecture vol 7 adaptive filter
 
Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and Interpolation
 
Properties of dft
Properties of dftProperties of dft
Properties of dft
 
quantization
quantizationquantization
quantization
 
Amplitude modulation & demodulation
Amplitude modulation & demodulation Amplitude modulation & demodulation
Amplitude modulation & demodulation
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier Transform
 
Electromagnetic Field Theory Lecture Notes
Electromagnetic Field Theory Lecture NotesElectromagnetic Field Theory Lecture Notes
Electromagnetic Field Theory Lecture Notes
 
Lti system
Lti systemLti system
Lti system
 
3.Frequency Domain Representation of Signals and Systems
3.Frequency Domain Representation of Signals and Systems3.Frequency Domain Representation of Signals and Systems
3.Frequency Domain Representation of Signals and Systems
 
waveguide-1
waveguide-1waveguide-1
waveguide-1
 
Chirp z algorithm 1
Chirp z algorithm 1Chirp z algorithm 1
Chirp z algorithm 1
 
QUANTIZATION ERROR AND NOISE
QUANTIZATION ERROR AND NOISEQUANTIZATION ERROR AND NOISE
QUANTIZATION ERROR AND NOISE
 

Ähnlich wie Auto correlation and cross-correlation

Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
Kemal İnciroğlu
 
Electric Circuits LabInstructor -----------Serie.docx
Electric Circuits LabInstructor  -----------Serie.docxElectric Circuits LabInstructor  -----------Serie.docx
Electric Circuits LabInstructor -----------Serie.docx
pauline234567
 
Write down the four (4) nonlinear regression models covered in class,.pdf
Write down the four (4) nonlinear regression models covered in class,.pdfWrite down the four (4) nonlinear regression models covered in class,.pdf
Write down the four (4) nonlinear regression models covered in class,.pdf
jyothimuppasani1
 
communication system Chapter 2
communication system Chapter 2communication system Chapter 2
communication system Chapter 2
moeen khan afridi
 
Dd 160506122947-160630175555-160701121726
Dd 160506122947-160630175555-160701121726Dd 160506122947-160630175555-160701121726
Dd 160506122947-160630175555-160701121726
marangburu42
 
Cost Behavior
Cost BehaviorCost Behavior
Cost Behavior
AIS_USU
 
Adjusting PageRank parameters and comparing results : REPORT
Adjusting PageRank parameters and comparing results : REPORTAdjusting PageRank parameters and comparing results : REPORT
Adjusting PageRank parameters and comparing results : REPORT
Subhajit Sahu
 
Adjusting PageRank parameters and comparing results : REPORT
Adjusting PageRank parameters and comparing results : REPORTAdjusting PageRank parameters and comparing results : REPORT
Adjusting PageRank parameters and comparing results : REPORT
Subhajit Sahu
 
ENG3104 Engineering Simulations and Computations Semester 2, 2.docx
ENG3104 Engineering Simulations and Computations Semester 2, 2.docxENG3104 Engineering Simulations and Computations Semester 2, 2.docx
ENG3104 Engineering Simulations and Computations Semester 2, 2.docx
YASHU40
 

Ähnlich wie Auto correlation and cross-correlation (20)

MATLAB review questions 2014 15
MATLAB review questions 2014 15MATLAB review questions 2014 15
MATLAB review questions 2014 15
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
 
Electric Circuits LabInstructor -----------Serie.docx
Electric Circuits LabInstructor  -----------Serie.docxElectric Circuits LabInstructor  -----------Serie.docx
Electric Circuits LabInstructor -----------Serie.docx
 
Environmental Engineering Assignment Help
Environmental Engineering Assignment HelpEnvironmental Engineering Assignment Help
Environmental Engineering Assignment Help
 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
 
report
reportreport
report
 
BS LAB Manual (1).pdf
BS LAB Manual  (1).pdfBS LAB Manual  (1).pdf
BS LAB Manual (1).pdf
 
Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...
 
DATA ANALYSIS IN PHYSICS.pdf
DATA  ANALYSIS IN PHYSICS.pdfDATA  ANALYSIS IN PHYSICS.pdf
DATA ANALYSIS IN PHYSICS.pdf
 
Research on the Stability of the Grade Structure of a University Title
Research on the Stability of the Grade Structure of a University TitleResearch on the Stability of the Grade Structure of a University Title
Research on the Stability of the Grade Structure of a University Title
 
from_data_to_differential_equations.ppt
from_data_to_differential_equations.pptfrom_data_to_differential_equations.ppt
from_data_to_differential_equations.ppt
 
Write down the four (4) nonlinear regression models covered in class,.pdf
Write down the four (4) nonlinear regression models covered in class,.pdfWrite down the four (4) nonlinear regression models covered in class,.pdf
Write down the four (4) nonlinear regression models covered in class,.pdf
 
communication system Chapter 2
communication system Chapter 2communication system Chapter 2
communication system Chapter 2
 
Dd 160506122947-160630175555-160701121726
Dd 160506122947-160630175555-160701121726Dd 160506122947-160630175555-160701121726
Dd 160506122947-160630175555-160701121726
 
Conversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable modelsConversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable models
 
Cost Behavior
Cost BehaviorCost Behavior
Cost Behavior
 
Adjusting PageRank parameters and comparing results : REPORT
Adjusting PageRank parameters and comparing results : REPORTAdjusting PageRank parameters and comparing results : REPORT
Adjusting PageRank parameters and comparing results : REPORT
 
Adjusting PageRank parameters and comparing results : REPORT
Adjusting PageRank parameters and comparing results : REPORTAdjusting PageRank parameters and comparing results : REPORT
Adjusting PageRank parameters and comparing results : REPORT
 
GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...
GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...
GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...
 
ENG3104 Engineering Simulations and Computations Semester 2, 2.docx
ENG3104 Engineering Simulations and Computations Semester 2, 2.docxENG3104 Engineering Simulations and Computations Semester 2, 2.docx
ENG3104 Engineering Simulations and Computations Semester 2, 2.docx
 

Mehr von Mrinmoy Majumder

Introduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization TechniquesIntroduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization Techniques
Mrinmoy Majumder
 
Ten Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptxTen Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptx
Mrinmoy Majumder
 
10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for Papers10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for Papers
Mrinmoy Majumder
 
Water and Energy in style
Water and Energy in styleWater and Energy in style
Water and Energy in style
Mrinmoy Majumder
 
Latest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptxLatest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptx
Mrinmoy Majumder
 

Mehr von Mrinmoy Majumder (20)

Introduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization TechniquesIntroduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization Techniques
 
Ten Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptxTen Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptx
 
When was the first bottled drinking water sold.pptx
When was the first bottled drinking water sold.pptxWhen was the first bottled drinking water sold.pptx
When was the first bottled drinking water sold.pptx
 
Fluid Mechanics : Five Factos from History
Fluid Mechanics : Five Factos from HistoryFluid Mechanics : Five Factos from History
Fluid Mechanics : Five Factos from History
 
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...
 
10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for Papers10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for Papers
 
Ten Ideas to open startups in smart agriculture
Ten Ideas to open startups in smart agricultureTen Ideas to open startups in smart agriculture
Ten Ideas to open startups in smart agriculture
 
Explore the latest advancements in hydro and energy informatics with seven ne...
Explore the latest advancements in hydro and energy informatics with seven ne...Explore the latest advancements in hydro and energy informatics with seven ne...
Explore the latest advancements in hydro and energy informatics with seven ne...
 
An Introduction to Water Cycle Algorithm
An Introduction to Water Cycle AlgorithmAn Introduction to Water Cycle Algorithm
An Introduction to Water Cycle Algorithm
 
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...What is the difference between Free and Paid Subscriber of HydroGeek Newslett...
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...
 
Ten Most Recognizable Case Studies of Using Outlier.pptx
Ten Most Recognizable Case Studies of Using Outlier.pptxTen Most Recognizable Case Studies of Using Outlier.pptx
Ten Most Recognizable Case Studies of Using Outlier.pptx
 
Five Ideas for opening startups in Virtual and Green Water
Five Ideas for opening startups in Virtual and Green WaterFive Ideas for opening startups in Virtual and Green Water
Five Ideas for opening startups in Virtual and Green Water
 
Water and Energy in style
Water and Energy in styleWater and Energy in style
Water and Energy in style
 
What is next in AI ML Modeling of Water Resource Development.pdf
What is next in AI  ML Modeling of Water Resource Development.pdfWhat is next in AI  ML Modeling of Water Resource Development.pdf
What is next in AI ML Modeling of Water Resource Development.pdf
 
Very Short Term Course on MAUT in Water Resource Management.pdf
Very Short Term Course on MAUT in Water Resource Management.pdfVery Short Term Course on MAUT in Water Resource Management.pdf
Very Short Term Course on MAUT in Water Resource Management.pdf
 
Most Recommended news,products and publications from hydroinformatics
Most Recommended news,products and publications from hydroinformaticsMost Recommended news,products and publications from hydroinformatics
Most Recommended news,products and publications from hydroinformatics
 
Latest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptxLatest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptx
 
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...
 
Five New Ideas of Start Up under Hydro.pptx
Five New Ideas of Start Up under Hydro.pptxFive New Ideas of Start Up under Hydro.pptx
Five New Ideas of Start Up under Hydro.pptx
 
Five Example Application of Hydroinformatics for Optimal Management of Ground...
Five Example Application of Hydroinformatics for Optimal Management of Ground...Five Example Application of Hydroinformatics for Optimal Management of Ground...
Five Example Application of Hydroinformatics for Optimal Management of Ground...
 

Kürzlich hochgeladen

UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 

Kürzlich hochgeladen (20)

UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 

Auto correlation and cross-correlation

  • 1. AUTO-CORRELATION AND CROSS-CORRELATION DR.MRINMOY MAJUMDER (ORCID ID : 0000-0001-6231-5989) Available at : “ LEARN ABOUT SOFT-COMPUTATION FOR OPTIMIZATION”- www.utilizeoptimally.com Lecture 1 of “INTRODUCTION TO DATA ANALYSIS TECHNIQUES” course and “HYDRO- INFORMATICS”/”ADVANCED OPTIMIZATION TECHNIQUES” of MTECH(HIE)
  • 3. DEFINITION • The degree of correlation between adjacent values of the same time series. • The analysis usually examines the changes in correlation as the separation distance increases • The separation distance is called the lag and is denoted by the letter tau or t • The correlation between the adjacent time series is known as Lag 1 Auto Correlation • The correlation between the values separated by two time interval is known as Lag 2 Auto Correlation • A plot of the auto correlation coefficient vs lag is called the correlogram
  • 4. PEARSON PRODUCT-MOMENT CORRELATION COEFFICIENT BETWEEN TWO ADJACENT DATASET OF SAME TIMESERIES SEPARATED BY A DISTANCE OF TAU • If A = Sum of the product of xi and xi+t from i = 1 to N-t ( N is the total no. of data point in the series) • B = Sum of xi from i=1 to N-t • C = Sum of xi from i=t+1 to N • Let D = N-t • If E = Sum of the square of xi from i=1 to N-t • F= Sum of the square of xi from i=t+1 to N • Then, • R(t) • = t-lag Auto Correlation Coefficient • 𝐴−𝐷−1(𝐵×𝐶) 𝐸−𝐷−1 𝐵2 × 𝐹−𝐷−1 C2 M NO
  • 5. POINTS TO REMEMBER • At t = 0, R(t) = 1 • As t increases values to calculate R(t) decreases and correlogram begin to oscillate • Maximum value of t must be equal to or less than 10% of N • Strong secular trend = high auto correlation for small lags • Periodic trend = peak of correlogram occurring at the period of the component
  • 6. HOW TO CALCULATE AUTOCORRELATION COEFFICIENT 1) The procedure to calculate R(t) begins with the creation of a table where the first column will indicate the value of i. 2) Second column will depict the value of xi 3) Third column will show the value of xi+t 4) Fourth column will indicate the value of square of xi 5) After deducing the value of D, the fifth to ninth column will depict the value of respectively A,B,C,E and F (As indicated in Pearson Product.. slide). 6) The tenth column will show the value of R(t) after calculating the same as per the equation given in Pearson Product.. slide.
  • 7. AUTOCORRELATION EXAMPLE : PROBLEM • Calculate the lag-1 autocorrelation coefficient of the following data series : 4 3 5 4 6 5 8 Indicate the range within the dataset taken for calculation of B Indicate the range within the dataset taken for calculation of C Indicate the range within the dataset taken for calculation of E Indicate the range within the dataset taken for calculation of F
  • 8. AUTOCORRELATION EXAMPLE : SOLUTION What is M,N,O ??
  • 10. DEFINITION • Objective is to identify the significance of correlation and thus the predictability between two time series • Cross-correlation coefficients can be plotted against lag to produce Cross- correlogram • Calculation of coefficient is same like that of deduction of the auto-correlation coefficient • Only the xi+t term is replaced by yi+t where y represents the data point of the other series
  • 11. DIFFERENCE BETWEEN AUTO(A) AND CROSS(C) CORRELATION For A : value of coefficient at lag = 0 is always 1 For C : can take any value between - 1 to + 1 For A : peak of correlogram can be found at lag = 0 For C : peak of cross-correlogram can be observed at any lag other than 0 For A : calculation of positive lags is enough For C : calculation of both positive and negative lag is required if both are physically feasible (rainfall of today will have zero impact on the runoff of yesterday)
  • 12. CALCULATION OF CROSS-CORRELATION COEFFICIENT BETWEEN TWO TIME SERIES XI (INDEPENDENT/CAUSE) AND YI (DEPENDANT/EFFECT) • If A = Sum of the product of xi and yi+T from i = 1 to N- T ( N is the total no. of data point in the series) • B = Sum of xi from i=1 to N- T • C = Sum of yi from i=T+1 to N • Let D = N- T • If E = Sum of the square of xi from i=1 to N-T • F= Sum of the square of yi from i=1+T to N • G = Sum of yi from i=1 +T to N • Then, • Rc(T) • = T-lag Cross Correlation Coefficient • 𝐴−𝐷−1(𝐵×𝐶) 𝐸−𝐷−1 𝐵2 × 𝐹−𝐷−1 G2 M NO Note : Here the absolute value of tau(T) is considered
  • 13. HOW TO CALCULATE CROSS-CORRELATION COEFFICIENT 1) The procedure to calculate R(T) begins with the creation of a table where the first column will indicate the value of i. 2) Second column will depict the value of xi 3) Third column will indicate the value of yi 4) Fourth column will show the value of yi+T 5) Fifth column will indicate the value of square of xi 6) Sixth column will depict the value of square of yi 7) After deducing the value of D, the seventh to eleventh column will depict the value of respectively A,B,C,E and F (As indicated in twelvth slide).C and G is generally the same factor if tau is positive. 8) The tenth column will show the value of R(t) after calculating the same as per the equation given in twelvth slide
  • 14. CROSS CORRELATION EXAMPLE : PROBLEM • Calculate the lag-1 cross-correlation coefficient of the following data series : Indicate the range within the dataset taken for calculation of B Indicate the range within the dataset taken for calculation of C Indicate the range within the dataset taken for calculation of E Indicate the range within the dataset taken for calculation of F i xi yi 1 5 2.5 2 4.8 2.1 3 3.7 2 4 2.8 1.3 5 3.6 1.7 6 3.3 2 7 2.9 1.8
  • 15. CROSS CORRELATION EXAMPLE : SOLUTION What is M,N,O ??