Calculating Statistics Using Excel
Calculating Statistics Using Excel
This document was put together following the third edition of Quantitative Research Methods for Communication:
A Hands-On Approach by Wrench, Thomas-Maddox, Richmond, and McCroskey. In the 2nd and 3rd editions, we
discussed calculating statistics using Microsoft Excel. Starting in the 4th edition, we’ve moved more information to
the online website (https://oup-arc.com/wrench) including numerous walk-through videos for running the statistics
discussed in our book. We wanted to create this special addendum to include the step-by-step walk throughs of
using Excel on its own to calculate statistics (as was seen in the 2nd and 3rd editions). Starting in the 4th edition,
we’ve recommended using Statistician for Excel (http://statsaddin.com/) because it makes calculating statistics in
Excel easier. However, as this document demonstrates, it’s still very possible to calculate a wide range of statistics
using Excel on its own.
Figure Excel.2
Select Data in Recoded Dataset
Figure Excel.1
Fulcher’s Excel File To paste the data, find the data you want to include in the alpha reliability
test in the Recoded Dataset (Figure Excel.2). Note that you do not select
the variable names at the top of each column. Then go to copy function and click “copy” (note the pointer in
Figure Excel.2). Once you have copied the data, you can then go to the Alpha Reliability Excel File and paste that
1
copied data into the file. Select the square located at B2 and paste the data (Figure Excel.3). Once you have pasted
the data, just click on the “Results” worksheet at the bottom of the screen and you can view the alpha reliability
calculated (Figure Excel.4). Please note that it is using a slightly different formula for calculating alpha reliability
than the one used by SPSS, which has resulted in a slightly elevated alpha reliability. To learn more about the specific
calculations utilized in this alpha reliability test, check out Fulcher’s discussion on conducting alpha reliability in
Fulcher and Davidson (2007) or Fulcher (2010).
4
Figure Excel.11
Means in Excel
Figure Excel.12
Descriptive Statistics Calculated by Excel
5
EXCEL AND CHI-SQUARES
To calculate the chi-square using Excel, select the Excel file titled “Chi-square” from the textbook’s website. Click
the “Insert” file tab at the top of
the screen and choose the “Pivot-
Table” function (Figure Excel.13).
The data for both the “sex” and
the “class” variables should be
highlighted. The range for the data
will appear in the “Table/Range”
box. Select “New Worksheet” from
the menu to create a new page for
the output (Figure Excel.14). Drop
and drag “sex” to the section titled
“Row Labels” and drag “class” to
the box titled “Column Labels.”
The sum of scores for “sex” should
automatically appear in the “Values”
section (Figure Excel.15). Click on
the “X” to close out the dialogue Figure Excel.13
box. The output table includes the Pivot Table
total number of responses for each
category we identified (e.g., males in
the freshman class). Be careful, Excel
often does a great job of bringing
in the counts for the first row but
not for the second row. As such, you
may find yourself with a percentage
value and not a count value. Look at
Figure Excel.16. You will note that
the first number in the second row is
14 when it should have been
Figure Excel.16
Summed Total Problem
7
Figure Excel.17
Summarize Values By
8
Figure Excel.20
Computed Expected Values
Figure Excel.21
Entering Actual Frequencies Figure Excel.22
Chi-square Test Results
9
EXCEL AND t TESTS
To compare the means for independent samples in
Excel, first open the “t-Test” file from the textbook’s
website. Once the file is opened, you will see data for
the two dress groups. As we explained earlier, Excel
uses the numeric representations of 1 and 2 for each
of these groups (Class A and Class B). Click on the
“Data” tab at the top of the spreadsheet, select “Data
Analysis” from the right side of the screen, and choose
the “t-Test: Two Sample Assuming Equal Variances”
option from the menu (Figure Excel.23). To fill in the
data ranges under the Input category, click the box
labeled “Variable 1 Range” and highlight the values in
cells B2 through B6 because this range corresponds
with those in the first group. Next, click in the box
titled “Variable 2 Range” and highlight the values in
Figure Excel.23
cells B7 through B11 because these scores correspond
t Test: Two Sample Assuming Equal Variances
with those in the second group. Click the “Labels” box
and the
“New Worksheet Ply” box. A default of 0.05 is set for alpha, but
this can be adjusted if desired. Click “OK” and the data output will
appear in a new screen (Figure Excel.24). In addition, the z-Test
option is provided in the menu of options.
Please note that Excel does not provide you with the
Levene test for equality of variances, so there is no way to ascertain
whether this assumption of the t test is violated. You can repeat
the test and run it where you assume that equal variances has been
violated, but without Levene’s test for equality of variances, it is
hard to know whether the assumption has been violated.
Figure Excel.25
Select ANOVA: Single Factor
Figure Excel.26
“ANOVA: Single Factor” Dialogue Box
Figure Excel.27
ANOVA Summary Table
11
EXCEL AND PEARSON PRODUCT-MOMENT CORRELATIONS
To calculate a correlation using Excel, open the file titled
“correlation” in the Excel data file on the textbook’s website. In
this file, data for two variables will be listed—“CA” and “hrchange.”
“CA” represents the CA scores for each respondent, and
“hrchange” reflects the change in heart rate when the respondent
is asked to give an impromptu speech. The process for calculating
the correlation is similar to other Excel statistical analyses. Click on
the “Data” tab at the top of the spreadsheet, select “Data Analysis,”
and select “Correlation” from the menu. Click on “OK” and you
will be prompted to enter the values in the “Input Range” box.
Click on the box and highlight all of the data in cells A1 through
B21—this includes the variable labels included in the first row of
the spreadsheet. Check the options for “Labels in First Row” and
“New Worksheet Ply” before clicking “OK” (Figure Excel.28). The
data output will appear in a new sheet (Figure Excel.28). With the
Excel file, you will have to look at the critical value table in (SEE Figure Excel.28
BOOK) to determine whether the test is statistically significant. Excel Correlation Dialogue Box
Again, we have bolded the significant correlation on the
results to make it stand out more easily. Excel correlation tables can become somewhat confusing because they are
not placed in a nice chart format like in SPSS. Although you may not
notice this problem here, in a few minutes when we look at a larger
example you will see it more clearly. Again, to make these tables easier
to understand, we recommend finding the diagonal lines of 1.0 and
marking a line through them with a highlighter to make it easier to view.
Figure Excel.29
Excel Correlation Output
12
Figure Excel.30
Select Regression from the Data Analysis Dialogue Box
Figure Excel.31
Regression Dialogue Box
Figure Excel.32
Excel Regression Output
13
14