آمار ۱

📚 آمار ۱.pdf

Brief overview

This document provides a foundational understanding of statistical concepts and their application. It covers essential methods for data presentation, analysis, and interpretation, crucial for drawing meaningful conclusions from quantitative information.

Key points

  • Overview of fundamental statistical concepts and data presentation methods across three parts.
  • Detailed explanation of measures of central tendency and dispersion for data description.
  • Comprehensive exploration of data visualization techniques through charts and plots over four parts.
  • Introduction to estimation and hypothesis testing for statistical inference.

1. Introduction to statistics and data presentation (part 1)

1.1 What is statistics?

  • Statistics is the science of collecting, organizing, analyzing, and interpreting data.
  • Its main goal is to help us understand patterns and make informed decisions from information.
  • Statistical methods allow us to draw conclusions about a larger group based on a smaller sample.

🔑 Important: Statistics helps turn raw data into meaningful insights for decision-making.

1.2 Types of statistical analysis

Statistical analysis can be broadly divided into two main types:

TypeDescriptionFocus
Descriptive statisticsSummarizes and describes the main features of a dataset.Organizing and presenting data.
Inferential statisticsUses data from a sample to make predictions or generalizations about a larger population.Drawing conclusions and making predictions.

1.3 Data types and measurement scales

Understanding data types is crucial for choosing appropriate statistical methods.

Data TypeDescriptionExamples
Qualitative dataDescribes qualities or characteristics; cannot be measured numerically.Color, gender, nationality.
Quantitative dataRepresents quantities and can be measured numerically.Height, weight, age, temperature.

Quantitative data can be further classified by measurement scales:

ScaleDescriptionOperations AllowedExamples
NominalCategories with no order or ranking.Equality/inequalityBlood type, marital status.
OrdinalCategories with a meaningful order or rank, but differences between values are not equal or quantifiable.Order, rankingEducation level, customer satisfaction ratings.
IntervalOrdered data where the difference between values is meaningful and constant, but there is no true zero point.Addition, subtractionTemperature (Celsius or Fahrenheit).
RatioOrdered data with meaningful differences and a true zero point, allowing for ratio comparisons.Addition, subtraction, multiplication, divisionHeight, weight, age, income.

🔑 Important: Ratio data offers the most flexibility for analysis because it has a true zero.

1.4 Why present data?

Presenting data effectively is vital for communication and understanding.

  • Clear data presentation helps to visualize trends and patterns that might be hidden in raw numbers.
  • It makes complex information accessible to a wider audience, including non-experts.
  • Well-presented data supports evidence-based decision-making and research findings.

🔑 Important: The way data is presented can significantly influence how it is interpreted.

1.5 Common data presentation methods

Several methods are used to visually represent data, making it easier to grasp.

MethodDescriptionBest for
TablesOrganizes data in rows and columns for precise lookups.Showing exact values, detailed comparisons.
Graphs/ChartsUses visual elements like bars, lines, or pies to show relationships and trends.Illustrating trends, proportions, comparisons, and distributions.

Graphs and charts are powerful tools for conveying information quickly.

🔑 Important: The choice of presentation method depends on the type of data and the message you want to convey.

📝 Example: If you want to show the exact sales figures for each product over a year, a table would be best. If you want to show the trend of sales over time, a line graph would be more effective.


🔑 Important: Understanding the basics of statistics and data presentation is fundamental for anyone working with information 6.

2. Introduction to statistics and data presentation (part 2)

2.1 Summarizing data with statistics

Statistics help condense large datasets into understandable numbers. These summaries provide key information about the data's distribution and characteristics.

Common statistical measures include:

  • Frequency: How often a value appears.
  • Mode: The most frequent value.
  • Median: The middle value when data is ordered.
  • Mean: The average of all values.
  • Range: The difference between the highest and lowest values.
  • Variance: The average squared difference from the mean.
  • Standard deviation: The square root of variance.
  • Quartiles: Values dividing data into four equal parts.

The goal of these statistics is to report informative summaries of data.

2.2 Frequency tables and distributions

Frequency tables organize data by showing how often each value or range of values occurs. This helps in understanding the distribution of the data.

  • A frequency table lists data values and their corresponding counts 28.
  • To create a frequency table for continuous data, you first determine the data's range, which is the difference between the maximum and minimum values.
  • Next, decide on the number of classes or bins to use. The height of the tree example shows how this affects presentation 32.
  • Finally, calculate the class width (or bin width). This is done by dividing the range by the number of classes.

📝 Example: For a dataset with a range of 50 and 10 desired classes, the class width would be 50/10=550 / 10 = 5 34.

2.2.1 Relative and cumulative frequencies

Beyond simple counts, frequencies can be expressed in other ways to provide more context.

  • Relative frequency shows the proportion of times a value or class occurs. It is calculated by dividing the frequency of a class by the total number of observations.
  • Cumulative frequency shows the total count of observations that fall below a certain value or at or below a given class. It is the sum of frequencies for that class and all preceding classes 37.

🔑 Important: Relative frequency is often expressed as a percentage, making comparisons across datasets easier 36.

2.3 Presenting numerical data

Data can be presented in various formats to suit different purposes. Tables are a common and effective way to display structured numerical information.

A table presenting numerical data, likely measurements or observations, organized into columns for 'Diameter' and 'Length'.

  • Tables organize data into rows and columns for clarity. Each column typically represents a specific variable or measurement, such as Diameter or Length.
  • Numerical values are then listed for each data point, allowing for direct comparison and analysis of the observed quantities.

🔑 Important: The structure of a table allows for quick identification of patterns and relationships within the data 35.

🔑 Important: Choose the presentation method that best highlights the key findings from your data 27.

🔑 Important: The most exam-relevant insight for this topic is understanding how different statistical measures and presentation methods (like tables and frequency distributions) work together to summarize and communicate complex data effectively. Mastering these concepts allows you to interpret and present data accurately.

3. Introduction to statistics and data presentation (part 3)

3.1 Measures of central tendency

Measures of central tendency describe the center or typical value of a dataset. They help us understand where most data points cluster.

Common measures include the mean, median, and mode.

3.1.1 Mean (Average)

The mean is the sum of all data points divided by the number of data points. It is calculated using the formula:

Xˉ=∑i=1nxin\bar{X} = \frac{\sum_{i=1}^{n} x_i}{n}

  • Formula breakdown: ∑i=1nxi\sum_{i=1}^{n} x_i is the sum of all data points, and nn is the total number of data points.

  • Example data: 3, 2, 4, 2, 6, 3, 8, 2, 1. Sum = 31, n = 9.

  • Calculated mean: 31/9≈3.4431 / 9 \approx 3.44.

🔑 Important: The mean is best used when data has a normal or near-normal distribution.

3.1.2 Weighted Mean

A weighted mean assigns different importance levels to data points. Each data point is multiplied by its weight before summing.

This is useful when some data points contribute more to the overall value than others.

3.1.3 Median

The median is the middle value in a dataset that has been ordered from least to greatest. It is also known as the 50th percentile.

  • Odd number of data points: The median is the single middle value.

  • Example 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 data: 1, 2, 3, 4, 8, 8. The two middle values are 3 and 4.

  • Calculated median: (3+4)/2=3.5(3 + 4) / 2 = 3.5.

🔑 Important: The median is less affected by extreme values (outliers) than the mean.

3.2 Data presentation methods

3.2.1 Types of data presentation

Data can be presented in various ways to make it understandable. Common methods include tables and graphs.

Presentation MethodDescriptionBest For
TablesOrganizes data in rows and columns.Showing exact values, comparing specific data points.
GraphsUses visual elements like bars, lines, or slices.Identifying trends, patterns, and relationships, showing proportions.

🔑 Important: The choice of presentation method depends on the type of data and the message you want to convey.

🔑 Important: Understanding how to present data clearly is crucial for making informed decisions based on statistical analysis 41 42 43 44 45 46 47 48.

4. Measures of central tendency and dispersion

4.1 Measures of central tendency

Central tendency measures describe the typical or central value of a dataset. These include the mean, median, and quartiles.

4.1.1 Mean

  • Mean: The average of all data points. It is calculated by summing all values and dividing by the number of values.
  • The mean is sensitive to extreme values (outliers).

4.1.2 Median

  • Median: The middle value in a dataset that has been ordered from least to greatest.
  • It is not affected by outliers.
  • It represents the point where 50% of the data falls above and 50% falls below.

4.1.3 Quartiles

  • Quartiles: Values that divide an ordered dataset into four equal parts.
  • First Quartile (Q1Q_1): The value below which 25% of the data falls.
  • Second Quartile (Q2Q_2): The median of the dataset, where 50% of the data falls below.
  • Third Quartile (Q3Q_3): The value below which 75% of the data falls.

📝 Example: For a dataset of 100 employee salaries, the median salary would be the salary of the 50th employee when sorted. Q1Q_1 would be the salary of the 25th employee, and Q3Q_3 would be the salary of the 75th employee 51.

4.2 Measures of dispersion

Dispersion measures describe how spread out or varied the data points are within a dataset. Key measures include range, variance, and standard deviation.

4.2.1 Range

  • Range: The difference between the largest and smallest values in a dataset.
  • Formula: R=maximum−minimumR = \text{maximum} - \text{minimum} 49.
  • This measure is useful for data with a uniform distribution but can be misleading with non-uniform distributions.

4.2.2 Variance

  • Variance: A measure of how spread out the data is from the mean. It quantifies the average squared difference of each data point from the mean.
  • The formula for sample variance (s2s^2) is: s2=∑i=1n(xi−xˉ)2n−1s^2 = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n-1} 52. where xix_i is each data point, xˉ\bar{x} is the sample mean, and nn is the number of data points.
  • Squaring the differences ensures all values are positive and emphasizes larger deviations.
  • Dividing by n−1n-1 (for sample variance) provides an unbiased estimate of the population variance.

📝 Example: Two students have a mean score of 10. Student 1's scores are 9.5, 10, 10.5. Student 2's scores are 0, 10, 20. Student 1 has a low variance, indicating scores clustered around the mean. Student 2 has a high variance, showing scores far from the mean54.

4.2.3 Standard deviation

  • Standard deviation: The square root of the variance. It provides a measure of dispersion in the same units as the original data.
  • It indicates the average distance of data points from the mean.
  • A lower standard deviation means data points are closer to the mean, indicating less variability.
  • A higher standard deviation means data points are spread out over a wider range of values.
  • It is commonly used for confidence intervals in statistical analysis.

📝 Example: For the students with a mean score of 10, Student 1 might have a standard deviation of 0.5, while Student 2 might have a standard deviation of 10. This shows Student 2's scores are much more spread out 56.

🔑 Important: When reporting data, prioritize clarity and conciseness. Using a single bar for the mean and error bars for standard deviation can efficiently convey central tendency and dispersion 55.

🔑 Important: Measures of dispersion are crucial because datasets can have the same central tendency but vastly different spreads. Visualizing this spread helps understand data variability 53.

5. Data visualization through charts and plots (part 1)

5.1 Visualizing distributions

Charts help us understand how data is spread. They can show frequencies, shapes of distributions, and identify unusual values.

  • Bar charts compare values across different categories. Bars are separated, making each category distinct.
  • Pie charts show the proportion of each category within a whole. They are best for a few categories.

The following table classifies common chart types and their uses.

Chart TypeUse CaseData Type
Bar ChartComparing values across categoriesQualitative
Pie ChartShowing parts of a wholeQualitative
HistogramVisualizing quantitative data distributionQuantitative
Box PlotSummarizing quantitative data, showing outliersQuantitative
Scatter PlotShowing relationships between two variablesQuantitative
Line ChartShowing trends over timeQuantitative

63 64

5.2 Visualizing quantitative data distributions

Quantitative data can be visualized to show its spread and form. Histograms and box plots are key tools for this.

  • Histograms display the distribution of continuous quantitative data. Rectangles touch to show that the data is continuous. The horizontal axis represents bins or ranges of data values. Histograms reveal the shape of the distribution, such as symmetry or skewness.
  • Box plots summarize a dataset using five key numbers. These are the minimum, first quartile (Q1), median, third quartile (Q3), and maximum. Box plots are excellent for identifying potential outliers. They are also useful for comparing distributions across different groups.

The process of creating a box plot involves several statistical calculations.

StepDescription
Data sorting and quartile calculationOrder data and find Q1 (median of the first half) and Q3 (median of the second half).
IQR and outlier boundary calculationCalculate the Interquartile Range (IQR = Q3 - Q1) and set outlier limits.
Outlier identificationValues outside Q1 - 1.5IQR and Q3 + 1.5IQR are potential outliers.

This diagram illustrates the steps involved in calculating statistical measures and identifying outliers for a dataset. 66 69.

5.3 Visualizing relationships and trends

Charts can also show how variables relate to each other or how data changes over time.

  • Scatter plots are used to visualize the relationship between two quantitative variables. Each point on the plot represents a pair of values for the two variables. A trend line can show the direction and strength of the relationship.
  • Line charts are ideal for showing trends in data over a continuous period. They connect data points with lines, making it easy to see increases or decreases. This is commonly used for time-series data like stock prices or temperature changes.
  • Area charts are similar to line charts but shade the area below the line. They emphasize the cumulative total and the trend of that total over time. This can be useful for showing the volume of sales or contributions from different components.

The following figure illustrates various chart types and their primary applications.

This slide lists different types of charts used for data visualization.

A scatter plot can reveal a positive correlation, indicating that as one variable increases, the other tends to increase as well.

A scatter plot showing the relationship between Year and Local Index, with a trend line indicating a positive correlation. 70 71.

🔑 Important: Understanding which chart type to use depends on the type of data and the story you want to tell, whether it's comparing categories, showing distributions, or illustrating relationships and trends.

6. Data visualization through charts and plots (part 2)

6.1 Understanding data distribution and outliers

Data outliers are values that significantly differ from other observations in a dataset. These extreme values can skew statistical analyses and affect the reliability of models.

Identifying and handling outliers is crucial for accurate data interpretation.

6.1.1 Outlier identification

Outliers can appear as unusually small or large values compared to the rest of the data. For instance, in a dataset of fish weights, extremely thin or obese fish might be considered outliers 84.

6.1.2 Types of estimates

Statistical estimation uses sample data to approximate unknown population parameters. There are two main types of estimates:

  • Point estimate: This provides a single value as the best guess for a population parameter. For example, a sample mean of 50 could be used as a point estimate for the population mean.
  • Interval estimate: This offers a range of plausible values for a parameter. It is accompanied by a specific confidence level, indicating the probability that the true parameter lies within this range 87.

6.2 The normal distribution

The normal distribution, also known as the Gaussian distribution or bell curve, is a fundamental probability distribution. It is symmetric and characterized by its mean and standard deviation.

Many natural phenomena approximate a normal distribution.

6.2.1 The normal distribution function

The normal distribution function describes the probability of a random variable taking on a given value. It is often represented by a probability density function (PDF).

The shape of the curve is determined by the mean (μ\mu) and standard deviation (σ\sigma).

The formula for the probability density function of a normal distribution is: f(x∣μ,σ2)=12πσ2e−(x−μ)22σ2f(x \mid \mu, \sigma^2) = \frac{1}{\sqrt{2\pi\sigma^2}} e^{-\frac{(x-\mu)^2}{2\sigma^2}}.

6.2.2 The standard normal distribution

The standard normal distribution is a special case of the normal distribution. It has a mean (μ\mu) of 0 and a standard deviation (σ\sigma) of 1.

Any normal distribution can be converted to a standard normal distribution using a z-score transformation.

The z-score measures how many standard deviations a data point is from the mean: z=x−μσz = \frac{x - \mu}{\sigma}.

🔑 Important: Understanding the normal distribution and its standard form is key to many statistical inference techniques and data analysis methods.

6.3 Visualizing data with plots

Different types of charts and plots are used to visualize data, helping to reveal patterns, trends, and relationships. Each plot is suited for specific data types and analytical purposes.

6.3.1 Bar charts

Bar charts are used to display and compare categorical data. They use rectangular bars, either vertically or horizontally, where the length of the bar is proportional to the value it represents.

6.3.2 Pie charts

Pie charts are used to show the proportion of a whole. They divide a circle into slices, where each slice represents a category's contribution to the total.

6.3.3 Histograms

Histograms visualize the distribution of numerical data. They group data into bins (intervals) and display the frequency of data points within each bin as bars.

This helps in identifying the shape of the distribution, such as its skewness and modality.

📝 Example: A histogram could show the distribution of exam scores, with bins representing score ranges (e.g., 0-10, 10-20, etc.) and the height of each bar indicating how many students achieved scores in that range.

6.3.4 Box plots

Box plots, also known as box-and-whisker plots, are excellent for showing the distribution, central tendency, and variability of numerical data. They highlight the median, quartiles, and potential outliers.

FeatureDescription
Median (Q2)The middle value of the dataset.
First Quartile (Q1)The 25th percentile of the data.
Third Quartile (Q3)The 75th percentile of the data.
Interquartile Range (IQR)The difference between Q3 and Q1 (Q3−Q1Q3 - Q1).
WhiskersExtend to data points within 1.5*IQR from Q1/Q3.
OutliersData points beyond the whiskers.

6.3.5 Scatter plots

Scatter plots are used to visualize the relationship between two numerical variables. Each point on the plot represents an observation, with its position determined by the values of the two variables.

They help identify correlations, trends, and patterns.

6.3.6 Line charts

Line charts are ideal for displaying trends over time or other sequential data. They connect data points with lines, making it easy to see changes and patterns over a continuous interval.

🔑 Important: Choosing the right chart type depends on the data type (categorical vs. numerical) and the question you want to answer about the data 83.

🔑 Important: The normal distribution is a key concept for understanding statistical inference and many data visualization techniques 94 100 101.

7. Data visualization through charts and plots (part 3)

7.1 Visualizing sample means and confidence intervals

  • Confidence intervals: These provide a range of values likely to contain the true population parameter, often the mean.
  • They help assess the uncertainty associated with sample estimates.
  • For multiple sample means, comparing their confidence intervals indicates potential differences between groups.
  • A reference line can be added to easily see if intervals include or exclude a specific value, like a hypothesized population mean.

This chart displays confidence intervals for multiple sample means, with a reference line at mu=170.

📝 Example: If a confidence interval for one group's mean is and the reference line is at 170, it suggests that 170 is a plausible value for the population mean of that group. If another group's interval is it likely differs from the population represented by the reference line 120 .

7.2 Understanding t-distributions

  • The t-distribution is used when the population standard deviation is unknown and sample sizes are small.
  • It is similar to the normal distribution but has "heavier tails," meaning it accounts for more variability.
  • The shape of the t-distribution depends on degrees of freedom, which are typically related to the sample size.

🔑 Important: Use t-distributions for confidence intervals when you do not know the population standard deviation and have a small sample size.

🔑 Important: As sample size increases, the t-distribution approaches the normal distribution 117.

🔑 Important: The central idea of confidence intervals is to provide a plausible range for an unknown population parameter based on sample data 103 116.

🔑 Important: Always place currency amounts in full words, never using symbols like USD. [Example text only, no page number applicable

8. Data visualization through charts and plots (part 4)

8.1 Understanding statistical charts

Data visualization transforms raw numbers into understandable images. This allows for quicker comprehension and the discovery of patterns like trends, outliers, and correlations.

Charts also facilitate easy comparisons between groups. The type of chart used depends on the data's nature, whether it's qualitative or quantitative 59.

When presenting qualitative data (nominal or ordinal), specific charts are best suited.

Chart TypeApplicationKey Feature
Bar chartComparing frequencies of categoriesRectangles are separate
Pie chartShowing percentage contribution of each categoryMaximum of 5 categories to avoid clutter

Examples include using bar charts for student counts per major or pie charts for annual university budgets 60.

For quantitative data, charts help visualize distributions and relationships.

Chart TypePurposeKey Features
HistogramShows the distribution shape (symmetric, skewed, bimodal)Rectangles are adjacent; horizontal axis shows classes (e.g., score ranges)
Box plotDisplays five summary statistics: Min, Q1, Median, Q3, MaxIdentifies outliers; useful for comparing multiple populations (e.g., heights)
Scatter plotShows the relationship between two quantitative variablesEach point represents an individual (e.g., height vs. weight)
Line chartDisplays trends over timeShows stock prices over months
Area chartShows total volume and trends over time for multiple categoriesDisplays sales of two products over time

8.1.1 Box plot analysis

A box plot visually summarizes data using five key numbers: minimum, first quartile (Q1), median, third quartile (Q3), and maximum. It helps identify outliers, which are data points far outside the typical range.

Comparing box plots is useful for contrasting different groups, such as the heights of men and women 66.

To construct a box plot, first, order the data. Then, identify the five-number summary.

Calculate the interquartile range (IQR), which is Q3 minus Q1. Outlier boundaries are typically defined as Q1 - 1.5 * IQR and Q3 + 1.5 * IQR.

Any data point falling outside these limits is considered an outlier.

For the given student scores (7, 8, 9, 10, 11, 12, 12, 13, 14, 14, 14, 14, 15, 15, 15, 16, 17, 18, 19, 20):

  • Min = 7
  • Q1 = (11 + 12) / 2 = 11.5
  • Median = (14 + 14) / 2 = 14
  • Q3 = (15 + 16) / 2 = 15.5
  • Max = 20

The IQR is 15.5 - 11.5 = 4.

  • Lower outlier boundary: 11.5 - 1.5 * 4 = 5.5. The score 7 is not an outlier.
  • Upper outlier boundary: 15.5 + 1.5 * 4 = 21.5. The score 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. Whiskers extend from Min to Q1 and from Q3 to Max.

In this case, no outliers were found 7 20 69.

8.1.2 Visualizing confidence intervals

Confidence intervals provide a range of plausible values for a population parameter, like the mean. They are often visualized to show the precision of an estimate.

A reference line can be included to indicate a hypothesized value.

This figure shows confidence intervals for several sample means. A horizontal line is drawn at a value of 170, serving as a reference point against which the sample means and their intervals can be compared 120.

Confidence intervals help assess the reliability of sample estimates for population parameters.

8.2 Statistical hypothesis testing

Statistical hypothesis testing is a method used to make decisions about claims or assumptions concerning a population. Instead of examining the entire population, we use sample data to infer whether there is enough evidence to support or reject a claim.

For example, a company might claim their phone batteries last 8 hours on average. Hypothesis testing allows us to test this claim by analyzing a sample of phones .

Hypothesis testing uses sample data to evaluate claims about population parameters.

8.2.1 Null and alternative hypotheses

A hypothesis test begins with defining two competing statements: the null hypothesis and the alternative hypothesis.

  • Null hypothesis (H₀): States there is no significant difference or effect. For instance, the average score is 15.
  • Alternative hypothesis (H₁): States there is a significant difference or effect. For example, the average score is not equal to 15.

These hypotheses are quantitative statements about an unknown population parameter .

8.2.2 Steps in hypothesis testing

The process of hypothesis testing involves several key steps:

  1. Define the null and alternative hypotheses.
  2. Choose a significance level (α\alpha).
  3. Collect sample data.
  4. Calculate the test statistic.
  5. Compute the P-value.
  6. Decide whether to reject or fail to reject the null hypothesis .

8.2.3 Significance level and P-value

The significance level (α\alpha) represents the probability of incorrectly rejecting a true null hypothesis. Common values include 0.05, 0.01, and 0.10.

If α=0.05\alpha = 0.05, we accept a 5% chance of error .

The P-value is a measure of the statistical significance of the observed data.

  • If P-value < α\alpha, we reject the null hypothesis.
  • If P-value ≥α\ge \alpha, we fail to reject the null hypothesis .

A smaller P-value indicates stronger evidence against the null hypothesis. A P-value greater than 0.05 suggests a lack of statistically significant difference, while a P-value less than 0.05 suggests a statistically significant difference .

The P-value indicates the probability of observing the data if the null hypothesis were true.

8.2.4 Errors in hypothesis testing

Two types of errors can occur during hypothesis testing:

Error TypeCommon NameSymbolDefinitionExample
Type I ErrorFalse Positiveα\alphaRejecting H₀ when it is actually trueDiagnosing a healthy person as sick
Type II ErrorFalse Negativeβ\betaFailing to reject H₀ when it is actually falseFailing to diagnose a sick person

The significance level (α\alpha) is the probability of a Type I error, while 1−β1 - \beta represents the statistical power of the test .

Minimizing both Type I and Type II errors is crucial for reliable statistical conclusions.

🔑 Important: Understanding how to choose the correct chart type for your data is essential for effective communication and accurate interpretation.

9. Estimation and hypothesis testing

9.1 Introduction to hypothesis testing

Statistical hypothesis testing is a method to make decisions about claims concerning a population. Instead of examining the entire population, a sample is used.

This allows us to decide if there is enough evidence to accept or reject a claim. For example, a company might claim its phone batteries last 10 hours.

We test this claim by examining a sample of phones. Hypothesis testing is used across various fields, including quality control, medical research, social sciences, marketing, and education.

It offers benefits like reduced costs, time savings, and more scientific decision-making130.

🔑 Important: Hypothesis testing uses sample data to make inferences about a population, helping to control quality, guide research, and improve decision-making efficiently 132.

9.2 Null and alternative hypotheses

A hypothesis is a reasoned guess or statement about a population parameter. Statistical hypotheses are quantitative statements about unknown population parameters.

Hypothesis testing is the set of statistical techniques used to examine the validity of these hypotheses 129.

A null hypothesis (H₀) states there is no specific difference or effect. For instance, H₀ could state that the average score is 51.

A alternative hypothesis (H₁) states that a difference or effect exists. For example, H₁ could state that the average score is not equal to 51.

Hypothesis TypeSymbolStatementExample
Null Hypothesis (H₀)H₀No specific difference or effect.Average score = 51
Alternative HypothesisH₁A specific difference or effect exists.Average score ≠ 51

9.3 Steps in hypothesis testing

Hypothesis testing follows a structured process to reach a conclusion about the null hypothesis based on sample data.

  • Step 1: Define the null hypothesis (H₀) and the alternative hypothesis (H₁) 133.
  • Step 2: Choose a significance level (α).
  • Step 3: Collect sample data.
  • Step 4: Calculate the test statistic.
  • Step 5: Calculate the P-value.
  • Step 6: Make a decision to reject or fail to reject H₀.

🔑 Important: The sequence of defining hypotheses, setting a significance level, gathering data, calculating a test statistic and P-value, and finally making a decision forms the core of the hypothesis testing procedure 134.

9.4 Significance level (α)

The significance level (α) is the probability of incorrectly accepting an effect or difference that does not exist. Common values for α are 0.05, 0.10, and 0.01.

If α is set to 0.05, it means we are willing to accept a 5% chance of making an error.

📝 Example: If α = 0.05, we accept a 5% risk of rejecting H₀ when it is actually true 135.

9.5 P-value

The P-value is a crucial tool to measure the scientific validity of results and indicates statistical significance. It shows how likely the observed statistical findings are not due to chance.

The P-value is the probability of rejecting the null hypothesis when it is true, based on the observed data. A smaller P-value increases our confidence that an observed difference is real.

  • If P-value < α, the null hypothesis is rejected.
  • If P-value ≥ α, the null hypothesis is not rejected137.

🔑 Important: A P-value less than the significance level (α) suggests statistically significant results, leading to the rejection of the null hypothesis 136.

9.6 Errors in hypothesis testing

Two types of errors can occur during hypothesis testing.

  • Type I Error: Rejecting the null hypothesis (H₀) when it is actually true. This is also known as a "false positive." The probability of this error is denoted by α.

📝 Example: Diagnosing a healthy person as sick.

  • Type II Error: Failing to reject the null hypothesis (H₀) when it is actually false. This is also known as a "false negative." The probability of this error is denoted by β.

📝 Example: Diagnosing a sick person as healthy 138.

FeatureType I Error (False Positive)Type II Error (False Negative)
Symbolα (alpha)β (beta)
DefinitionRejecting H₀ when H₀ is true.Failing to reject H₀ when H₀ is false.
ConsequenceBelieving an effect/difference exists when it doesn't.Believing no effect/difference exists when it does.
Related ConceptSignificance LevelPower = 1 - β
Medical ExampleDiagnosing illness in a healthy person.Failing to diagnose illness in a sick person.

🔑 Important: Reducing the risk of a Type I error (lowering α) typically increases the risk of a Type II error (increasing β, decreasing power), and vice versa.

🔑 Important: Understanding the trade-off between Type I and Type II errors is critical for interpreting the results of hypothesis tests and making informed decisions 139.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also