SlideShare a Scribd company logo
Introduction to Excel 2007
Part 1: Basics and Descriptive Statistics
Psych 209
In Psych 209, we will use Excel to:
1. Store and organize data,
2. Analyze data, and
3. Represent data graphically (e.g., in bar
graphs, histograms, and scatterplots)
Excel Basics
This is a row.
Rows are represented
by numbers along the
side of the sheet.
This is a column.
Columns are
represented by letters
across the top of the
sheet.
Excel spreadsheets organize information (text and
numbers) by rows and columns:
Excel Basics
A cell is the intersection
between a column and a
row.
Each cell is named for the
column letter and row
number that intersect to
make it.
Data Entry
There are two ways to enter information into a cell:
1. Type directly into the
cell.
Click on a cell, and type in
the data (numbers or text)
and press Enter.
2. Type into the formula
bar.
Click on a cell, and then
click in the formula bar (the
space next to the ). Now
type the data into the bar
and press Enter.
Data Entry
1. Open Excel (Start  All Programs  MS Office  Excel).
2. Enter the following information into your spreadsheet:
Formulas and Functions
 Formulas are equations that perform
calculations in your spreadsheet. Formulas
always begin with an equals sign (=). When
you enter an equals sign into a cell, you are
basically telling Excel to “calculate this.”
 Functions are Excel-defined formulas. They
take data you select and enter, perform
calculations on them, and return value(s).
More on Functions
 All functions have a common format – the equals
sign followed by the function name followed by the
input in parentheses.
 The input for a function can be either:
 A set of numbers (e.g., “=AVERAGE(2, 3, 4, 5)”)
 This tells Excel to calculate the average of these numbers.
 A reference to cell(s) (e.g., “=AVERAGE(B1:B18) or
“=AVERAGE (B1, B2, B3, B4, B5, B6, B7, B8)”
 This tells Excel to calculate the average of the data that
appear in all the cells from B1 to B8.
 You can either type these cell references in by hand or by
clicking and dragging with your mouse to select the cells.
Functions for Descriptive Statistics
=AVERAGE(first cell:last cell): calculates the mean
=MEDIAN(first cell:last cell): calculates the median
=MODE(first cell:last cell): calculates the mode
=VARP(first cell:last cell): calculates the variance
=STDEVP(first cell:last cell): calculates the standard deviation
 You may directly write the functions for these statistics into
cells or the formula bar, OR
 You may use the function wizard ( in the toolbar)
Below are several functions you will need to
learn for this class. Try them out with the
practice data set.
Functions for Descriptive Statistics
 Your Excel
spreadsheet should
now look like this:
Part 2: Correlations and Scatterplots
Correlations
A quick review:
 Every correlation has a direction (positive or
negative):
 + correlation: high scores on one variable are
associated with high scores on another
variable.
 - correlation: high scores on one variable are
associated with low scores on the other
variable.
 Every correlation has a magnitude or strength:
 The closer the correlation coefficient is to +1.00
or -1.00, the stronger it is.
 The closer the correlation coefficient is to 0.00,
the weaker it is.
Calculating Pearson’s r
 Correlations are described using the Pearson
Product-Moment correlation statistic, or r value.
 In Excel, there are many functions that can
calculate a correlation statistic, however, we will
only use =PEARSON in this class.
Let’s say we want to determine if there is a
relationship between number of hours spent per
week studying for Psych 209 and GPA earned in
the class at the end of the quarter. To do so, we
can calculate Pearson’s r for our two variables.
Enter the following data into Excel:
StudyHrs = average number of hours spent per week studying for 209
GPA = grade-point average earned in 209 at the end of the quarter
Step 1: Select the cell where you want your r
value to appear (you might want to label it).
Step 2: Click on the function wizard button.
Step 3: Search for and select PEARSON.
Step 4: For Array1, select all the values under StudyHrs.
For Array2, select all the values under GPA.
Step 5: That’s it! Once you have your r value,
don’t forget to round to 2 decimal places.
Knowledge check: What does the r value of 0.88 tell you about
the strength and direction of the correlation between StudyHrs
and GPA?
Scatterplots
 A scatterplot is an excellent way to visually
display the relationship (correlation) between
two variables.
 Each point on the scatterplot represents an
individual’s data on the two variables.
 We will now create a scatterplot for StudyHrs
and GPA.
Step 1: Select both columns of variables you
wish to plot (StudyHrs and GPA).
Step 2: Click on the tab labeled ‘Insert’, and then
select ‘Scatter’ in the ‘Charts’ menu.
Step 3: Select the first plot in the drop-down menu.
Step 4: Remove the legend by clicking on it
and pressing Delete.
Step 5: Add axis titles by selecting the ‘Layout’ tab
and clicking on ‘Axis Titles.’ For the horizontal title,
you want it below the x-axis. For the vertical title,
you want the ‘Rotated Title’ option.
NOTE: Your chart
must be
highlighted for
the ‘Layout’ tab to
appear under
‘Chart Tools.’
 For scatterplots, it does not matter which variable
goes on each axis (this is NOT true for other
types of charts).
 However, you need to make sure you label your
axes with the proper variable name.
 In this example, GPA is on the y-axis and Study
Hours is on the x-axis (we can tell this based on
their different ranges of values).
 As a helpful hint, Excel will automatically put the
first variable (left-hand column) on the x-axis, and
the second variable (right-hand column) on the y-
axis.
A note about x- and y-axes:
Step 6: Change the chart title by selecting it, typing a
new one, and pressing Enter. Chart and axis titles
may be altered by right-clicking on them.
Your scatterplot is now finished!
Remember: Each point in the scatterplot represents an
individual’s data.
Knowledge check: Identify Student 8 in the scatterplot.
Describing Correlations and
Scatterplots
 Scatterplots and correlations are described:
 As positive or negative.
 As weak, moderate, or strong.
 Using the r value.
 Sentence 1: There is a strong, positive correlation (r = 0.88)
between the number of hours studied and GPA.
 Then you want to describe the general relationship
between the two variables:
 Sentence 2: More hours of studying for Psych 209 was
associated with a higher GPA earned in the class at the end of
the quarter.
 NOTE: We cannot say “More studying led to a higher
GPA” – this implies causation, which cannot be
determined using correlational research.

More Related Content

PPT
Lab 4 excel basics
PPT
Excle
PPT
stats
PPSX
Advances in ms excel
PPT
Advanced Excel ppt
PPTX
Advance excel
PDF
Advanced Microsoft Excel
PPT
Using vlookup in excel
Lab 4 excel basics
Excle
stats
Advances in ms excel
Advanced Excel ppt
Advance excel
Advanced Microsoft Excel
Using vlookup in excel

What's hot (20)

PPT
Excel2002
PPTX
Working on MS-Excel 'FORMULA TAB'
PDF
Excel Tutorials - VLOOKUP and HLOOKUP Functions
PPTX
MS-EXCEL Assignment Help
PDF
Biology statistics made_simple_using_excel
PPTX
Mastering Excel Formulas and Functions
PPTX
Functions and formulas of ms excel
PDF
2. mathematical functions in excel
PPTX
Excel_2007_Final.pptx
PDF
Excel Tutorials - Random Value Selection from a List
PDF
USING VLOOKUP FUNCTION
PPTX
Using formula and function
PDF
How to Use VLOOKUP in Excel
PDF
Quicktip excel
PPTX
Vlookup Description
PPTX
MS-Excel Formulas and Functions
PDF
Basic Formulas - Excel 2013 Tutorial
PDF
On if,countif,countifs,sumif,countifs,lookup,v lookup,index,match
PPTX
Vlookup - an introduction
Excel2002
Working on MS-Excel 'FORMULA TAB'
Excel Tutorials - VLOOKUP and HLOOKUP Functions
MS-EXCEL Assignment Help
Biology statistics made_simple_using_excel
Mastering Excel Formulas and Functions
Functions and formulas of ms excel
2. mathematical functions in excel
Excel_2007_Final.pptx
Excel Tutorials - Random Value Selection from a List
USING VLOOKUP FUNCTION
Using formula and function
How to Use VLOOKUP in Excel
Quicktip excel
Vlookup Description
MS-Excel Formulas and Functions
Basic Formulas - Excel 2013 Tutorial
On if,countif,countifs,sumif,countifs,lookup,v lookup,index,match
Vlookup - an introduction
Ad

Similar to Lab 4 excel basics (20)

PPT
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
PPT
Excel Basics.ppt
PPT
Lab 4 excel basics
PDF
Excel Slope Instruction
PDF
Excel booklet
PPT
All About Me
PPT
All About Me
PPT
Ms excel ppt
PDF
Using procedure of excel and methods to use they way and design
PDF
Regression analysis in excel
PPTX
MS Excel Manual/ Easy Notes/Basic Computer
PPTX
Microsoft Excel.pptx
PDF
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
PPTX
Excel Basics presentation for beginners and students
PPT
If you need help with this file, such as explaining its contents, summarizing...
PPT
An introduction to the Microsoft Excel 2010
PPT
Intro_Excel_FA12 Intro_Excel_FA12Intro_Excel_FA12
PPT
introduction to Microsoft excel for beginner
PPT
Intro_Excel_FA14 powerpoint complete.ppt
PPT
Intro_Excel_FA12.ppt Introduction to Excel
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Excel Basics.ppt
Lab 4 excel basics
Excel Slope Instruction
Excel booklet
All About Me
All About Me
Ms excel ppt
Using procedure of excel and methods to use they way and design
Regression analysis in excel
MS Excel Manual/ Easy Notes/Basic Computer
Microsoft Excel.pptx
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
Excel Basics presentation for beginners and students
If you need help with this file, such as explaining its contents, summarizing...
An introduction to the Microsoft Excel 2010
Intro_Excel_FA12 Intro_Excel_FA12Intro_Excel_FA12
introduction to Microsoft excel for beginner
Intro_Excel_FA14 powerpoint complete.ppt
Intro_Excel_FA12.ppt Introduction to Excel
Ad

Recently uploaded (20)

PDF
Fluorescence-microscope_Botany_detailed content
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PDF
Business Analytics and business intelligence.pdf
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PDF
Foundation of Data Science unit number two notes
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PDF
Mega Projects Data Mega Projects Data
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PPTX
Introduction to Knowledge Engineering Part 1
PPTX
Introduction to machine learning and Linear Models
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
Fluorescence-microscope_Botany_detailed content
STUDY DESIGN details- Lt Col Maksud (21).pptx
Business Analytics and business intelligence.pdf
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
Supervised vs unsupervised machine learning algorithms
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
IBA_Chapter_11_Slides_Final_Accessible.pptx
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Foundation of Data Science unit number two notes
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
Mega Projects Data Mega Projects Data
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Miokarditis (Inflamasi pada Otot Jantung)
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
Introduction to Knowledge Engineering Part 1
Introduction to machine learning and Linear Models
Business Ppt On Nestle.pptx huunnnhhgfvu
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Data_Analytics_and_PowerBI_Presentation.pptx

Lab 4 excel basics

  • 1. Introduction to Excel 2007 Part 1: Basics and Descriptive Statistics Psych 209
  • 2. In Psych 209, we will use Excel to: 1. Store and organize data, 2. Analyze data, and 3. Represent data graphically (e.g., in bar graphs, histograms, and scatterplots)
  • 3. Excel Basics This is a row. Rows are represented by numbers along the side of the sheet. This is a column. Columns are represented by letters across the top of the sheet. Excel spreadsheets organize information (text and numbers) by rows and columns:
  • 4. Excel Basics A cell is the intersection between a column and a row. Each cell is named for the column letter and row number that intersect to make it.
  • 5. Data Entry There are two ways to enter information into a cell: 1. Type directly into the cell. Click on a cell, and type in the data (numbers or text) and press Enter. 2. Type into the formula bar. Click on a cell, and then click in the formula bar (the space next to the ). Now type the data into the bar and press Enter.
  • 6. Data Entry 1. Open Excel (Start  All Programs  MS Office  Excel). 2. Enter the following information into your spreadsheet:
  • 7. Formulas and Functions  Formulas are equations that perform calculations in your spreadsheet. Formulas always begin with an equals sign (=). When you enter an equals sign into a cell, you are basically telling Excel to “calculate this.”  Functions are Excel-defined formulas. They take data you select and enter, perform calculations on them, and return value(s).
  • 8. More on Functions  All functions have a common format – the equals sign followed by the function name followed by the input in parentheses.  The input for a function can be either:  A set of numbers (e.g., “=AVERAGE(2, 3, 4, 5)”)  This tells Excel to calculate the average of these numbers.  A reference to cell(s) (e.g., “=AVERAGE(B1:B18) or “=AVERAGE (B1, B2, B3, B4, B5, B6, B7, B8)”  This tells Excel to calculate the average of the data that appear in all the cells from B1 to B8.  You can either type these cell references in by hand or by clicking and dragging with your mouse to select the cells.
  • 9. Functions for Descriptive Statistics =AVERAGE(first cell:last cell): calculates the mean =MEDIAN(first cell:last cell): calculates the median =MODE(first cell:last cell): calculates the mode =VARP(first cell:last cell): calculates the variance =STDEVP(first cell:last cell): calculates the standard deviation  You may directly write the functions for these statistics into cells or the formula bar, OR  You may use the function wizard ( in the toolbar) Below are several functions you will need to learn for this class. Try them out with the practice data set.
  • 10. Functions for Descriptive Statistics  Your Excel spreadsheet should now look like this:
  • 11. Part 2: Correlations and Scatterplots
  • 12. Correlations A quick review:  Every correlation has a direction (positive or negative):  + correlation: high scores on one variable are associated with high scores on another variable.  - correlation: high scores on one variable are associated with low scores on the other variable.  Every correlation has a magnitude or strength:  The closer the correlation coefficient is to +1.00 or -1.00, the stronger it is.  The closer the correlation coefficient is to 0.00, the weaker it is.
  • 13. Calculating Pearson’s r  Correlations are described using the Pearson Product-Moment correlation statistic, or r value.  In Excel, there are many functions that can calculate a correlation statistic, however, we will only use =PEARSON in this class. Let’s say we want to determine if there is a relationship between number of hours spent per week studying for Psych 209 and GPA earned in the class at the end of the quarter. To do so, we can calculate Pearson’s r for our two variables.
  • 14. Enter the following data into Excel: StudyHrs = average number of hours spent per week studying for 209 GPA = grade-point average earned in 209 at the end of the quarter
  • 15. Step 1: Select the cell where you want your r value to appear (you might want to label it). Step 2: Click on the function wizard button. Step 3: Search for and select PEARSON.
  • 16. Step 4: For Array1, select all the values under StudyHrs. For Array2, select all the values under GPA.
  • 17. Step 5: That’s it! Once you have your r value, don’t forget to round to 2 decimal places. Knowledge check: What does the r value of 0.88 tell you about the strength and direction of the correlation between StudyHrs and GPA?
  • 18. Scatterplots  A scatterplot is an excellent way to visually display the relationship (correlation) between two variables.  Each point on the scatterplot represents an individual’s data on the two variables.  We will now create a scatterplot for StudyHrs and GPA.
  • 19. Step 1: Select both columns of variables you wish to plot (StudyHrs and GPA). Step 2: Click on the tab labeled ‘Insert’, and then select ‘Scatter’ in the ‘Charts’ menu.
  • 20. Step 3: Select the first plot in the drop-down menu.
  • 21. Step 4: Remove the legend by clicking on it and pressing Delete.
  • 22. Step 5: Add axis titles by selecting the ‘Layout’ tab and clicking on ‘Axis Titles.’ For the horizontal title, you want it below the x-axis. For the vertical title, you want the ‘Rotated Title’ option. NOTE: Your chart must be highlighted for the ‘Layout’ tab to appear under ‘Chart Tools.’
  • 23.  For scatterplots, it does not matter which variable goes on each axis (this is NOT true for other types of charts).  However, you need to make sure you label your axes with the proper variable name.  In this example, GPA is on the y-axis and Study Hours is on the x-axis (we can tell this based on their different ranges of values).  As a helpful hint, Excel will automatically put the first variable (left-hand column) on the x-axis, and the second variable (right-hand column) on the y- axis. A note about x- and y-axes:
  • 24. Step 6: Change the chart title by selecting it, typing a new one, and pressing Enter. Chart and axis titles may be altered by right-clicking on them.
  • 25. Your scatterplot is now finished! Remember: Each point in the scatterplot represents an individual’s data. Knowledge check: Identify Student 8 in the scatterplot.
  • 26. Describing Correlations and Scatterplots  Scatterplots and correlations are described:  As positive or negative.  As weak, moderate, or strong.  Using the r value.  Sentence 1: There is a strong, positive correlation (r = 0.88) between the number of hours studied and GPA.  Then you want to describe the general relationship between the two variables:  Sentence 2: More hours of studying for Psych 209 was associated with a higher GPA earned in the class at the end of the quarter.  NOTE: We cannot say “More studying led to a higher GPA” – this implies causation, which cannot be determined using correlational research.