SlideShare une entreprise Scribd logo
1  sur  7
Télécharger pour lire hors ligne
Calculating a Correlation Coefficient and Scatter Plot using Excel
Behavioral scientists conducted a study looking at the relationship between depression and anxiety. The
scores of a sample of 12 depressed clients are listed below:

Depression: 44 47 39 43 45 57 56 48 52 48 44 48
Anxiety:    39 50 44 49 51 65 47 49 60 59 40 58

Calculate the correlation coefficient using Excel

   1. Enter the scores into two columns in Excel. Click on Data in the toolbar and then click Data Analysis
      (make sure you have the Analysis Toolpak loaded into Excel. See Loading Excel Analysis Toolpak on the
      Excel Instructions webpage.




   2. Click Correlation in the analysis window and click OK.
3.   Click on the Input Range box and highlight cells A1 to B13. Make sure you have the box next to Labels
     in first row clicked.




4. Click on the Output Range box and click cell B15. Click OK.




     The correlation coefficient will appear. In this example the correlation between Depression and Anxiety
     is .625
CREATING A SCATTERPLOT

1. Highlight cells A1 to B13. Click on the Insert tab in toolbar and then click Scatter.




2. Choose the first box.
3. The scatterplot will appear.




4. To change the title of the graph, click on Anxiety and type Correlation between Depression and
   Anxiety. Click on the Anxiety legend and hit the Delete key on your key board to remove.




5. To change the values on the horizontal and vertical axes, click on any place in the scatterplot and then
   click the Layout tab on the toolbar and then click on Axis.
6. Click Primary Horizontal Axis and then More Primary Horizontal Axis Options.




7. Click the Fixed button to minimize the horizontal axis values and type 35 in the box. Click Close.
8. Next click Primary Vertical Axis and More Primary Vertical Axis Options.




9. Click the Fixed button to minimize the vertical axis values and type 30 in the box. Click Close.
10. The minimum values on both the horizontal vertical axes have been changed. The formatting of the
    scatterplot is complete. The plot shows a moderately positive relationship between depression and
    anxiety.

Contenu connexe

Tendances

Data presentation/ How to present Research outcome data
Data presentation/ How to present Research outcome dataData presentation/ How to present Research outcome data
Data presentation/ How to present Research outcome dataDr-Jitendra Patel
 
Multiple regression in spss
Multiple regression in spssMultiple regression in spss
Multiple regression in spssDr. Ravneet Kaur
 
Basic econometrics lectues_1
Basic econometrics lectues_1Basic econometrics lectues_1
Basic econometrics lectues_1Nivedita Sharma
 
Introduction to Statistics (Part -I)
Introduction to Statistics (Part -I)Introduction to Statistics (Part -I)
Introduction to Statistics (Part -I)YesAnalytics
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regressionpankaj8108
 
Introduction to business statistics
Introduction to business statisticsIntroduction to business statistics
Introduction to business statisticsAakash Kulkarni
 
What is Karl Pearson Correlation Analysis and How Can it be Used for Enterpri...
What is Karl Pearson Correlation Analysis and How Can it be Used for Enterpri...What is Karl Pearson Correlation Analysis and How Can it be Used for Enterpri...
What is Karl Pearson Correlation Analysis and How Can it be Used for Enterpri...Smarten Augmented Analytics
 
Ordinary least squares linear regression
Ordinary least squares linear regressionOrdinary least squares linear regression
Ordinary least squares linear regressionElkana Rorio
 
Correlation analysis
Correlation analysis Correlation analysis
Correlation analysis Misab P.T
 
Chapter 1 introduction to statistics for engineers 1 (1)
Chapter 1 introduction to statistics for engineers 1 (1)Chapter 1 introduction to statistics for engineers 1 (1)
Chapter 1 introduction to statistics for engineers 1 (1)abfisho
 
7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squaresYugesh Dutt Panday
 
Measurement and scales
Measurement and scalesMeasurement and scales
Measurement and scalesKaran Khaneja
 
Spss lecture notes
Spss lecture notesSpss lecture notes
Spss lecture notesDavid mbwiga
 
Multicolinearity
MulticolinearityMulticolinearity
MulticolinearityPawan Kawan
 
Data presentation
Data presentationData presentation
Data presentationMaiBabes17
 

Tendances (20)

Data presentation/ How to present Research outcome data
Data presentation/ How to present Research outcome dataData presentation/ How to present Research outcome data
Data presentation/ How to present Research outcome data
 
Multiple regression in spss
Multiple regression in spssMultiple regression in spss
Multiple regression in spss
 
Ols by hiron
Ols by hironOls by hiron
Ols by hiron
 
Basic econometrics lectues_1
Basic econometrics lectues_1Basic econometrics lectues_1
Basic econometrics lectues_1
 
Introduction to Statistics (Part -I)
Introduction to Statistics (Part -I)Introduction to Statistics (Part -I)
Introduction to Statistics (Part -I)
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Correlation Analysis
Correlation AnalysisCorrelation Analysis
Correlation Analysis
 
Introduction to business statistics
Introduction to business statisticsIntroduction to business statistics
Introduction to business statistics
 
What is Karl Pearson Correlation Analysis and How Can it be Used for Enterpri...
What is Karl Pearson Correlation Analysis and How Can it be Used for Enterpri...What is Karl Pearson Correlation Analysis and How Can it be Used for Enterpri...
What is Karl Pearson Correlation Analysis and How Can it be Used for Enterpri...
 
Introduction to Econometrics
Introduction to EconometricsIntroduction to Econometrics
Introduction to Econometrics
 
Ordinary least squares linear regression
Ordinary least squares linear regressionOrdinary least squares linear regression
Ordinary least squares linear regression
 
Econometrics - lecture 18 and 19
Econometrics - lecture 18 and 19Econometrics - lecture 18 and 19
Econometrics - lecture 18 and 19
 
Correlation analysis
Correlation analysis Correlation analysis
Correlation analysis
 
Chapter 1 introduction to statistics for engineers 1 (1)
Chapter 1 introduction to statistics for engineers 1 (1)Chapter 1 introduction to statistics for engineers 1 (1)
Chapter 1 introduction to statistics for engineers 1 (1)
 
7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares
 
Measurement and scales
Measurement and scalesMeasurement and scales
Measurement and scales
 
Spss lecture notes
Spss lecture notesSpss lecture notes
Spss lecture notes
 
Multicolinearity
MulticolinearityMulticolinearity
Multicolinearity
 
Index number
Index numberIndex number
Index number
 
Data presentation
Data presentationData presentation
Data presentation
 

Similaire à Calculating a correlation coefficient and scatter plot using excel

Learning MS Excel - A Handout
Learning MS Excel - A HandoutLearning MS Excel - A Handout
Learning MS Excel - A Handoutsayyadimran2000
 
Open Office Calc : Lesson 06
Open Office Calc : Lesson 06Open Office Calc : Lesson 06
Open Office Calc : Lesson 06thinkict
 
You work for a local construction firm Bass Engineering Group .docx
You work for a local construction firm Bass Engineering Group .docxYou work for a local construction firm Bass Engineering Group .docx
You work for a local construction firm Bass Engineering Group .docxrosemarybdodson23141
 
Excel Intermediate 2007
Excel Intermediate 2007Excel Intermediate 2007
Excel Intermediate 2007simply_coool
 
Microsoft Excel 2007 Tutorial
Microsoft Excel 2007 TutorialMicrosoft Excel 2007 Tutorial
Microsoft Excel 2007 TutorialKereen Tatham
 
Lab 4 excel basics
Lab 4 excel basicsLab 4 excel basics
Lab 4 excel basicsAnuja Lad
 
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.pptCorrelations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.pptJoshuaCasas7
 
Introduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginnersIntroduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginnersBlogger Mumma
 

Similaire à Calculating a correlation coefficient and scatter plot using excel (20)

W5_MSEXCEL.pdf
W5_MSEXCEL.pdfW5_MSEXCEL.pdf
W5_MSEXCEL.pdf
 
Learning MS Excel - A Handout
Learning MS Excel - A HandoutLearning MS Excel - A Handout
Learning MS Excel - A Handout
 
Q3 Excel.pptx
Q3 Excel.pptxQ3 Excel.pptx
Q3 Excel.pptx
 
Excel
ExcelExcel
Excel
 
Session 1
Session 1Session 1
Session 1
 
M.S EXCEL
M.S EXCELM.S EXCEL
M.S EXCEL
 
Ms excel 2007 pptx
Ms excel 2007 pptxMs excel 2007 pptx
Ms excel 2007 pptx
 
Ms excel ppt
Ms excel pptMs excel ppt
Ms excel ppt
 
Open Office Calc : Lesson 06
Open Office Calc : Lesson 06Open Office Calc : Lesson 06
Open Office Calc : Lesson 06
 
You work for a local construction firm Bass Engineering Group .docx
You work for a local construction firm Bass Engineering Group .docxYou work for a local construction firm Bass Engineering Group .docx
You work for a local construction firm Bass Engineering Group .docx
 
Excel Intermediate 2007
Excel Intermediate 2007Excel Intermediate 2007
Excel Intermediate 2007
 
Excel Intro Part2
Excel Intro Part2Excel Intro Part2
Excel Intro Part2
 
Microsoft Excel 2007 Tutorial
Microsoft Excel 2007 TutorialMicrosoft Excel 2007 Tutorial
Microsoft Excel 2007 Tutorial
 
Lab 4 excel basics
Lab 4 excel basicsLab 4 excel basics
Lab 4 excel basics
 
Lab 4 excel basics
Lab 4 excel basicsLab 4 excel basics
Lab 4 excel basics
 
Lab 4 Excel Basics.ppt
Lab 4 Excel Basics.pptLab 4 Excel Basics.ppt
Lab 4 Excel Basics.ppt
 
Lab 4 excel basics
Lab 4 excel basicsLab 4 excel basics
Lab 4 excel basics
 
Tech training workshop 3 final 090810
Tech training   workshop 3 final 090810Tech training   workshop 3 final 090810
Tech training workshop 3 final 090810
 
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.pptCorrelations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
 
Introduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginnersIntroduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginners
 

Plus de Sandra Nicks

Simple random sample using excel
Simple random sample using excelSimple random sample using excel
Simple random sample using excelSandra Nicks
 
Finding areas for z using excel
Finding areas for z using excelFinding areas for z using excel
Finding areas for z using excelSandra Nicks
 
Calculating binomial probabilities using excel
Calculating binomial probabilities using excelCalculating binomial probabilities using excel
Calculating binomial probabilities using excelSandra Nicks
 
Creating frequency distribution table, histograms and polygons using excel an...
Creating frequency distribution table, histograms and polygons using excel an...Creating frequency distribution table, histograms and polygons using excel an...
Creating frequency distribution table, histograms and polygons using excel an...Sandra Nicks
 
Creating frequency distribution tables and histograms using excel analysis to...
Creating frequency distribution tables and histograms using excel analysis to...Creating frequency distribution tables and histograms using excel analysis to...
Creating frequency distribution tables and histograms using excel analysis to...Sandra Nicks
 
Aron chpt 1 ed (1)
Aron chpt 1 ed (1)Aron chpt 1 ed (1)
Aron chpt 1 ed (1)Sandra Nicks
 

Plus de Sandra Nicks (20)

Newletter v 2.1
Newletter v 2.1Newletter v 2.1
Newletter v 2.1
 
Newletter v 2.1
Newletter v 2.1Newletter v 2.1
Newletter v 2.1
 
Night owl
Night owlNight owl
Night owl
 
Simple random sample using excel
Simple random sample using excelSimple random sample using excel
Simple random sample using excel
 
Chap015
Chap015Chap015
Chap015
 
Chap010
Chap010Chap010
Chap010
 
Chap009
Chap009Chap009
Chap009
 
Chap007
Chap007Chap007
Chap007
 
Finding areas for z using excel
Finding areas for z using excelFinding areas for z using excel
Finding areas for z using excel
 
Calculating binomial probabilities using excel
Calculating binomial probabilities using excelCalculating binomial probabilities using excel
Calculating binomial probabilities using excel
 
Chap008
Chap008Chap008
Chap008
 
Chap006
Chap006Chap006
Chap006
 
Chap004
Chap004Chap004
Chap004
 
Creating frequency distribution table, histograms and polygons using excel an...
Creating frequency distribution table, histograms and polygons using excel an...Creating frequency distribution table, histograms and polygons using excel an...
Creating frequency distribution table, histograms and polygons using excel an...
 
Creating frequency distribution tables and histograms using excel analysis to...
Creating frequency distribution tables and histograms using excel analysis to...Creating frequency distribution tables and histograms using excel analysis to...
Creating frequency distribution tables and histograms using excel analysis to...
 
Chap005
Chap005Chap005
Chap005
 
Chap003
Chap003Chap003
Chap003
 
Chap004
Chap004Chap004
Chap004
 
Chap002
Chap002Chap002
Chap002
 
Aron chpt 1 ed (1)
Aron chpt 1 ed (1)Aron chpt 1 ed (1)
Aron chpt 1 ed (1)
 

Dernier

Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 

Dernier (20)

Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 

Calculating a correlation coefficient and scatter plot using excel

  • 1. Calculating a Correlation Coefficient and Scatter Plot using Excel Behavioral scientists conducted a study looking at the relationship between depression and anxiety. The scores of a sample of 12 depressed clients are listed below: Depression: 44 47 39 43 45 57 56 48 52 48 44 48 Anxiety: 39 50 44 49 51 65 47 49 60 59 40 58 Calculate the correlation coefficient using Excel 1. Enter the scores into two columns in Excel. Click on Data in the toolbar and then click Data Analysis (make sure you have the Analysis Toolpak loaded into Excel. See Loading Excel Analysis Toolpak on the Excel Instructions webpage. 2. Click Correlation in the analysis window and click OK.
  • 2. 3. Click on the Input Range box and highlight cells A1 to B13. Make sure you have the box next to Labels in first row clicked. 4. Click on the Output Range box and click cell B15. Click OK. The correlation coefficient will appear. In this example the correlation between Depression and Anxiety is .625
  • 3. CREATING A SCATTERPLOT 1. Highlight cells A1 to B13. Click on the Insert tab in toolbar and then click Scatter. 2. Choose the first box.
  • 4. 3. The scatterplot will appear. 4. To change the title of the graph, click on Anxiety and type Correlation between Depression and Anxiety. Click on the Anxiety legend and hit the Delete key on your key board to remove. 5. To change the values on the horizontal and vertical axes, click on any place in the scatterplot and then click the Layout tab on the toolbar and then click on Axis.
  • 5. 6. Click Primary Horizontal Axis and then More Primary Horizontal Axis Options. 7. Click the Fixed button to minimize the horizontal axis values and type 35 in the box. Click Close.
  • 6. 8. Next click Primary Vertical Axis and More Primary Vertical Axis Options. 9. Click the Fixed button to minimize the vertical axis values and type 30 in the box. Click Close.
  • 7. 10. The minimum values on both the horizontal vertical axes have been changed. The formatting of the scatterplot is complete. The plot shows a moderately positive relationship between depression and anxiety.