آمار ۱
📚 آمار ۱.pdf
Brief overview
This document provides a foundational understanding of descriptive statistics, essential for organizing, summarizing, and interpreting data. Mastering these concepts is crucial for analyzing quantitative information in various fields.
Key points
- Introduction to statistical concepts and frequency tables
- Calculation and interpretation of central tendency and dispersion measures
- Application of various statistical graphs for data visualization
- Principles of estimation, including point and interval estimates
- Fundamentals of hypothesis testing and its common pitfalls
1. Introduction to statistics and frequency tables (part 1)
1.1 What is statistics?
- Statistics: the science of collecting, organizing, analyzing, and interpreting data.
- It helps us understand patterns and make informed decisions from information.
- Statistics uses data to describe phenomena and draw conclusions 6.
1.2 Types of data
- Quantitative data: numerical data that can be measured.
- Examples: height, weight, temperature.
- Qualitative data: categorical data that describes characteristics.
- Examples: color, gender, type of car 7.
1.3 Organizing data with frequency
- Frequency: how often a specific value or category appears in a dataset.
- Counting occurrences helps reveal patterns in the data.
📝 Example: If you survey 20 students about their favorite color and find 5 chose blue, the frequency of blue is 5.
1.4 Frequency tables
- A frequency table organizes data by listing values and their corresponding frequencies.
- This makes it easier to see the distribution of data 8.
| Category | Frequency |
|---|---|
| Blue | 5 |
| Red | 3 |
| Green | 7 |
| Yellow | 5 |
1.5 Mode
- The mode is the value or category with the highest frequency in a dataset.
- It tells you the most common observation 9.
📝 Example: In the favorite color table above, both blue and yellow have the highest frequency so they are both modes. The dataset is bimodal 5.
1.6 Relative frequency
- Relative frequency shows the proportion of times a value or category appears.
- It is calculated by dividing the frequency of a category by the total number of observations.
- Formula: Relative Frequency = Total ObservationsFrequency
| Category | Frequency | Total Observations | Relative Frequency |
|---|---|---|---|
| Blue | 5 | 20 | 0.25 |
| Red | 3 | 20 | 0.15 |
| Green | 7 | 20 | 0.35 |
| Yellow | 5 | 20 | 0.25 |
1.7 Percentage frequency
- Percentage frequency is relative frequency multiplied by 100.
- This expresses the proportion as a percentage 10.
- Formula: Percentage Frequency = Relative Frequency × 100%
| Category | Frequency | Relative Frequency | Percentage Frequency |
|---|---|---|---|
| Blue | 5 | 0.25 | 25% |
| Red | 3 | 0.15 | 15% |
| Green | 7 | 0.35 | 35% |
| Yellow | 5 | 0.25 | 25% |
1.8 Cumulative frequency
- Cumulative frequency is the sum of frequencies for a given value and all preceding values.
- It shows the total number of observations up to a certain point 11.
🔑 Important: Cumulative frequency is most useful for ordered (quantitative) data.
| Score | Frequency | Cumulative Frequency |
|---|---|---|
| 1 | 2 | 2 |
| 2 | 4 | 6 |
| 3 | 5 | 11 |
| 4 | 3 | 14 |
🔑 Important: The most exam-relevant insight from this topic is that frequency tables provide a clear, organized way to understand the distribution and common values within a dataset.
2. Introduction to statistics and frequency tables (part 2)
2.1 Presenting statistical information
Statistical data can be presented to an audience using various measures. These include the total count or frequency, the most common value (mode), and the average of squared differences from the mean (variance).
Other key measures are the first through fourth quartiles, the mean (average), the range, the median, and the standard deviation 27.
2.2 Frequency tables
A frequency table is a method for organizing and summarizing data. It shows how often each value or range of values appears in a dataset 28.
2.3 Constructing a frequency table
Creating a frequency table involves several steps to group and count data points. This process helps in understanding the distribution of the data.
2.3.1 Determining the range
The first step is to find the range of the data. This is calculated by subtracting the minimum value from the maximum value in the dataset 32.
2.3.2 Determining the number of classes
Next, you need to decide on the number of classes, or groups, for your frequency table. This choice affects how the data is summarized and visualized 33.
2.3.3 Calculating class width
Once the number of classes is determined, calculate the width of each class. This ensures that each class interval has a consistent size.
The formula for class width is:
Class width=Number of classesRange 34.
2.3.4 Calculating relative frequency
Relative frequency represents the proportion of times a specific value or class appears in the dataset. It is calculated by dividing the frequency of a class by the total number of observations.
Relative frequency=Total number of observationsFrequency of class 36.
2.3.5 Calculating cumulative frequency
Cumulative frequency is the sum of frequencies for a given class and all preceding classes. It shows the total number of observations that fall below a certain value or within a set of classes 37.
🔑 Important: Frequency tables help visualize data distribution, making it easier to identify patterns and trends that might be hidden in raw data.
🔑 Important: The choice of the number of classes can significantly impact how the data is perceived. Too few classes can hide detail, while too many can make the table appear cluttered. A common guideline is Sturges' rule, which suggests k=1+3.322log10(n), where n is the number of data points.
🔑 Important: Ensure all data points are accounted for and fall into exactly one class to maintain accuracy.
3. Introduction to statistics and frequency tables (part 3)
3.1 Measures of central tendency and spread
Statistical measures help summarize data. They provide a concise way to report information for articles and presentations.
Key measures include frequency, mode, variance, quartiles, mean, range, median, and standard deviation 27.
3.1.1 Mean
The mean, or average, is calculated by summing all data points and dividing by the total number of data points (n). It is suitable when data follows a normal or near-normal distribution.
Xˉ=n∑i=1nXi
- Formula: Sum of all data points divided by the count of data points.
- Example: For data {3,5,8,2,4,6,3,2,1}, the sum is 34 and n=9. The mean is 34/9 .
3.1.2 Weighted mean
Weighted means are used when some data points have more importance or influence than others. The calculation adjusts for these varying levels of importance .
3.1.3 Median
The median is the middle value in a dataset after it has been ordered. It represents the 50th percentile.
- Odd number of data points: The median is the single middle value.
- Example: For ordered data {1,2,3,4,8}, the median is 3.
- Even number of data points: The median is the average of the two middle values.
- Example: For ordered data {1,2,3,4,8,8}, the median is (3+4)/2=3.5 .
3.1.4 Range
The range (R) is the difference between the largest and smallest data points in a dataset.
R=maximum−minimum
- Usage: Best used for data with a uniform distribution.
- Limitation: Not suitable for non-uniform distributions; median and quartiles are preferred in such cases .
3.1.5 Quartiles
Quartiles divide a sorted dataset into four equal parts .
| Quartile | Description |
|---|---|
| Q1 | First quartile; 25% of data is less than or equal to this value. |
| Q2 | Second quartile; same as the median (50% of data). |
| Q3 | Third quartile; 75% of data is less than or equal to this value. |
- Example: For 100 employees' salaries, Q1 is the salary at the 25th person, the median at the 50th, and Q3 at the 75th. This provides a clearer picture than just the median .
3.1.6 Variance
Variance (σ2 or s2) measures how far each data point deviates from the mean. It indicates the spread of data around the average.
s2=n−1∑i=1n(Xi−Xˉ)2
- Purpose: Squaring the differences ensures that negative deviations do not cancel out positive ones. It also magnifies larger differences.
- Example: Two students have the same mean score of 10. Student 1's scores are {9.5,10,10.5}, while Student 2's are {0,10,20}. Student 1 has low variance, indicating scores close to the mean. Student 2 has high variance, showing scores are widely spread .
3.1.7 Standard deviation
Standard deviation (SD) is the square root of the variance. It shows the average amount data points deviate from the mean.
- Calculation: SD=Variance.
- Use: Often used for confidence in statistical analyses. Error bars on graphs represent standard deviation, showing data dispersion.
- Example: Both students have a mean score of 10. Student 1 has an SD of approximately 0.5, while Student 2 has an SD of 10. This indicates Student 2's scores have much greater fluctuations .
3.2 Visualizing data: Graphs and charts
Graphs convert raw numbers into visual formats for quicker understanding. They help identify patterns, outliers, and correlations, and make group comparisons easier.
The type of graph used depends on whether the data is qualitative or quantitative .
3.2.1 Graphs for qualitative data
Qualitative data (nominal or ordinal) are represented by graphs that compare frequencies or proportions.
| Graph Type | Use | Key Note |
|---|---|---|
| Bar Chart | Compare frequencies of categories | Rectangles are separated. |
| Pie Chart | Show percentage contribution | Maximum of 5 categories to avoid clutter. |
- Example: A bar chart can show the number of students per major. A pie chart can display the annual university budget allocation .
- Categorizing grades: Student grades (0-20) can be categorized as Weak (<10), Average (10-15), and Good (>15). A bar chart can compare these categories. A pie chart can show the percentage of students in each category .
3.2.2 Graphs for quantitative data (Distribution)
These graphs display the shape and summary statistics of numerical data.
- Histogram: Shows the distribution shape (symmetric, skewed, bimodal). Rectangles are adjacent. The horizontal axis represents class intervals.
- Box Plot (Box-and-Whisker Plot): Displays five summary numbers: minimum, Q1, median, Q3, and maximum. It helps identify outliers (points outside the box's whiskers). Box plots are useful for comparing multiple populations .
- Example: For student scores {7,8,9,10,11,12,12,13,14,14,14,14,15,15,15,16,17,18,19,20}, the five-number summary is Min=7, Q1=11.5, Median=14, Q3=15.5, Max=20. The Interquartile Range (IQR) is 15.5−11.5=4. Outlier limits are 11.5−1.5×4=5.5 and 15.5+1.5×4=19.5. Since 7 and 20 fall within these limits, neither is an outlier .
3.2.3 Graphs for quantitative data (Relationship and Trend)
These graphs illustrate how variables relate to each other or change over time.
- Scatter Plot: Shows the relationship between two quantitative variables, with each point representing an individual. Useful for correlation analysis (e.g., height vs. weight).
- Line Chart: Displays trends over time. Suitable for data like stock prices over months.
- Area Chart: Shows the total volume and trend of combined measures over time, highlighting the contribution of different components .
3.3 Estimation and hypothesis testing
Statistical estimation and hypothesis testing are fundamental inferential statistics processes. They use sample data to make conclusions about a larger population.
3.3.1 Estimation
Estimation involves using sample data to infer unknown population parameters like the mean or variance.
- Point Estimate: Provides a single value as an estimate for a population parameter (e.g., sample mean estimates population mean).
- Interval Estimate: Provides a range of plausible values for a parameter, along with a specified confidence level .
3.3.2 Hypothesis Testing
Hypothesis testing is a method to decide whether to accept or reject a claim about a population parameter. It uses sample data to evaluate the claim .
- Purpose: Saves cost and time compared to analyzing the entire population, and supports scientific decision-making .
- Null Hypothesis (H0): States there is no significant difference or effect. For example, H0: the mean score is 15.
- Alternative Hypothesis (H1): States there is a significant difference or effect. For example, H1: the mean score is not equal to 15 .
3.3.2.1 Steps in hypothesis testing
- Define hypotheses: State the null (H0) and alternative (H1) hypotheses.
- Choose significance level (α): The probability of incorrectly rejecting a true null hypothesis. Common values are 0.05, 0.10, or 0.01 .
- Collect data: Gather relevant sample data.
- Calculate test statistic: Compute the value used to test the hypothesis.
- Calculate P-value: The probability of observing the data (or more extreme) if the null hypothesis is true.
- If P-value<α, reject H0.
- If P-value≥α, do not reject H0 .
- Make a decision: Conclude whether to reject or not reject the null hypothesis .
3.3.2.2 P-value interpretation
A P-value measures the statistical significance of findings. A smaller P-value increases confidence that an observed difference is real, not due to chance.
- P-value<0.05: Indicates a statistically significant difference.
- P-value≥0.05: Indicates no statistically significant difference .
3.3.2.3 Errors in hypothesis testing
- Type I Error: Rejecting a true null hypothesis. Also known as a false positive. The probability is α.
- Type II Error: Failing to reject a false null hypothesis. Also known as a false negative. The probability is β .
| Feature | Type I Error (α) | Type II Error (β) |
|---|---|---|
| Common Name | False Positive | False Negative |
| Statistical Meaning | Reject H0 when true | Fail to reject H0 when false |
| Relationship to α | Probability is α | Probability is β |
| Inverse Concept | Significance Level | Statistical Power (1−β) |
| Medical Example | Diagnosing a healthy person as sick | Failing to diagnose a sick person |
🔑 Important: Understanding variance and standard deviation is crucial for interpreting data spread and making informed statistical decisions .
4. Measures of central tendency and dispersion
4.1 Measures of central tendency
Central tendency measures identify the middle or typical value in a dataset. They help summarize data with a single number.
-
Mean: The sum of all data points divided by the number of data points. It is sensitive to outliers.
-
Formula: X=n∑i=1nXi.
-
Use when data is normally distributed or nearly so.
-
Weighted mean: Similar to the mean, but some data points have more importance or "weight" than others 44.
-
Median: The middle value in a dataset when the data is ordered. It is not affected by extreme values.
-
For an odd number of data points, it's the exact middle value.
-
For an even number of data points, it's the average of the two middle values.
-
Also known as the 50th percentile (Q2).
📝 Example: For the ordered data 1, 2, 3, 4, 8, the median is 3. For 1, 2, 3, 4, 8, 8, the median is (3+4)/2=3.5.
4.2 Measures of dispersion
Dispersion measures describe how spread out or varied the data points are. They show the variability around the central tendency.
-
Range: The difference between the largest and smallest data point.
-
Formula: R=maximum−minimum.
-
Useful for uniformly distributed data.
-
Not reliable for non-uniform distributions; quartiles are better.
-
Quartiles: Values that divide a sorted dataset into four equal parts.
-
Q1 (First Quartile): 25% of data points are less than or equal to this value.
-
Q2 (Second Quartile): Same as the median; 50% of data points are less than or equal to this value.
-
Q3 (Third Quartile): 75% of data points are less than or equal to this value 50.
📝 Example: In a company of 100 employees, salaries might show Q1 at 500,000 currency units and Q3 at 10,000,000 currency units, giving a clearer picture than just the average 51.
- Variance: Measures how far each data point is from the mean. A high variance indicates data points are far from the mean.
- Formula: s2=n−1∑i=1n(Xi−Xˉ)2 (Note: document shows 1/n but 1/(n−1) is standard for sample variance).
- It shows the spread of data around the mean.
📝 Example: Two students both have a mean score of 10. Student 1's scores (9.5, 10, 10.5) have low variance, while Student 2's scores (0, 10, 20) have high variance, indicating different consistency 53.
- Standard deviation: The square root of the variance. It indicates the average distance of data points from the mean.
- It is commonly used for confidence intervals in statistical analysis.
- Error bars on charts often represent standard deviation, showing data spread.
🔑 Important: Standard deviation is typically reported because it is in the same units as the original data, making it easier to interpret than variance.
📝 Example: For Student 1 (mean 10), the standard deviation might be around 0.5. For Student 2 (mean 10), it might be around 10. This shows Student 2's scores are much more scattered 56.
4.3 Data visualization
Visualizing data helps in faster comprehension and pattern discovery.
| Chart type | Use | Key points |
|---|---|---|
| Bar chart | Compare frequencies of categories | Rectangles are separate |
| Pie chart | Show percentage of each part of whole | Max 5 categories to avoid clutter |
| Example: | Student count per major (Bar Chart) | Annual university budget (Pie Chart) |
🔑 Important: The type of chart to use depends on the type of data: qualitative (nominal, ordinal) or quantitative 59.
🔑 Important: Measures of central tendency and dispersion are crucial for understanding data distribution. Mean is best for normal data, while median and quartiles are better for skewed data. Variance and standard deviation quantify spread 43 46 49 52 55.
5. Statistical graphs and their applications (part 1)
5.1 Graphs for categorical data
- Bar chart: Use this to compare distinct categories. Each bar represents a category, and its height shows the frequency or count 63.
- Pie chart: Use this to show proportions of a whole. Each slice represents a category's percentage of the total 64.
📝 Example: Imagine comparing student grades. A bar chart would show how many students got 'A', 'B', 'C', etc. A pie chart would show the percentage of the total students who achieved each grade.
5.2 Graphs for quantitative data: Distribution
-
Histogram:
-
Shows the shape of data distribution (symmetric, skewed, bimodal).
-
Rectangles touch each other, unlike bar charts.
-
The horizontal axis shows class intervals or bins.
-
Box plot:
-
Displays five summary statistics: minimum, first quartile (Q1), median, third quartile (Q3), and maximum.
-
Helps identify outliers, which are data points outside the whiskers.
-
Useful for comparing distributions across multiple groups, like height for men and women 66.
📝 Example: For student scores, a histogram shows how many fall into score ranges (e.g., 0-10, 10-20). A box plot shows the spread of scores, the middle score, and potential extreme scores.
5.2.1 Calculating box plot components
Data: 7, 8, 9, 10, 11, 12, 12, 13, 14, 14, 14, 14, 15, 15, 15, 16, 17, 18, 19, 20.
| Statistic | Value | Calculation/Meaning |
|---|---|---|
| Minimum (Min) | 7 | The smallest value. |
| First Quartile (Q1) | 11.5 | Median of the lower half of the data. |
| Median | 14 | The middle value when data is ordered. |
| Third Quartile (Q3) | 15.5 | Median of the upper half of the data. |
| Maximum (Max) | 20 | The largest value. |
- Interquartile Range (IQR) is Q3−Q1. For this data, 15.5−11.5=4.
5.2.2 Identifying outliers in a box plot
- Lower outlier boundary: Q1−1.5×IQR
- Upper outlier boundary: Q3+1.5×IQR
Using the data:
- Lower boundary: 11.5−1.5×4=11.5−6=5.5. The minimum value 7 is not an outlier.
- Upper boundary: 15.5+1.5×4=15.5+6=21.5. The maximum value 20 is not an outlier 69.
🔑 Important: A score of 20 is not considered an outlier in this dataset because it falls within the calculated upper boundary.
5.3 Graphs for quantitative data: Relationships and trends
- Scatter plot: Shows the relationship between two quantitative variables. Each point represents an individual's data on both variables.
- Line chart: Displays trends over time. This is good for tracking changes like stock prices.
- Area chart: Similar to a line chart but emphasizes the volume or cumulative total over time. It can show how two or more components contribute to a total trend 70.
📝 Example: A scatter plot could show if taller people tend to weigh more. A line chart could track a product's sales over several months, with an area chart showing the breakdown of sales by different product types over the same period.
🔑 Important: Choose the graph that best visualizes the type of data and the question you want to answer: comparison (bar/pie), distribution (histogram/box plot), or relationship/trend (scatter/line/area).
6. Statistical graphs and their applications (part 2)
6.1 Introduction to statistical estimation
Statistical estimation uses sample data to estimate an unknown population parameter. Parameters include values like the mean or variance of a group.
- Point estimate: This is a single value used to estimate a parameter. For example, a sample mean of 50 might estimate the population mean.
- Interval estimate: This provides a range of likely values for a parameter. It also includes a specified confidence level.
📝 Example: If a sample of fish weights has a mean of 250 grams, this mean is a point estimate for the average weight of all fish in the population. An interval estimate might state that we are 95% confident the true average weight is between 230 and 270 grams.
6.2 The Normal Distribution
The normal distribution is a common probability distribution. It is bell-shaped and symmetrical.
Many natural phenomena follow this pattern.
- The normal distribution function describes the probability of a random variable taking on a certain value.
- A special case is the standard normal distribution. It has a mean of 0 and a standard deviation of 1.
🔑 Important: The normal distribution is crucial for many statistical tests and models. Understanding its shape and properties is essential for data analysis.
🔑 Important: Outliers can significantly skew point estimates and affect the interpretation of data.
🔑 Important: For a normal distribution, most data points cluster around the mean. Extreme values become less frequent further from the mean.
🔑 Important: The standard normal distribution allows us to compare values from different normal distributions. This is done using Z-scores.
🔑 Important: The normal distribution is defined by its mean (μ) and standard deviation (σ).
6.3 Understanding Data Distribution
Data can be examined to identify patterns and anomalies. This helps in understanding the underlying processes.
- Unusual data points, like fish that are too thin or too fat, are called outliers.
- These outliers can be single values far from the rest of the data. They might indicate errors or interesting cases.
📝 Example: In a dataset of fish weights, a weight of 400 grams might be an outlier if most other fish weigh between 230 and 270 grams 85.
🔑 Important: Identifying outliers is important for accurate data analysis. They can distort summary statistics like the mean.
🔑 Important: Outliers may need to be investigated or removed depending on the context of the analysis.
🔑 Important: Data that follows a normal distribution will show a symmetrical pattern around the mean.
🔑 Important: For statistical graphs and their applications, understanding estimation, the normal distribution, and how to identify outliers are key. [page=87 [page=94 [page=100 [page=101 84 87 94 100 101.
7. Statistical graphs and their applications (part 3)
7.1 Confidence intervals and t-distributions
Confidence intervals provide a range of values likely to contain a population parameter. They are crucial for estimating unknown values from sample data.
The width of the interval reflects the uncertainty. A narrower interval suggests greater precision.
The t-distribution is used when the sample size is small or the population standard deviation is unknown. It is similar to the normal distribution but has fatter tails.
This accounts for the extra uncertainty introduced by estimating the standard deviation from the sample.
The t-distribution is characterized by its degrees of freedom. This value typically equals the sample size minus one (n−1).
As degrees of freedom increase, the t-distribution approaches the standard normal distribution.
📝 Example: If you have a sample of 10 data points, your degrees of freedom would be 10−1=9.
🔑 Important: Use the t-distribution for small samples or unknown population standard deviation; use the z-distribution (normal) for large samples or known population standard deviation.
7.1.1 Calculating confidence intervals
A confidence interval is calculated using a point estimate and a margin of error. The point estimate is usually the sample mean.
The margin of error accounts for the variability in the sample and the desired confidence level.
The general formula for a confidence interval is: Point Estimate±Margin of Error
The margin of error is influenced by the confidence level and the sample variability. Higher confidence levels or greater sample variability lead to wider intervals.
The margin of error is calculated as: Margin of Error=Critical Value×Standard Error
The critical value comes from the t-distribution or z-distribution based on the confidence level. The standard error measures the variability of the sample mean.
| Component | Description |
|---|---|
| Point Estimate | The sample statistic (e.g., sample mean) used to estimate the population parameter. |
| Critical Value | A multiplier from a distribution (t or z) corresponding to the confidence level. |
| Standard Error | The standard deviation of the sampling distribution of the statistic. |
| Margin of Error | The range added and subtracted from the point estimate. |
| Confidence Interval | The range of values likely to contain the population parameter. |
103### 7.1.2 Interpreting confidence intervals
Interpreting a confidence interval correctly is vital. A 95% confidence interval means that if we were to repeat the sampling process many times, 95% of the calculated intervals would contain the true population parameter.
It does not mean there is a 95% probability that the true population parameter falls within a specific interval. The parameter is fixed; it's the interval that varies with each sample.
🔑 Important: A confidence interval applies to the population parameter, not to individual data points 116.
The statistical graphs covered in this section, particularly confidence intervals and the t-distribution, are fundamental tools for inferential statistics, enabling robust estimation of population parameters from sample data 117.
8. Statistical graphs and their applications (part 4)
8.1 Graphical representation of data
Statistical graphs transform raw numbers into visual information. This aids quicker understanding and helps uncover patterns.
Graphs facilitate easy comparison between groups. The type of graph used depends on the data type, specifically whether it is qualitative or quantitative.
8.1.1 Graphs for qualitative data
Qualitative data, which includes nominal and ordinal types, is best represented by specific graph types.
| Chart type | Application | Key point |
|---|---|---|
| Bar chart | Compares frequencies of categories. | Rectangles are separated. |
| Pie chart | Shows the percentage of each category out of the total. | Use for a maximum of 5 categories to avoid clutter. |
Examples: A bar chart can show the number of students per major. A pie chart can represent a university's annual budget allocation 60.
Example scenario: Given student scores, categorize them into "weak" (below 10), "medium" (10-15), and "good" (above 15). Then, compare these categories using a bar chart 63.
Example scenario: Calculate the percentage for each category from the previous example and create a pie chart 64.
8.1.2 Graphs for quantitative data (Distribution)
Quantitative data requires graphs that illustrate its distribution.
| Chart type | Description |
|---|---|
| Histogram | Shows the shape of the data distribution (symmetric, skewed, bimodal). Rectangles are adjacent. The horizontal axis represents bins (e.g., score ranges). |
| Box plot | Displays five summary statistics: Min, Q1, Median, Q3, Max. It identifies outliers (points outside the box). Useful for comparing multiple populations. |
Example scenario: For 20 student scores, draw a box plot. Determine if a score of 20 is an outlier.
- Data: 7, 8, 9, 10, 11, 12, 12, 13, 14, 14, 14, 14, 15, 15, 15, 16, 17, 18, 19, 20.
- Summary statistics:
- Minimum (Min): 7.
- First Quartile (Q1): Median of the first half = (11+12)/2 = 11.5.
- Median: Average of the two middle values = (14+14)/2 = 14.
- Third Quartile (Q3): Median of the second half = (15+16)/2 = 15.5.
- Maximum (Max): 20.
- Interquartile Range (IQR): Q3 - Q1 = 15.5 - 11.5 = 4.
- Outlier determination:
- Lower bound: Q1 - 1.5 × IQR = 11.5 - (1.5 × 4) = 5.5. The score of 7 is not an outlier.
- Upper bound: Q3 + 1.5 × IQR = 15.5 + (1.5 × 4) = 21.5. The score of 20 is not an outlier.
The box plot shows a box from Q1 (11.5) to Q3 (15.5), with a median line at 14. The left whisker extends from Min to Q1.
The right whisker extends from Q3 to Max 7 20.
Result: No outliers are present 69.
8.1.3 Graphs for quantitative data (Relationship and Trend)
These graphs visualize how quantitative variables relate to each other or change over time.
| Chart type | Application | Example |
|---|---|---|
| Scatter plot | Shows the relationship between two quantitative variables. | Correlation between height and weight (each point represents one person). |
| Line chart | Shows trends over time. | Stock prices over the past 12 months. |
| Area chart | Shows total volume and trends over time. | Sales volume of two different products over time. |
- Data: 150, 235, 237, 238, 240, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 255, 255, 256, 257, 258, 260, 262, 265, 270, 300, 310, 380, 400 85.
🔑 Important: The choice of graph type is dictated by the nature of the data (qualitative or quantitative) 59.
📝 Example: A scatter plot can reveal if there is a positive, negative, or no correlation between two variables 70.
9. Estimation and hypothesis testing
9.1 Introduction to hypothesis testing
- Statistical hypothesis testing uses sample data to make decisions about a claim or assumption regarding a population.
- It involves testing an idea about population parameters based on sample observations 129.
- This method reduces costs, saves time, and aids in scientific decision-making 132.
🔑 Important: Hypothesis testing allows us to make informed decisions about population characteristics without examining every individual, by analyzing a sample.
9.2 Null and alternative hypotheses
- The null hypothesis (H0) states there is no significant difference or effect.
- Example: The average test score is 51.
- The alternative hypothesis (H1) states there is a significant difference or effect.
- Example: The average test score is not 51 133.
9.3 Steps in hypothesis testing
- Define the null and alternative hypotheses.
- Choose a significance level (α).
- Collect sample data.
- Calculate the test statistic.
- Calculate the P-value.
- Make a decision about rejecting or failing to reject the null hypothesis 134.
9.4 Significance level (α)
- The significance level (α) is the probability of incorrectly accepting the existence of an effect or difference.
- Common values for α are 0.05, 0.10, and 0.01.
- If α=0.05, you accept a 5% chance of making an error 135.
9.5 P-value
- The P-value measures the statistical significance of your results.
- It indicates how likely your observed data are if the null hypothesis were true.
- A smaller P-value means stronger evidence against the null hypothesis.
🔑 Important: A P-value less than α leads to rejecting the null hypothesis. A P-value greater than or equal to α means we fail to reject the null hypothesis 136.
| P-Value Comparison | Interpretation |
|---|---|
| P-Value<α | Reject H0 (significant difference) |
| P-Value≥α | Fail to reject H0 (no significant difference) |
| 137 |
9.6 Errors in hypothesis testing
- Type I error (False Positive): Rejecting H0 when it is true.
- Probability is α.
- Example: Diagnosing a healthy person as sick.
- Type II error (False Negative): Failing to reject H0 when it is false.
- Probability is β.
- Example: Diagnosing a sick person as healthy 138.
| Feature | Type I Error (α) | Type II Error (β) |
|---|---|---|
| Common Name | False Positive | False Negative |
| Statistical Def. | Reject H0 when true | Fail to reject H0 when false |
| Incorrect Belief | Believe an effect exists, but it doesn't | Believe no effect exists, but it does |
| Inverse Concept | Significance Level | Power (1−β) |
| Medical Example | Diagnosing illness in a healthy person | Failing to diagnose illness in a sick person |
| Justice Example | Convicting an innocent person | Acquitting a guilty person |
🔑 Important: Hypothesis testing is a crucial tool for making objective decisions by assessing evidence and managing the risks of incorrect conclusions 130.
© 2026 Maeve. All rights reserved. This content is protected by copyright.