Docsity

Performing a T-Test in Excel: Instructions and Shortcut, Exercises of MS Microsoft Excel skills

Toggle sidebar
bg1
Running a t-test in Excel
Note: the Analysis TookPak is no longer included in Excel for the Mac. You need to download a third party analysis
program to perform some statistical tests. However, the shortcut described at the end of this document will work on both
a PC and Mac.
You will need to have the Data Analysis add-in installed to your version of Excel to run statistical tests. If you click on the
“Data” menu tab and see the “Data Analysis” option as below, then the add-in is already installed.
If you do not see the “Data Analysis” option, you will need to install the add-in. Do this by clicking on “File” in the top left
corner, and selecting the “Options” button (below left). You will then see the Excel Options menu (below right): click on
the “Add-Ins” button and select the “Analysis ToolPak” and click the “Go” button to install. The “Data Analysis” tab
should then appear in the “Data” menu as shown above.
To run the t-test, arrange your data in columns as seen below. Click on the “Data” menu, and then choose the “Data
Analysis” tab. You will now see a window listing the various statistical tests that Excel can perform. Scroll down to find
the t-test option and click “OK”.
pf3

Partial preview of the text

Download Performing a T-Test in Excel: Instructions and Shortcut and more Exercises MS Microsoft Excel skills in PDF only on Docsity!

Running a t-test in Excel

Note: the Analysis TookPak is no longer included in Excel for the Mac. You need to download a third party analysis program to perform some statistical tests. However, the shortcut described at the end of this document will work on both a PC and Mac.

You will need to have the Data Analysis add-in installed to your version of Excel to run statistical tests. If you click on the “Data” menu tab and see the “Data Analysis” option as below, then the add-in is already installed.

If you do not see the “Data Analysis” option, you will need to install the add-in. Do this by clicking on “File” in the top left corner, and selecting the “Options” button (below left). You will then see the Excel Options menu (below right): click on the “Add-Ins” button and select the “Analysis ToolPak” and click the “Go” button to install. The “Data Analysis” tab should then appear in the “Data” menu as shown above.

To run the t-test, arrange your data in columns as seen below. Click on the “Data” menu, and then choose the “Data Analysis” tab. You will now see a window listing the various statistical tests that Excel can perform. Scroll down to find the t-test option and click “OK”.

Now input the cells containing your data. In the menu box, click in the “Variable 1 Range” box and then use the cursor to select the column containing the data for trial 1. As you select the cells in your spreadsheet, the range should also appear in the menu box window. Repeat the process for “Variable 2 Range” and your other column of data. You can change the output options and value for alpha if appropriate, but the default alpha of 0. is usually fine for your purposes. When everything looks good, click “OK”. You will now see the results of your statistical test (unless you selected otherwise, by default the results will open in a new worksheet).

Among the variables that appear in the results sheet (left), depending on your experiment the most important result is the p-value, highlighted at left in the pink cell. Since you set your alpha value at 0.05, if the p-value is less than 0.05, you can say that there is a statistically significant difference between the means of your two trials. Note that in this example, p = 2.6 x 10-16, which is < 0.05, so the difference is significant.