26/06/2026
EXCEL DATA ANALYTICS
Diagnostic Data Analytics: Hypothesis Testing in Excel
(Brief Student Notes)
1. What is Diagnostic Data Analytics?
Diagnostic data analytics focuses on finding the reasons behind outcomes.
It answers questions like:
Why did sales drop?
Why is performance different between groups?
Is the difference statistically significant or just random?
A key tool used is Hypothesis Testing in Excel.
2. What is Hypothesis Testing?
Hypothesis testing is a statistical method used to make decisions using sample data.
Key terms:
Null Hypothesis (Hβ): No difference or effect exists
Alternative Hypothesis (Hβ): A difference or effect exists
p-value: Probability of results occurring by chance
Significance level (Ξ±): Usually 0.05 (5%)
π If p-value < 0.05, reject Hβ
π If p-value β₯ 0.05, fail to reject Hβ
3. T.TEST in Excel
Purpose:
Compares the means of two groups.
Excel Formula:
=T.TEST(array1, array2, tails, type)
Types:
Type 1: Paired samples (before/after)
Type 2: Two-sample equal variance
Type 3: Two-sample unequal variance
Example:
Compare exam scores of Class A vs Class B.
4. Z.TEST in Excel
Purpose:
Used when:
Sample size is large (n β₯ 30)
Population variance is known
Excel Formula:
=Z.TEST(array, x, [sigma])
Interpretation:
Returns p-value
Helps test if sample mean differs from population mean
5. F.TEST in Excel
Purpose:
Compares variances of two datasets
Excel Formula:
=F.TEST(array1, array2)
Use case:
Check if two groups have equal variability before performing t-test.
Interpretation:
Small p-value β variances are different
Large p-value β variances are similar
6. ANOVA Test (Analysis of Variance)
Purpose:
Compares three or more group means
Types in Excel:
Single Factor ANOVA (most common)
How to run in Excel:
Go to Data β Data Analysis ToolPak
Select ANOVA: Single Factor
Input data range
Click OK
Output includes:
F-value
p-value
Between-group and within-group variation
Interpretation:
If p-value < 0.05 β at least one group differs significantly