Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • How to use Excel LOOKUP Function
  • Left Lookup in Excel
  • Merge tables with VLOOKUP in Excel
  • Excel Advanced Lookup using Index and Match Functions

Data Analysis Examples

  • How to Create Column Chart in Excel
  • How to count table rows in Excel
  • How To Filter Data in Excel
  • Get column index in Excel Table
  • Randomize/ Shuffle List in Excel

Data Validation Examples

  • Excel Data validation must begin with
  • Excel Data validation require unique number
  • Excel Data validation only dates between
  • Excel Data validation specific characters only
  • Excel Data validation don’t exceed total

How to perform a t-Test in Excel

by

To test null hypothesis for unequal variance

This example teaches you how to perform a t-Test in Excel. The t-Test is used to test the null hypothesis that the means of two populations are equal.

Steps in running a t-test in Excel

Below you can find the study hours of 6 female students and 5 male students.

H0: μ1 – μ2 = 0
H1: μ1 – μ2 ≠ 0

To perform a t-Test, execute the following steps.

Worked Example:   How to calculate correlation coefficient Correlation in Excel

1. First, perform an F-Test to determine if the variances of the two populations are equal. This is not the case.

2. On the Data tab, in the Analysis group, click Data Analysis.

Note: can’t find the Data Analysis button? Click here to load the Analysis ToolPak add-in.

3. Select t-Test: Two-Sample Assuming Unequal Variances and click OK.

Worked Example:   Excel Frequency Function Example

4. Click in the Variable 1 Range box and select the range A2:A7.

5. Click in the Variable 2 Range box and select the range B2:B6.

6. Click in the Hypothesized Mean Difference box and type 0 (H0: μ1 – μ2 = 0).

7. Click in the Output Range box and select cell E1.

8. Click OK.

Result:

Conclusion: We do a two-tail test (inequality).

lf t Stat < -t Critical two-tail or t Stat > t Critical two-tail, we reject the null hypothesis. This is not the case, -2.365 < 1.473 < 2.365.

Worked Example:   How To Load Analysis ToolPak in Excel

Therefore, we do not reject the null hypothesis. The observed difference between the sample means (33 – 24.8) is not convincing enough to say that the average number of study hours between female and male students differ significantly.

Post navigation

Previous Post:

Excel Ribbon: Navigation, Customizing, Collapsing and All You Need To Know

Next Post:

Understanding Cell Ranges, Auto fills, Copy/Paste, Insert Row, Column in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • Remove line breaks in a cell in Excel
  • Change Case: Uppercase, Lowercase, Propercase in Excel
  • Add line break based on OS in Excel
  • How to count line breaks in cell in Excel worksheet
  • DOLLAR function: Description, Usage, Syntax, Examples and Explanation
  • Calculate time difference in hours as decimal value in Excel
  • Display the current date in Excel
  • How to calculate next scheduled event in Excel
  • How to calculate percent of year complete in Excel
  • DAYS360 function: Description, Usage, Syntax, Examples and Explanation
  • Calculate interest rate for loan in Excel
  • DURATION function: Description, Usage, Syntax, Examples and Explanation
  • ODDLYIELD function: Description, Usage, Syntax, Examples and Explanation
  • NOMINAL function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate Net Present Value (NPV) in Excel
Acronyms, Abbreviations, Initialism & What They Stand For
© 2021 xlsoffice. All Rights Reserved | Teal Smiles