Perform t-tests with Excel and a screen reader
On this page:
Before you begin
- Install the Data Analysis ToolPack add-in for Excel if you haven’t already done so.
- Have an Excel workbook with datasets.
Note:
These instructions are for use with the JAWS, NVDA, and VoiceOver screen readers, and may not work with other screen reading software.
Perform t-tests with JAWS or NVDA
- Launch Excel and open the workbook with the datasets.
- Press
Alt-A
to open the tab. - Navigate to the button, and then press the Spacebar to activate it.
- The "Data Analysis" dialog will appear and present an alphabetical list of tools in the "Analysis Tools List" box. Press the down arrow key or
T
to get to the t-test options. Then pressEnter
on your desired option.- : Choose this option if you have paired data.
- : Choose this option if you have independent samples.
- : Choose this option if you have independent samples and do not assume equal variances.
- The settings dialog for your selected analysis tool will appear. For "Variable 1 Range", enter the cell range for values in Dataset 1, and press
Tab
. - For "Variable 2 Range", enter the cell range for values in Dataset 2, and press
Tab
. - Enter the value for Hypothesized Mean Difference (the number in the edit field is 0 if you are using this tool for the first time, or the number you entered when you last used the tool).
Note:The value is the hypothesized difference between the population means. It is usually 0 if you are testing for a significant difference.
- Press
Tab
to move to the checkbox.- If you have header texts in the first cell of each variable range, check the
Tab
.
box with the Spacebar, and then press - If you don't have header texts in the first cell of each variable range, leave the box unchecked and then press
Tab
.
- If you have header texts in the first cell of each variable range, check the
- Set the alpha value, commonly 0.05 for a 95% confidence level.
- Go to "Output options". The choices are Note:The default option that is selected is New Worksheet Ply if this is the first time using the tool. Otherwise, it will select the option you used last time in the tool.
, , and . Use the up or down arrow keys to select your desired option.
- Tab to and press the Spacebar.
- Your results should appear as specified in your workbook. Use the down arrow key to begin reading them.
Perform t-tests with VoiceOver
Note:
In the "t-Tests options" dialog, the edit text fields do not have labels that are announced by VoiceOver. The associated label is announced before you get to the edit text filed as a text element.
- Launch Excel and open the workbook with the datasets.
- Press VO-
M
to access the Apple menu bar. - Press the right arrow key until you get to "Tools".
- Press the down arrow key until you get to the
Return
.
option in the menu, and then press - In the "Data Analysis" dialog, press
Tab
until VoiceOver announces "Table". - Press the down arrow or
T
to get to the t-test options.- : Choose this option if you have paired data.
- : Choose this option if you have independent samples.
- : Choose this option if you have independent samples and do not assume equal variances.
- Select the t-test option for your need.
- Press VO-right arrow until you get to the button, and then press VO-Spacebar.
- The "t-Test options" dialog appears. Use VO-right arrow to navigate steps 10-15 in the dialog.
- Press VO-right arrow until you get to the edit text for "Variable 1 Range", and then type in the cell range.
- Press VO-right arrow until you get to the edit text for "Variable 2 Range", and then type in the cell range.
Note:There is an error with the reading order in the dialog. VoiceOver will announce the "Variable 2 Range" text element first, jump up to the "Input" section name, and then go to the edit text for "Variable 2 Range".
- Press VO-right arrow until you get to the edit text for "Hypothesized Mean Difference" and put in a value of 0, unless there is a specific need for changing it.
Note:The value is the hypothesized difference between the population means. It is usually 0 if you are testing for a significant difference.
- Press VO-right arrow until you get to the
- If there are header texts in the first cell of each variable range, press VO-Spacebar to check the box.
- If you do not have header texts in variable ranges, leave it unchecked and go to the next step.
checkbox.
- Press VO-right arrow until you get to the edit text for "Alpha". Set the value, commonly 0.05 for a 95% confidence level.
- Press VO-right arrow until you get to "Output Range" under "Output Options". The choices are Notes:
- There is an error with the reading order in the dialog. VoiceOver will announce the option first, second, and then jump up to the "Output Options" section name.
- The default option that is selected is if this is the first time using the tool. Otherwise, the option you used last time in the tool will be selected.
, , and . Use VO with the up or down arrow to select your desired option.
- Press VO-right arrow until you get to the button, and then press VO-Spacebar to execute the t-test.
- The results will now appear in a new spreadsheet, or wherever you specified in the workbook.
Learn more
To learn more about which t-test to use from the Data Analysis Toolpak, consult the Microsoft support article Use the Analysis ToolPak to perform complex data analysis. Activate the button on the page to expand the button and get a more in-depth description of each t-test option.
This is document bigt in the Knowledge Base.
Last modified on 2023-04-11 09:19:25.