Chapter
📚 Chapter(4).pdf
Brief overview
This chapter introduces foundational statistical concepts crucial for data analysis. Understanding these topics allows for the interpretation of data distributions and the basic framework of inferential statistics.
Key points
- Understanding Z-scores and their properties
- The normal distribution and empirical rule
- Hypothesis testing for a population mean
1. Understanding Z-scores and their properties
1.1 What is a Z-score?
- A Z-score is a standardized value. It indicates how far a data point is from the mean. This distance is measured in units of standard deviation 3.
- It is also known as a standard score.
1.2 Calculating Z-scores
- A raw score (x) is converted to a Z-score (Z) using its mean (μ) and standard deviation (σ).
- The formula is: Z=σx−μ.
1.2.1 Example calculation
- Given scores: 6, 8, 11, 9, 10, 5, 7.
- Calculate the mean (μ): μ=8.
- Calculate the standard deviation (σ): σ=2 5.
- Calculate Z-scores for each score:
- For x=6: Z=26−8=−1.
- For x=8: Z=28−8=0.
- For x=11: Z=211−8=1.5 6.
Z-scores transform raw data into a standardized scale for comparison.
1.3 Interpreting Z-scores
- The Z-score's sign and magnitude provide interpretation:
| Z-Score | Interpretation |
|---|---|
| Z=0 | Exactly at the mean |
| Z>0 | Above the mean |
| Z<0 | Below the mean |
| Z=1 | One standard deviation above the mean |
| Z=−1 | One standard deviation below the mean |
| Z=2 | Two standard deviations above the mean |
| Z=−2 | Two standard deviations below the mean |
- The mean of any set of Z-scores is always 0 (μZ=0).
- The standard deviation of any set of Z-scores is always 1 (σZ=1).
- The sum of all Z-scores in a distribution is 0 (∑Z=0).
Z-scores standardize a distribution to have a mean of 0 and a standard deviation of 1.
1.5 Applying Z-scores: Relative Performance
- Z-scores help compare performance across different scales or subjects. A higher Z-score indicates better relative performance.
1.5.1 Example: Comparing subject performance
- Ali's marks: Arabic Accounting Mathematics .
- Class means: Arabic Accounting Mathematics .
- Standard deviations: Arabic Accounting Mathematics 1 2 4.
| Subject | Ali's Mark (x) | Class Mean (μ) | Std. Deviation (σ) | Z-Score (Z=σx−μ) |
|---|---|---|---|---|
| Arabic | 72 | 69 | 1 | 172−69=3.00 |
| Accounting | 69 | 68 | 4 | 469−68=0.25 |
| Mathematics | 75 | 79 | 2 | 275−79=−2.00 |
1.6 Effect of linear transformations on Z-scores
- When a variable (X) is linearly transformed into a new variable (Y) using the formula Y=aX+b:
- The new mean is μY=aμX+b.
- The new standard deviation is σY=∣a∣σX.
- The new Z-score (ZY) depends on the sign of 'a':
- If a>0, then ZY=ZX.
- If a≤0, then ZY=−ZX 7.
1.6.1 Example: Transformation
- Original scores: 40, 50, 60, 70, 80.
- Original Mean (μX): 60.
- Original Standard Deviation (σX): ≈14.14 (or 102).
- Transformation: Y=−2X+10.
- New Mean (μY): μY=(−2)+10=−110 13 .
- New Standard Deviation (σY): σY=∣−2∣(102)=202≈28.28.
- If original score x=70:
- Original Z-score: ZX=10270−60=10210=21≈0.7071.
- Since a=−2 (negative), the new Z-score is ZY=−ZX=−21≈−0.7071 14.
Linear transformations preserve the relative standing of data points, but their Z-scores might flip sign if the slope is negative.
🔑 Important: Z-scores are crucial for comparing values from different distributions and understanding their position relative to the mean in terms of standard deviations.
2. The normal distribution and empirical rule
2.1 The normal distribution
The normal distribution is a common pattern in data, characterized by a bell-shaped, symmetric curve. This curve is completely defined by its mean (μ) and standard deviation (σ).
The total area under the curve represents 100% of the data, and the curve approaches the horizontal axis without ever touching it.
2.1.1 Standard normal distribution
A special case is the standard normal distribution. It has a mean (μ) of 0 and a standard deviation (σ) of 1.
This is often represented by the variable Z, where Z∼N(0,1) 18.
The standard normal curve is symmetric around zero.
The area to the left of a specific value z on the standard normal curve gives the probability P(Z≤z) 19.
The standard normal curve is symmetric around zero. The shaded area to the left of z represents P(Z≤z) 22.

2.1.2 Calculating probabilities
Probabilities for a standard normal variable Z can be found using a Z-table, which shows the cumulative area to the left of a given z-score. Several fundamental probability rules apply 21:
- P(Z>z)=1−P(Z<z): The probability of being greater than z is one minus the probability of being less than z.
- P(Z<−z)=1−P(Z<z): Due to symmetry, the probability of being less than −z is the same as one minus the probability of being less than z.
- P(Z>−z)=P(Z<z): The probability of being greater than −z is equal to the probability of being less than z, thanks to symmetry.
- P(z1<Z<z2)=P(Z<z2)−P(Z<z1): The probability of Z being between two values is the difference between their cumulative probabilities.
Use the Z-table for cumulative areas to the left of z.
2.2 The empirical rule
The empirical rule, also known as the 68-95-99.7 rule, provides a quick way to estimate the percentage of data within certain standard deviations of the mean for a normal distribution.
| Interval | Percentage of Data |
|---|---|
| μ−σ to μ+σ | 68% |
| μ−2σ to μ+2σ | 95% |
| μ−3σ to μ+3σ | 99.7% |
This rule is based on the proportions of data falling within specific ranges around the mean:
- About 68% of data falls within one standard deviation of the mean (μ±σ).
- About 95% of data falls within two standard deviations of the mean (μ±2σ).
- About 99.7% of data falls within three standard deviations of the mean (μ±3σ).

The empirical rule offers approximate percentages for data within standard deviations.
📝 Example: If student heights are normally distributed with a mean of 165 cm and a standard deviation of 10 cm, approximately 68% of students will be between 155 cm and 175 cm tall 16.
2.3 Applying normal distribution to real-world data
To find probabilities or counts for a non-standard normal variable X∼N(μ,σ2), we first convert X to a standard normal variable Z using the formula: Z=σX−μ 25. Once X is converted to Z, we can use the Z-table to find probabilities.
Convert non-standard normal variables to Z-scores for probability calculations.
2.3.1 Calculating probabilities for non-standard variables
Consider heights of 10-year-old boys, normally distributed with μ=177 cm and σ=7 cm.
-
The probability a boy is shorter than 170 cm:
-
Convert to Z-score: Z=(170−177)/7=−1.
-
Using the Z-table, P(Z<−1)≈0.1587. So, about 15.87% of boys are shorter than 170 cm.
-
The probability a boy is taller than 191 cm:
-
Convert to Z-score: Z=(191−177)/7=2.
-
P(X>191)=P(Z>2)=1−P(Z<2)≈1−0.9772=0.0228. So, about 2.28% of boys are taller than 191 cm 27.

For non-standard normal variables, standardize to Z-scores to use Z-tables.
2.3.2 Finding values from probabilities
We can also find a value x if we know the probability. For example, if 20% of employees earn more than a certain income level x, we want to find x such that P(X>x)=0.20.
- This means P(X<x)=1−0.20=0.80.
- We find the z-score corresponding to a cumulative probability of 0.80, which is approximately z=0.84.
- Then, we use the formula x=μ+zσ. If μ=4000 dollars and σ=500 dollars, then x=4000+(0.84)=4000+420=4420 dollars 34 .
🔑 Important: Use the Z-score formula Z=(X−μ)/σ to convert, and X=μ+Zσ to reverse the process.
2.3.3 Calculating counts and percentages
The normal distribution helps us find the number or percentage of observations within a certain range.
- Number of students: If 5,000 students have heights normally distributed with μ=165 cm and σ=10 cm, the number of students taller than 170 cm is found by:
- Z=(170−165)/10=0.5.
- P(X>170)=P(Z>0.5)=1−P(Z<0.5)≈1−0.6915=0.3085.
- Number of students = 5000×0.3085≈1543 students 29.

- Percentage of students: The percentage of students with heights less than 155 cm is calculated as:
- Z=(155−165)/10=−1.
- P(X<155)=P(Z<−1)≈0.1587.
- Percentage = 0.1587×100%=15.87% 30.
🔑 Important: To find counts, multiply the total number of observations by the calculated probability. To find percentages, multiply the probability by 100%.
🔑 Important: For reverse questions, find the z-score for the given probability using the Z-table, then convert it back to the original variable's scale.
🔑 Important: The normal distribution is fundamental for understanding and analyzing many real-world data sets.
3. Hypothesis testing for a population mean
3.1 Introduction to hypothesis testing
Hypothesis testing is a statistical method that uses sample data to make decisions about a population parameter. It helps determine if there's enough evidence to reject a claim about the population.
We do not prove hypotheses; we either reject or fail to reject them based on sample evidence 35.
3.2 Stating hypotheses
3.2.1 Null and alternative hypotheses
- Null Hypothesis (H0): Represents the status quo or no difference. It always contains an equality sign (=,≤,≥). It assumes there is no effect or difference 36.
- Alternative Hypothesis (H1): Represents the claim or what we want to prove. It contains a strict inequality sign (<,>,=). It reflects the researcher's claim or expected difference 37.
3.2.2 Types of alternative hypotheses
The choice of H1 dictates the rejection region.
| Type of Test | Alternative Hypothesis (H1) | Rejection Region | Area (Significance Level α) |
|---|---|---|---|
| Right-tailed | μ>μ0 | Z>Zα | α (right tail) |
| Left-tailed | μ<μ0 | Z<−Zα | α (left tail) |
| Two-tailed | μ=μ0 | Z<−Zα/2 or Z>Zα/2 | α (total, α/2 each tail) |
38 39 40## 3.3 Significance level and confidence level
3.3.1 Significance level (α)
The significance level (α) is the probability of committing a Type I Error, which is rejecting a true null hypothesis. Common values include 0.10, 0.05, and 0.01.
3.3.2 Confidence level (1−α)
The confidence level (1−α) is the probability that a confidence interval contains the true population parameter.
| α (Significance Level) | 1−α (Confidence Level) |
|---|---|
| 0.10 | 90% |
| 0.05 | 95% |
| 0.01 | 99% |
🔑 Important: A smaller α means a larger critical value. This makes the test stricter but increases the chance of a Type II Error (failing to reject a false null hypothesis).
3.4 Z-test for a population mean
The Z-test is used when the population standard deviation (σ) is known.
3.4.1 Conditions for Z-test
- The population standard deviation (σ) is known.
- The sample is random and independent.
- The population is normally distributed, or the sample size is large (n≥30).
3.4.2 Test statistic
The Z-test statistic is calculated as: Z=σ/nxˉ−μ0 where:
- xˉ is the sample mean.
- μ0 is the hypothesized population mean.
- σ is the population standard deviation.
- n is the sample size.
If the null hypothesis is true, the Z statistic follows the standard normal distribution, N(0,1).
🔑 Important: Use the Z-test when σ is known or when n≥30 due to the Central Limit Theorem 43.
3.4.3 Decision rule
The decision rule depends on the type of test (two-tailed, left-tailed, or right-tailed) and the chosen significance level (α).
Two-Tailed Z-Test.
- Hypotheses: H0:μ=μ0, H1:μ=μ0
- Rejection Region: Reject H0 if ∣Z∣>Zα/2
- Critical Values: | α | Zα/2 | |:------- |:------------- | | 0.10 | 1.645 | | 0.05 | 1.960 | | 0.01 | 2.576 |
- Decision:
- If −Zα/2≤Z≤Zα/2, fail to reject H0.
- If Z<−Zα/2 or Z>Zα/2, reject H0.
Right-Tailed Z-Test.
- Hypotheses: H0:μ=μ0, H1:μ>μ0
- Rejection Region: Reject H0 if Z>Zα
- Critical Values: | α | Zα | |:------- |:--------- | | 0.10 | 1.282 | | 0.05 | 1.645 | | 0.01 | 2.326 |
- Decision:
- If Z≤Zα, fail to reject H0.
- If Z>Zα, reject H0.
Left-Tailed Z-Test.
- Hypotheses: H0:μ=μ0, H1:μ<μ0
- Rejection Region: Reject H0 if Z<−Zα
- Critical Values: | α | −Zα | |:------- |:---------- | | 0.10 | -1.282 | | 0.05 | -1.645 | | 0.01 | -2.326 |
- Decision:
- If Z≤−Zα, reject H0.
- If Z>−Zα, fail to reject H0.
3.5 Examples
3.5.1 Two-tailed Z-test example
A company claims its employees' mean monthly salary is 5000 dollars. A sample of 64 employees shows a mean salary of 5200 dollars with a population standard deviation of 800 dollars.
Test the claim at α=0.05.
- Hypotheses: H0:μ=5000, H1:μ=5000
- Test Statistic: Z=800/645200−5000=100200=2.00
- Critical Values: For α=0.05 (two-tailed), Zα/2=1.96. Rejection region: Z<−1.96 or Z>1.96.
- Decision: Since Z=2.00>1.96, reject H0.
- Conclusion: There is sufficient evidence at the 5% significance level to conclude the mean monthly salary is not 5000 dollars 47.
3.5.2 Left-tailed Z-test example
A factory claims its product mean weight is 50 kg. A sample of 36 items has a mean weight of 47 kg with a population standard deviation of 12 kg.
Test if the true mean weight is less than 50 kg at α=0.05.
- Hypotheses: H0:μ=50, H1:μ<50
- Test Statistic: Z=12/3647−50=2−3=−1.50
- Critical Value: For α=0.05 (left-tailed), −Zα=−1.645. Reject H0 if Z<−1.645.
- Decision: Since −1.50>−1.645, fail to reject H0.
- Conclusion: At α=0.05, there is not enough evidence to reject the claim 48.
3.5.3 Right-tailed Z-test example
A company claims its average daily production is 100 units. A sample of 64 units has a mean of 104 units with a population standard deviation of 16 units.
Test if the mean production is greater than 100 units at α=0.01 49.
- Hypotheses: H0:μ=100, H1:μ>100
- Test Statistic: Z=16/64104−100=24=2.00
- Critical Value: For α=0.01 (right-tailed), Zα=2.326. Reject H0 if Z>2.326.
- Decision: Since 2.00<2.326, do not reject H0.
- Conclusion: There is not sufficient evidence at α=0.01 to conclude that the mean is greater than 100 50.
🔑 Important: The core of hypothesis testing involves comparing a calculated test statistic to a critical value (or region) determined by the significance level and the alternative hypothesis 41 44 45 46.
© 2026 Maeve. All rights reserved. This content is protected by copyright.