SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Correlation and Regression
Topics Covered: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The relationship between  x  and  y ,[object Object],[object Object],[object Object],[object Object]
Scattergrams Y X Y X Y X Y Y Y Positive correlation Negative correlation No correlation
Variance vs Covariance ,[object Object],[object Object],[object Object]
Variance vs Covariance ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Covariance ,[object Object],[object Object],[object Object]
Example Covariance x y ( )( ) 0 3 - 3 0 0 2 2 - 1 - 1 1 3 4 0 1 0 4 0 1 - 3 - 3 6 6 3 3 9 What does this number tell us? x x i  y y i  x i x  y i y  3  x 3  y   7
Problem with Covariance: ,[object Object]
Example of how covariance value relies on variance 4.67 Covariance: 1166.67 Covariance: 28 Sum of  x error * y error  : 7000 Sum of  x error * y error  : 50 51 50 51 Mean 9 47 48 2500 0 1 7 4 48 49 900 20 21 6 1 49 50 100 40 41 5 0 50 51 0 50 51 4 1 51 52 100 60 61 3 4 52 53 900 80 81 2 9 53 54 2500 100 101 1 X error * y error y x x error * y error y x Subject   Low variance data                 High variance data      
Solution: Pearson’s r ,[object Object],[object Object],[object Object],[object Object]
Pearson’s R continued
Limitations of r ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Regression ,[object Object],[object Object]
Best-fit Line ,[object Object],[object Object],[object Object],[object Object],[object Object],=  ŷ , predicted value   intercept ε ŷ  =  a x + b ε  =   residual error =  y  i  , true value slope
Least Squares Regression ,[object Object],Residual ( ε ) = y -  ŷ Sum of squares of residuals =  Σ  (y –  ŷ ) 2   Model line:  ŷ  = ax + b ,[object Object],[object Object],a = slope, b = intercept
Finding b ,[object Object],ε ε b b ,[object Object],b
Finding a ,[object Object],b ,[object Object],b b
Minimising sums of squares ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Values of a and b sums of squares (S) Gradient = 0 min S
The maths bit ,[object Object],[object Object],[object Object]
The solution ,[object Object],[object Object],[object Object],[object Object],[object Object],a = r s y s x r = correlation coefficient of x and y s y  = standard deviation of y s x  = standard deviation of x
The solution cont. ,[object Object],[object Object],[object Object],[object Object],y = ax + b b = y – ax b = y – ax b = y -  r s y s x r = correlation coefficient of x and y s y  = standard deviation of y s x  = standard deviation of x x
Back to the model ,[object Object],[object Object],[object Object],Rearranges to: a b a a ŷ  = ax + b =   r s y s x r s y s x x + y -  x r s y s x ŷ = (x – x) + y
How good is our model? ,[object Object],[object Object],[object Object],This is the variance explained by our regression model This is the variance of the error between our predicted y values and the actual y values, and thus is the variance in y that is NOT explained by the regression model s y 2  = ∑ (y – y) 2 n - 1 SS y df y = s ŷ 2  = ∑ (ŷ – y) 2 n - 1 SS pred df ŷ = s error 2  = ∑ (y – ŷ) 2 n - 2 SS er df er =
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],How good is our model cont.
How good is our model cont. ,[object Object],[object Object],[object Object],[object Object]
Is the model significant? ,[object Object],[object Object],=......= complicated rearranging ,[object Object],t (n-2)  = r   (n - 2) √ 1 – r 2 (because F = t 2) So all we need to  know are r and n F (df ŷ ,df er ) = s ŷ 2 s er 2 r 2  (n - 2) 2 1 – r 2
General Linear Model ,[object Object],[object Object],[object Object]
Multiple regression ,[object Object],[object Object],[object Object],[object Object],[object Object]
SPM ,[object Object],[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

attractive ppt of Regression assumption by ammara aftab
attractive ppt of Regression assumption by ammara aftabattractive ppt of Regression assumption by ammara aftab
attractive ppt of Regression assumption by ammara aftabUniversity of Karachi
 
Mathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability TheoryMathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability TheoryMarina Santini
 
Probability and Random Variables
Probability and Random VariablesProbability and Random Variables
Probability and Random VariablesSubhobrata Banerjee
 
Limits of some transcendental functions
Limits of some transcendental functionsLimits of some transcendental functions
Limits of some transcendental functionsJesusDel2
 
Theorems And Conditional Probability
Theorems And Conditional ProbabilityTheorems And Conditional Probability
Theorems And Conditional ProbabilityDataminingTools Inc
 
Limits of a Function
Limits of a FunctionLimits of a Function
Limits of a FunctionJesusDel2
 
Chapter 4 Probability Notes
Chapter 4 Probability NotesChapter 4 Probability Notes
Chapter 4 Probability Notespwheeles
 
Lecture 2, exponents and radicals
Lecture 2, exponents and radicalsLecture 2, exponents and radicals
Lecture 2, exponents and radicalsMELIKIPROTICHAMOS
 
Complements conditional probability bayes theorem
Complements  conditional probability bayes theorem  Complements  conditional probability bayes theorem
Complements conditional probability bayes theorem Long Beach City College
 
Limit of functions (CBA College of Business Ad)
Limit of functions (CBA College of Business Ad)Limit of functions (CBA College of Business Ad)
Limit of functions (CBA College of Business Ad)Juan Apolinario Reyes
 
Course Project 1 for Coursera Statistical Inference
Course Project 1 for Coursera Statistical InferenceCourse Project 1 for Coursera Statistical Inference
Course Project 1 for Coursera Statistical InferenceJohn Edward Slough II
 
Exponential formula presentation
Exponential formula presentationExponential formula presentation
Exponential formula presentationOliver Zhang
 
Error analysis in numerical integration
Error analysis in numerical integrationError analysis in numerical integration
Error analysis in numerical integrationAmenahGondal1
 

Was ist angesagt? (19)

Probabilty of Events
Probabilty of EventsProbabilty of Events
Probabilty of Events
 
Probability And Its Axioms
Probability And Its AxiomsProbability And Its Axioms
Probability And Its Axioms
 
attractive ppt of Regression assumption by ammara aftab
attractive ppt of Regression assumption by ammara aftabattractive ppt of Regression assumption by ammara aftab
attractive ppt of Regression assumption by ammara aftab
 
Mathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability TheoryMathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability Theory
 
Probability and Random Variables
Probability and Random VariablesProbability and Random Variables
Probability and Random Variables
 
Limits of some transcendental functions
Limits of some transcendental functionsLimits of some transcendental functions
Limits of some transcendental functions
 
Theorems And Conditional Probability
Theorems And Conditional ProbabilityTheorems And Conditional Probability
Theorems And Conditional Probability
 
Limits of a Function
Limits of a FunctionLimits of a Function
Limits of a Function
 
Lecture 15
Lecture 15Lecture 15
Lecture 15
 
Business statistics homework help
Business statistics homework helpBusiness statistics homework help
Business statistics homework help
 
Stochastic Processes Homework Help
Stochastic Processes Homework Help Stochastic Processes Homework Help
Stochastic Processes Homework Help
 
Chapter 4 Probability Notes
Chapter 4 Probability NotesChapter 4 Probability Notes
Chapter 4 Probability Notes
 
Lecture 2, exponents and radicals
Lecture 2, exponents and radicalsLecture 2, exponents and radicals
Lecture 2, exponents and radicals
 
Complements conditional probability bayes theorem
Complements  conditional probability bayes theorem  Complements  conditional probability bayes theorem
Complements conditional probability bayes theorem
 
Limit of functions (CBA College of Business Ad)
Limit of functions (CBA College of Business Ad)Limit of functions (CBA College of Business Ad)
Limit of functions (CBA College of Business Ad)
 
Course Project 1 for Coursera Statistical Inference
Course Project 1 for Coursera Statistical InferenceCourse Project 1 for Coursera Statistical Inference
Course Project 1 for Coursera Statistical Inference
 
statistics assignment help
statistics assignment helpstatistics assignment help
statistics assignment help
 
Exponential formula presentation
Exponential formula presentationExponential formula presentation
Exponential formula presentation
 
Error analysis in numerical integration
Error analysis in numerical integrationError analysis in numerical integration
Error analysis in numerical integration
 

Andere mochten auch

Andere mochten auch (11)

Correlation & regression
Correlation & regression Correlation & regression
Correlation & regression
 
Lect w8 w9_correlation_regression
Lect w8 w9_correlation_regressionLect w8 w9_correlation_regression
Lect w8 w9_correlation_regression
 
research framwork chapter 6 quantitative business analysis
research framwork chapter 6 quantitative business analysisresearch framwork chapter 6 quantitative business analysis
research framwork chapter 6 quantitative business analysis
 
Correlational research
Correlational research Correlational research
Correlational research
 
Correlation Research Design
Correlation Research DesignCorrelation Research Design
Correlation Research Design
 
Correlation and regression analysis
Correlation and regression analysisCorrelation and regression analysis
Correlation and regression analysis
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentation
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
 
Correlational research
Correlational researchCorrelational research
Correlational research
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 

Ähnlich wie Corr And Regress

Corr-and-Regress (1).ppt
Corr-and-Regress (1).pptCorr-and-Regress (1).ppt
Corr-and-Regress (1).pptMuhammadAftab89
 
Cr-and-Regress.ppt
Cr-and-Regress.pptCr-and-Regress.ppt
Cr-and-Regress.pptRidaIrfan10
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.pptkrunal soni
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.pptMoinPasha12
 
Correlation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social ScienceCorrelation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social Sciencessuser71ac73
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Neeraj Bhandari
 
CORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxCORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxRohit77460
 
REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREShriramKargaonkar
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regressionnszakir
 
ML-UNIT-IV complete notes download here
ML-UNIT-IV  complete notes download hereML-UNIT-IV  complete notes download here
ML-UNIT-IV complete notes download herekeerthanakshatriya20
 
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptxSM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptxManjulasingh17
 
regression and correlation
regression and correlationregression and correlation
regression and correlationPriya Sharma
 

Ähnlich wie Corr And Regress (20)

Corr-and-Regress (1).ppt
Corr-and-Regress (1).pptCorr-and-Regress (1).ppt
Corr-and-Regress (1).ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Cr-and-Regress.ppt
Cr-and-Regress.pptCr-and-Regress.ppt
Cr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Correlation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social ScienceCorrelation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social Science
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
 
CORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxCORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptx
 
regression
regressionregression
regression
 
Unit 5 Correlation
Unit 5 CorrelationUnit 5 Correlation
Unit 5 Correlation
 
Chapter05
Chapter05Chapter05
Chapter05
 
REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HERE
 
Chapter 14 Part I
Chapter 14 Part IChapter 14 Part I
Chapter 14 Part I
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
 
ML-UNIT-IV complete notes download here
ML-UNIT-IV  complete notes download hereML-UNIT-IV  complete notes download here
ML-UNIT-IV complete notes download here
 
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptxSM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
 
Correlation and Regression
Correlation and Regression Correlation and Regression
Correlation and Regression
 
regression and correlation
regression and correlationregression and correlation
regression and correlation
 
regression.pptx
regression.pptxregression.pptx
regression.pptx
 

Kürzlich hochgeladen

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Kürzlich hochgeladen (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Corr And Regress

  • 2.
  • 3.
  • 4. Scattergrams Y X Y X Y X Y Y Y Positive correlation Negative correlation No correlation
  • 5.
  • 6.
  • 7.
  • 8. Example Covariance x y ( )( ) 0 3 - 3 0 0 2 2 - 1 - 1 1 3 4 0 1 0 4 0 1 - 3 - 3 6 6 3 3 9 What does this number tell us? x x i  y y i  x i x  y i y  3  x 3  y   7
  • 9.
  • 10. Example of how covariance value relies on variance 4.67 Covariance: 1166.67 Covariance: 28 Sum of x error * y error : 7000 Sum of x error * y error : 50 51 50 51 Mean 9 47 48 2500 0 1 7 4 48 49 900 20 21 6 1 49 50 100 40 41 5 0 50 51 0 50 51 4 1 51 52 100 60 61 3 4 52 53 900 80 81 2 9 53 54 2500 100 101 1 X error * y error y x x error * y error y x Subject   Low variance data                 High variance data      
  • 11.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.