AHHJ 3156 and AHHM 3158 Statistics lesson notes Lesson 7

1. Introduction to statistics and data types

This section introduces the fundamental concepts of statistics, differentiating its plural and singular senses, distinguishing between descriptive and inferential branches, outlining the stages of a statistical investigation, and defining key terminology related to populations, samples, variables, parameters, and statistics.

1.1 Definition and senses of statistics

Statistics can be understood in two primary ways: in its plural sense and in its singular sense.

  • Plural sense: In this context, "statistics" refers to the collection of numerical facts, figures, or raw data itself. This is the more common understanding by laypeople. For instance, vital statistics (data on births, deaths, marriages) are examples. A single, isolated figure, such as one student's score, is not considered "statistics" because it cannot be compared or aggregated with other facts. Statistics, in this plural sense, are aggregates of facts 3 4.

  • Singular sense: In its singular sense, statistics is defined as the science that encompasses the methods for collecting, organizing, presenting, analyzing, and interpreting statistical data 5.

1.2 Branches of statistics

Statistics is broadly divided into two main branches: descriptive statistics and inferential statistics.

1.2.1 Descriptive statistics

Descriptive statistics involve methods used to collect, present, and characterize a set of data to describe its various features.

  • Purpose: To summarize and present data in a meaningful and easily interpretable way, making it easier to understand the characteristics of the data. Raw data often lacks pertinence until summarized by these tools 8.
  • Methods: These include graphic methods (e.g., bar charts, pie charts) and numerical measures (e.g., mean, median, variance).
  • Limitations: Descriptive statistics do not allow for making conclusions or inferences beyond the data that has been analyzed 7.

Example: If a biologist collects blood samples from 10 students and finds that 50% have blood type O, describing this proportion as 50% is an example of descriptive statistics. Creating a bar chart to show the frequency of each blood type in the sample is also descriptive.

1.2.2 Inferential statistics

Inferential statistics involve methods that facilitate the estimation of population characteristics or the making of decisions about a population based on sample results.

  • Purpose: To draw conclusions or make generalizations about a larger population based on data from a smaller sample.
  • Methods: Key techniques include estimation and hypothesis testing.

Example: Using the sample proportion of 50% for blood type O (from the previous example) to estimate the proportion of blood type O in the entire biology department class is an application of inferential statistics 10.

1.3 Stages in statistical investigation

A complete statistical investigation typically involves several sequential stages:

  1. Data collection: Acquiring relevant data pertinent to the problem under study.
  2. Organizing data: Classifying or sorting the collected data based on specific characteristics or attributes (e.g., age, sex, marital status).
  3. Presenting data: Using visual aids such as tables, graphs, and charts to display the organized data 11.
  4. Data analysis: A thorough examination of the data using statistical tools to reach conclusions or answer research questions. The complexity of the analysis depends on the nature of the answers required.
  5. Interpretation of the result: Drawing logical conclusions from the analysis to facilitate decision-making. This final step is referred to as interpretation 12.

1.4 Definition of key statistical terms

Understanding these fundamental terms is crucial for grasping statistical concepts.

  • Population: The entire group of elements, individuals, items, or objects about which characteristics are being studied. The specific population of interest is termed the target population.
  • Sample: A subset or portion of the population selected for study.
  • Sample survey: A method of collecting information from a sample drawn from a population.
  • Census survey: A survey that includes every member of the population.
  • Variable: A characteristic or attribute being studied that can assume different values for different elements within a population.

1.4.1 Types of variables

Variables can be classified based on their measurement scale and the nature of their values.

  • Quantitative variable: A variable that can be measured numerically. Data collected from such variables are called quantitative data.

    • Examples: Weight, height, number of students in a class, number of car accidents 13.
  • Qualitative variable (Categorical variable): A variable that cannot be measured numerically but can be classified into two or more non-numerical categories. Data collected from these variables are called qualitative or categorical data.

    • Examples: Sex, blood type, marital status, religion.
  • Discrete variable: A variable whose values are countable and typically obtained by counting.

    • Examples: Number of patients in a hospital, number of white blood cells in a blood droplet, number of rodents per plot of farmland.
  • Continuous variable: A variable that can assume any numerical value over a given interval or range of intervals. These values can often be measured.

    • Examples: Weight of newborn babies, height of seedlings, temperature measurements 14.

1.4.2 Population parameters and sample statistics

These terms distinguish measures derived from a population versus those derived from a sample.

  • Parameter: A statistical measure calculated from data representing an entire population.

    • Examples: Population mean (μ\mu), population proportion (pp), population variance (σ2\sigma^2).
  • Statistic: A statistical measure calculated from data representing a sample.

    • Examples: Sample mean (xˉ\bar{x}), sample proportion (p^\hat{p}), sample variance (s2s^2).

Important Distinction: Parameters describe the population, while statistics describe the sample. Inferential statistics often uses sample statistics to estimate population parameters 9.

  • Unit of analysis: The fundamental entity or type of thing being measured in the data (e.g., persons, families, households, states, nations) 15.

1.5 Limitations of statistics

While powerful, statistics has inherent limitations:

  • Quantitative measurement: Statistics can only address subjects that can be quantitatively measured and expressed numerically.
  • Aggregates of facts: Statistics primarily deals with aggregates (groups) of facts, not individual items, which are not given importance.
  • Approximation: Statistical data is often approximate and not mathematically exact.
  • Potential for misuse: Statistical data can be misused, necessitating expertise, honesty, and careful application by practitioners 16.

2. Scales of measurement and data organization (part 1)

This section introduces the fundamental scales of measurement and the initial steps in organizing raw data into understandable formats.

2.1 Scales of measurement

Scales of measurement define the nature of information that can be captured by a variable, determining the mathematical operations that can be performed. There are four primary scales: nominal, ordinal, interval, and ratio, ordered from least to most precise.

2.1.1 Nominal scale

The nominal scale is the most basic, involving categories or labels without any inherent order or ranking. Numerical codes can be assigned, but these codes are purely for identification and do not permit mathematical operations.

Example: Sex (male/female), religion, blood type, or eye color are examples of variables measured on a nominal scale.

2.1.2 Ordinal scale

The ordinal scale extends the nominal scale by allowing for the ranking or ordering of categories. While we can determine if one category is greater or lesser than another, the magnitude of the difference between categories is not quantifiable or consistently known.

Example: Living standards categorized as "poor," "medium," or "higher" illustrate an ordinal scale. We know "higher" is better than "medium," but the difference in living standard between "poor" and "medium" might not be the same as between "medium" and "higher."

2.1.3 Interval scale

The interval scale possesses the ordering property of the ordinal scale and additionally provides a meaningful measure of the distance or magnitude between values. However, it lacks a true zero point; zero is an arbitrary point, and ratios between values are not meaningful.

Example: Temperature measured in degrees Celsius or Fahrenheit is an interval scale. A temperature of 0∘0^\circC does not mean the absence of heat. It is not accurate to say that 80∘80^\circF is twice as hot as 40∘40^\circF. Mathematical operations like addition and subtraction are permissible, but multiplication and division are not.

2.1.4 Ratio scale

The ratio scale is the highest level of measurement, incorporating all properties of the interval scale (ordering, meaningful intervals) and crucially, a true or meaningful zero point. This true zero allows for meaningful ratios between measurements.

Example: Weight and height are measured on a ratio scale. A weight of 00 kilograms signifies the absence of weight, and stating that someone weighing 100100 kilograms is twice as heavy as someone weighing 5050 kilograms is mathematically valid. All arithmetic operations (addition, subtraction, multiplication, division) are permissible with ratio data.

Note: Ratio and interval data are considered quantitative, while nominal and ordinal data are qualitative variables 22.

2.2 Data collection and organization

Effective data organization transforms raw, unstructured information into a coherent and interpretable format, essential for statistical analysis and informed decision-making. This process involves collecting, classifying, tabulating, and representing data.

2.2.1 Methods of data collection

Data can be collected through various methods, broadly categorized by their source:

  • Primary data: Data collected directly by the investigator for the specific purpose of their research. This can involve methods like observation, personal interviews, or questionnaires (self-administered or mailed).
  • Secondary data: Data that has been collected by someone else and is then utilized by the investigator. This type of data can be sourced from published or unpublished documents, reports, journals, and articles 25.

2.2.2 Classification of data

Classification involves grouping data based on common characteristics to facilitate understanding and comparison. The primary types of classification are:

  • Geographical: Data grouped by location (e.g., cities, districts, countries).
  • Chronological: Data arranged by time periods.
  • Qualitative: Data categorized according to descriptive attributes or characteristics.
  • Quantitative: Data grouped based on numerical magnitude or quantity.

2.2.3 Tabulation of data

Tabulation is the process of arranging data in a tabular format, typically using rows and columns, to present it concisely. Tables can be structured based on the number of characteristics analyzed:

  • Simple (one-way) table: Presents data based on a single characteristic or variable.

    Example: A table showing the number of students who took an introductory statistics course in 2014, categorized by gender.

    GenderNumber
    Male2000
    Female700
    29.
  • Two-way table: Displays data classified according to two variables simultaneously.

    Example: A table showing students who took introductory statistics in 2007, categorized by both age and gender.

    AgeNumber of maleNumber of female
    19 and below200180
    20-251415385
    26 and above385135
    30.

2.2.4 Frequency distributions

A frequency distribution organizes raw data into a meaningful pattern by grouping observations into mutually exclusive categories and showing the number of observations (frequency) within each category. It is a fundamental method for summarizing data for statistical analysis 31.

Key uses of frequency distributions:

  • Organizing data into a comprehensible format.
  • Revealing the shape and clustering of data around central values.
  • Simplifying computations for measures of central tendency and dispersion.
  • Providing a basis for graphical data representation.
  • Facilitating comparisons between different datasets 32.

2.2.5 Terminologies in frequency distributions

Understanding key terms is crucial for working with frequency distributions:

  • Frequency distribution: A table that groups data into categories and shows the count of observations in each category.
  • Array: Data sorted in ascending or descending order of magnitude.
  • Grouped data: Data presented in the form of a frequency distribution.
  • Frequency: The number of times a particular value or a range of values appears in the dataset.
  • Relative frequency: The proportion of observations in a class, calculated by dividing the class frequency by the total number of observations 33.

2.2.6 Components of a frequency distribution

The structure of a frequency distribution involves several components:

  • Class limits: The upper and lower values that define a class interval.
  • Class boundaries: Precise points that delineate adjacent classes, ensuring continuity. They are typically calculated as the average of the upper limit of one class and the lower limit of the next class.
  • Class mark (or class mid-point): The midpoint of a class interval, calculated by averaging its lower and upper limits or boundaries.
  • Class width: The difference between the upper and lower class boundaries (or limits) of a class, representing the range of values within that class.

Example: Given the weights in kilograms of 40 individuals 35: 70, 64, 99, 55, 64, 89, 87, 65, 62, 38, 67, 70, 60, 69, 78, 39, 75, 56, 71, 51, 99, 68, 95, 86, 57, 53, 47, 50, 55, 81, 80, 98, 51, 36, 63, 66, 85, 79, 83, 70.

Grouping this data with a class width of 10, starting the first class at 31 kg, yields the following frequency distribution:

ClassClass boundaryCount (Frequency)
31 – 4030.5-40.53
41 – 5040.5-50.52
51 – 6050.5-60.58
61 – 7060.5-70.512
71 – 8070.5-80.55
81 – 9080.5-90.56
91 – 10090.5-100.54
Total40
36.

3. Scales of measurement and data organization (part 2)

This section details the four scales of measurement, methods for data collection and organization, and various graphical representations for presenting data.

3.1 Scales of measurement

Scales of measurement categorize the nature of data and determine the types of mathematical operations that can be meaningfully performed on it.

  • Nominal Scale: This is the lowest level of measurement. Data are categorized into distinct groups without any inherent order or ranking.
    • Examples: Gender (Male, Female), Blood Type (A, B, AB, O), Political Affiliation (Democrat, Republican, Other).
  • Ordinal Scale: Data at this level can be ranked or ordered, but the intervals between ranks are not necessarily equal or measurable.
    • Examples: Education Level (High School, Bachelor's, Master's, PhD), Customer Satisfaction (Poor, Fair, Good, Excellent), Ranking in a competition (1st, 2nd, 3rd).
  • Interval Scale: Data on an interval scale have a meaningful order, and the differences between values are equal and measurable. However, there is no true zero point, meaning that zero does not represent the complete absence of the measured quantity.
    • Examples: Temperature in Celsius or Fahrenheit (0°C does not mean no temperature), IQ scores.
  • Ratio Scale: This is the highest level of measurement. Data on a ratio scale have a meaningful order, equal intervals, and a true zero point, which signifies the absence of the quantity being measured.
    • Examples: Height, Weight, Age, Income, Number of Children. All basic arithmetic operations (addition, subtraction, multiplication, division) are meaningful.

3.2 Constructing a frequency distribution

A frequency distribution organizes data by showing how often each value or range of values occurs. The process for constructing a grouped frequency distribution involves several steps:

  1. Identify highest and lowest values: Determine the maximum (HH) and minimum (LL) values in the dataset.
  2. Compute the range: The range (RR) is the difference between the highest and lowest values: R=H−LR = H - L.
  3. Determine the number of classes (K): Sturges' formula is commonly used: K=1+3.322log⁡nK = 1 + 3.322 \log n, where nn is the total number of observations.
  4. Calculate the class width (W): Divide the range by the number of classes and round to the nearest integer: W=R/KW = R/K.
  5. Identify the unit of measure: This is typically a value like 1, 0.1, 0.01, etc., which helps in defining class boundaries.
  6. Set the lower limit of the first class: Choose a starting point, usually the minimum value or a convenient value slightly below it.
  7. Determine subsequent class limits: Add the class width (WW) to the lower limit of the first class to find the lower limits of subsequent classes. The upper class limit (UCLiUCL_i) of a class is calculated as UCLi=LCLi+W−unit of measureUCL_i = LCL_i + W - \text{unit of measure}, where LCLiLCL_i is the lower class limit of the current class.
  8. Find class frequencies: Tally the number of observations that fall within each class interval.

Example: For data with a range of 32 and 25 observations, Sturges' formula yields K≈6K \approx 6. If W=32/6≈5.33W = 32/6 \approx 5.33, it's rounded up to W=6W=6. If the lowest value is 16, the first class might be 16-21. [37-39]

3.3 Types of frequency distributions

Frequency distributions can be categorized based on the type of frequency assigned to each class.

  • Absolute Frequency Distribution: This type, seen in basic examples, shows the actual count of observations within each class.
  • Relative Frequency Distribution: This distribution expresses the frequency of a class as a proportion or percentage of the total frequency. It is calculated by dividing the absolute frequency of a class by the total number of observations.
    • Relative Frequency = Absolute FrequencyTotal Frequency\frac{\text{Absolute Frequency}}{\text{Total Frequency}}
    • The sum of relative frequencies for all classes should equal 1. [41-42]
  • Cumulative Frequency Distribution: This shows the total number of observations that fall below or above a specific value or class boundary.
    • Less than cumulative frequency: The total frequency of observations up to the upper class boundary of a given class.
    • More than cumulative frequency: The total frequency of observations from the lower class boundary of a given class upwards.
    • Class boundaries are typically used for cumulative frequencies. [43-45]

Example: For travel times, a cumulative less than frequency for the 21.5-27.5 minute class would be the sum of frequencies for classes 16-21 and 22-27 44.

3.4 Ungrouped and categorical frequency distributions

  • Ungrouped Frequency Distributions (Single-value grouping): This type of distribution is used when the data consists of discrete values and the range of values is relatively small. Each distinct numerical value is treated as a class.
    • Example: Number of children per family, where each number of children (e.g., 2, 3, 4) forms a separate class. [46-47]
  • Categorical Frequency Distributions: These distributions are used for qualitative or categorical data, where observations fall into distinct categories rather than numerical ranges.
    • Examples: Political affiliation, religious affiliation, marital status, major field of study.
    • The classes are the categories themselves (e.g., Democratic, Republican, Other). [48-50]

Example: A survey of 40 engineering students on political affiliation might result in classes of 'Democratic', 'Republican', and 'Other', with their respective counts and relative frequencies. [49-50]

3.5 Diagrammatic and graphical presentation of data

Visual representations help in understanding the patterns, distribution, and characteristics of data.

  • Histogram: A graphical display for quantitative data, consisting of adjacent rectangles.

    • The bases of the rectangles represent the class boundaries (not class limits) on the horizontal axis.
    • The heights of the rectangles are proportional to the frequencies of the corresponding classes.
    • Histograms can reveal data symmetry, spread, concentration, gaps, and outliers. [51-53]

    Note: A histogram uses class boundaries on the x-axis, ensuring continuity between adjacent bars 51.

  • Frequency Polygon: A graphic representation of a frequency distribution that plots class frequencies against class marks (midpoints) and connects these points with line segments.

    • To form a closed polygon, two additional classes with zero frequencies are added at each end of the distribution, corresponding to the class marks before the first class and after the last class. [54-55]
  • Bar Charts: Used for presenting qualitative (categorical) data.

    • These are diagrammatic representations where data is shown using vertical or horizontal bars.
    • The height (or length) of each bar is proportional to the magnitude or frequency of the category it represents.
    • Bars in a bar chart are typically separated by gaps, unlike the adjacent bars in a histogram 56.

4. Scales of measurement and data organization (part 3)

This section of the study guide focuses on the fundamental scales of measurement and the essential methods for organizing and visually representing collected data, building upon previous discussions.

4.1 Scales of measurement

Scales of measurement define the nature of the information contained in numerical values assigned to variables. Understanding these scales is crucial for selecting appropriate statistical analyses.

  • Nominal Scale: This is the simplest level of measurement. Categories are used to define attributes of individuals. Numbers are assigned to these categories purely for identification purposes and do not imply any order or magnitude.
    • Example: Assigning numbers to political parties (1 for Party A, 2 for Party B) or classifying individuals by gender (1 for Male, 2 for Female).
  • Ordinal Scale: This scale allows for the ranking or ordering of categories. While the order is meaningful, the distance between categories is not necessarily equal or quantifiable.
    • Example: Ranking student performance as 1st, 2nd, or 3rd place, or classifying customer satisfaction as "poor," "fair," "good," or "excellent."
  • Interval Scale: This scale possesses the properties of the ordinal scale, with the additional characteristic that the differences between values are equal and meaningful. However, an interval scale lacks a true zero point, meaning zero does not represent the absence of the quantity being measured.
    • Example: Temperature measured in Celsius or Fahrenheit. A temperature of 20 degrees Celsius is 10 degrees warmer than 10 degrees Celsius, but 0 degrees Celsius does not mean there is no temperature.
  • Ratio Scale: This is the highest level of measurement and includes all properties of the interval scale, plus a true zero point. The zero point indicates the complete absence of the quantity being measured, allowing for meaningful ratios between values.
    • Example: Height, weight, age, or income. A height of 2 meters is twice as tall as a height of 1 meter.

Note: The choice of statistical methods depends heavily on the scale of measurement used for the variables in question.

4.2 Data organization and graphical representation

Once data is collected, it needs to be organized and presented effectively. This involves classification, tabulation, and graphical visualization.

4.2.1 Data tabulation

Tabulation is the process of arranging data in a systematic manner in rows and columns, typically in a table. This facilitates comparison and analysis.

Example: A table showing coffee production from 1990 to 1995, with years in rows and amounts of coffee in thousands of tons in columns, is a basic form of data tabulation 57.

4.2.2 Frequency distributions

A frequency distribution organizes data by showing the frequency (count) of each distinct value or range of values. This can be done in two main ways:

  • Ungrouped Frequency Distribution: Each individual data value is listed along with its frequency. This is suitable for data with a limited number of distinct values.
  • Grouped Frequency Distribution: Data is divided into classes or intervals, and the frequency of data points falling into each class is recorded. This is used for data with a wide range of values or continuous data.

Frequency distributions can be further classified by the type of frequency reported:

  • Absolute Frequency: The actual count of occurrences for each value or class.
  • Relative Frequency: The proportion of occurrences for each value or class, calculated as the absolute frequency divided by the total number of observations. This is often expressed as a decimal or percentage.
  • Cumulative Frequency: The sum of frequencies for a given value or class and all preceding values or classes. This indicates the total number of observations up to a certain point.

4.2.3 Graphical representations

Graphical methods provide a visual summary of data, making it easier to understand patterns, trends, and relationships.

  • Pie-chart: A circular graph divided into sectors, where each sector's area is proportional to the quantity it represents.

    • Construction:
      1. Calculate the percentage frequency for each component: Percentage Frequency=Frequency of ComponentTotal Frequency×100%\text{Percentage Frequency} = \frac{\text{Frequency of Component}}{\text{Total Frequency}} \times 100\%
      2. Calculate the degree measure for each sector: Sector Angle=Frequency of ComponentTotal Frequency×360∘\text{Sector Angle} = \frac{\text{Frequency of Component}}{\text{Total Frequency}} \times 360^\circ or Sector Angle=Percentage Frequency×360100\text{Sector Angle} = \text{Percentage Frequency} \times \frac{360}{100}
      3. Draw a circle and divide it into sectors according to the calculated angles.

    Example: Representing family expenditure data using a pie-chart.

    ItemExpenditure (in birr)Percentage FrequenciesAngles of the Sector
    Food5033.33%120°
    Clothing3020%72°
    House rent2013.33%48°
    Fuel & light1510%36°
    Miscellaneous3523.33%84°
    Total150100%360°

    Important: A pie-chart is most effective for showing parts of a whole when there are a limited number of categories 58.

    [FIGURE 60: Family expenditure pie-chart 60.

5. Measures of central tendency and variation (part 1)

This section introduces measures of central tendency, which are single values used to represent a dataset, and then begins an exploration of measures of variation.

5.1 Understanding central tendency

Measures of central tendency, also known as averages, provide a single value that aims to represent an entire distribution of data. These measures are only meaningful if the individual values in the dataset tend to cluster around this central value 63.

5.1.1 Properties of a satisfactory average

An ideal average should possess several key properties to be considered satisfactory:

  • Rigidly defined: It must be uniquely determined for any given set of data.
  • Based on all observations: It should incorporate every value in the dataset.
  • Easily understood: The concept and calculation should be straightforward.
  • Simple to compute: The process of calculating it should not be overly complex.
  • Suitable for further mathematical treatment: It should be amenable to advanced statistical analysis.
  • Little affected by sampling fluctuations: Small changes in the sample should not drastically alter the average.
  • Not highly affected by extreme values: Outliers should have a minimal impact on the average 64.

5.1.2 Summation notation

To represent sums of sequential values, the Greek letter ∑\sum (sigma) is used. If a variable is denoted by XX and its successive values are x1,x2,x3,…,xnx_1, x_2, x_3, \ldots, x_n, their sum can be compactly written as: ∑i=1nxi=x1+x2+x3+⋯+xn\sum_{i=1}^{n} x_i = x_1 + x_2 + x_3 + \dots + x_n Here, i=1i=1 is the lower limit and nn is the upper limit of the summation 65.

5.2 Arithmetic mean

The arithmetic mean is a fundamental measure of central tendency. When referring to population data, it is denoted by the Greek letter μ\mu 68.

5.2.1 Arithmetic mean for raw (ungrouped) data

For a dataset of nn observations x1,x2,…,xnx_1, x_2, \ldots, x_n, the arithmetic mean (xˉ\bar{x}) is calculated by summing all the observations and dividing by the total number of observations (nn). xˉ=∑i=1nxin\bar{x} = \frac{\sum_{i=1}^{n} x_i}{n}

Example: The weights of eight youths are 32, 37, 41, 39, 36, 43, 48, and 36 kg. The arithmetic mean weight is: xˉ=32+37+41+39+36+43+48+368=3128=39 kg\bar{x} = \frac{32+37+41+39+36+43+48+36}{8} = \frac{312}{8} = 39 \text{ kg} 69.

5.2.2 Arithmetic mean for grouped data

When data is presented in a frequency distribution, the arithmetic mean is calculated by summing the products of each value (xix_i) and its corresponding frequency (fif_i), and then dividing by the total number of observations (∑fi\sum f_i). xˉ=∑i=1kfixi∑i=1kfi\bar{x} = \frac{\sum_{i=1}^{k} f_i x_i}{\sum_{i=1}^{k} f_i} where kk is the number of classes or distinct values.

Example: Calculate the average age of patients from the following data:

Age (xix_i)Number of patients (fif_i)fixif_i x_i
10330
12672
1410140
1614224
1811198
205100
22488
Total53852

The average age is: xˉ=85253≈16.08 years\bar{x} = \frac{852}{53} \approx 16.08 \text{ years} 70-71

5.2.3 Properties of the arithmetic mean

  • It can be computed for any set of numerical data, and it always exists and is unique.
  • It is dependent on all observations within the dataset.
  • The sum of the deviations of each observation from the mean is zero: ∑i=1n(xi−xˉ)=0\sum_{i=1}^{n} (x_i - \bar{x}) = 0 77.
  • It is significantly influenced by extreme values (outliers).
  • It is well-suited for further statistical analysis, such as combining means from different groups.
  • It is relatively reliable, meaning it is not excessively affected by minor variations due to sampling.
  • The sum of the squared deviations of all observations from the mean is minimized 78.

5.3 Weighted arithmetic mean

In situations where individual data points have varying degrees of importance, the weighted arithmetic mean is employed. Each value is assigned a "weight" reflecting its significance, which can be a frequency or a numerical coefficient 73.

The formula for the weighted arithmetic mean is: xˉw=∑i=1nwixi∑i=1nwi\bar{x}_w = \frac{\sum_{i=1}^{n} w_i x_i}{\sum_{i=1}^{n} w_i} where xix_i are the values and wiw_i are their corresponding weights.

Example: Calculating a student's Grade Point Average (GPA) is a common application of the weighted arithmetic mean. Suppose a student's grades and credit hours are as follows:

CourseCredit Hour (wiw_i)Grade (xix_i)wixiw_i x_i
Math1014A16
Stat20913C6
Chem1013B9
Phys1014B12
Flen1013C6
Total1749

Solomon's GPA is: GPA=4917≈2.88\text{GPA} = \frac{49}{17} \approx 2.88 75-76

5.4 Introduction to measures of variation

While measures of central tendency describe the typical value in a dataset, measures of variation quantify the spread or dispersion of the data points around the central value. Understanding variation is crucial for a complete description of a dataset [Pages not explicitly numbered for this introduction but implied by section progression.

5.5 Types of variation measures

Measures of variation can be broadly categorized into absolute and relative measures [Pages not explicitly numbered for this introduction but implied by section progression. Absolute measures express the variation in the same units as the original data, while relative measures express variation as a proportion or percentage, allowing for comparisons between datasets with different scales [Pages not explicitly numbered for this introduction but implied by section progression.

5.6 Range

The range is the simplest measure of variation. It is calculated as the difference between the highest and lowest values in a dataset. Range=Xmax−Xmin\text{Range} = X_{\text{max}} - X_{\text{min}}

Example: For the weights of eight youths (32, 37, 41, 39, 36, 43, 48, 36 kg), the maximum weight is 48 kg and the minimum is 32 kg. The range is 48−32=1648 - 32 = 16 kg [Pages not explicitly numbered for this example but implied by section progression.

5.7 Variance and Standard Deviation

Variance and standard deviation are more robust measures of dispersion that consider all data points. They quantify the average squared deviation from the mean (variance) and the square root of this average deviation (standard deviation), respectively. These measures are fundamental in statistical inference.

Note: Further details on variance, standard deviation, and other measures of variation (like coefficient of variation, standard scores, and moments) will be covered in subsequent sections [Pages not explicitly numbered but implied by the progression of the topic.

6. Measures of central tendency and variation (part 2)

This section delves deeper into measures of central tendency, focusing on the median and mode, and then transitions to measures of variation, introducing concepts like range, variance, and standard deviation.

6.1 Median

The median is a measure of position, representing the middle value in an ordered dataset.

  • Properties of the median:
    • It is an average of position, meaning its value is determined by the rank of observations rather than their specific values.
    • It is less affected by extreme values (outliers) compared to the mean, as it only depends on the number of observations.
    • The sum of the absolute deviations from the median is minimized, meaning it is the value that minimizes the sum of absolute differences between itself and all other data points in the set 85.

6.2 Mode

The mode is the value that occurs most frequently in a dataset.

  • Finding the mode for raw data:

    • Unimodal distribution: A dataset with a single most frequent value is called unimodal. For example, in the data set {5, 6, 5, 8, 7, 4}, the value 5 occurs twice, which is more than any other value, making 5 the mode.
    • Bimodal distribution: A dataset with two most frequent values that occur an equal number of times is called bimodal. For instance, in {1, 2, 3, 4, 8, 2, 5, 4, 6}, both 2 and 4 appear twice, making them the modal values.
    • No mode: If all values in a dataset occur with the same frequency (e.g., all values appear once), there is no mode. For example, in {1, 2, 4, 3, 5, 6, 8, 7}, each value appears only once, so there is no modal value 86.
  • Notes on the mode:

    • A distribution with more than two modal values is termed multimodal.
    • If all values in a set occur only once or an equal number of times, no mode exists 87.
  • Properties of the modal value:

    • It is simple to calculate and interpret.
    • It is not influenced by extreme values.
    • It does not consider all observations in its calculation.
    • It is typically not used for further statistical analysis of the data 88.

6.3 Measures for grouped data

When data is presented in a frequency distribution, approximations are used to calculate central tendency measures.

  • Mean for grouped data: The mean is approximated by using the mid-point of each class interval. The mid-point represents the assumed average value for all observations within that interval 89.

  • Median for grouped data: The median is approximated by assuming that the values within the median class are evenly distributed. This approximation allows for the calculation of the median even for open-ended frequency distributions, provided the median class is not one of the open-ended classes 93.

  • Mode for grouped data: The mode for grouped data is estimated using a specific formula that takes into account the modal class (the class with the highest frequency) and the frequencies of adjacent classes 94.

6.4 Measures of variation

Measures of variation quantify the spread or dispersion of data points within a dataset.

Note: This section primarily sets the stage for measures of variation. While the provided text for pages 81-100 focuses more on central tendency and introduces fractiles, it briefly touches upon the concept of variation by mentioning its importance and setting up the context for later discussions on range, variance, and standard deviation. The core content on variation, including specific formulas and detailed explanations of range, variance, and standard deviation, would typically be found in subsequent sections or pages not fully covered here.

6.5 Fractile points

Fractile points are values that divide the data into equal parts.

  • Types of fractile points:

    • Quartiles (Q): Divide the data into four equal parts.
      • First Quartile (Q1Q1) is the 25th percentile (P25P25).
      • Second Quartile (Q2Q2) is the 50th percentile (P50P50) and the 5th decile (D5D5).
      • Third Quartile (Q3Q3) is the 75th percentile (P75P75).
    • Deciles (D): Divide the data into ten equal parts.
      • The first decile (D1D1) is the 10th percentile (P10P10).
      • The second decile (D2D2) is the 20th percentile (P20P20).
      • The ninth decile (D9D9) is the 90th percentile (P90P90).
    • Percentiles (P): Divide the data into one hundred equal parts.
  • Example of calculating fractile points:

    Example: Consider the shoe size sales data. To find the quartiles, seventh decile, and 90th percentile for 191 observations, one would order the data by size and then determine the ranks corresponding to these percentile points. For instance, the 90th percentile would be found at the rank corresponding to 90% of the total observations 98.

  • Relationships between fractile points:

    • Q1=P25Q1 = P25.
    • Q2=P50=D5Q2 = P50 = D5.
    • Q3=P75Q3 = P75.
    • D1=P10D1 = P10, D2=P20D2 = P20,..., D9=P90D9 = P90 100.

7. Measures of central tendency and variation (part 3)

This section delves into the essential statistical concepts of variation, or dispersion, which quantify the spread of data points around a central value, complementing measures of central tendency.

7.1 The importance of measuring variation

While averages (measures of central tendency) provide a representative value for a dataset, they fail to capture the complete picture of the data's distribution. They do not indicate how closely the observations are clustered around the mean. For instance, two datasets might have the same mean, but their individual data points could be spread out very differently. Understanding this spread is crucial for a comprehensive analysis of data.

Note: The primary objectives of measuring variation are to describe the dispersion within a dataset, compare the spread across multiple distributions, and assess the reliability of an average. The desirable properties for measures of variation are largely identical to those of good measures of central tendency 103.

Example: Consider the yields of two rice varieties from five plots each:

  • Variety 1: 45, 42, 42, 41, 40
  • Variety 2: 54, 48, 42, 33, 30

The mean yield for both varieties is 42 kg per plot. However, the values for Variety 1 are closely clustered around the mean, indicating low variability. In contrast, the values for Variety 2 are much more spread out, demonstrating high variability, a fact not evident from the mean alone. 104 105.

7.2 Absolute and relative measures of variation

Measures of variation can be categorized as either absolute or relative.

  • Absolute measures are expressed in the same units as the original data. They are useful for comparing variability within distributions when the variables share the same units and have similar average magnitudes 107.
  • Relative measures are employed when comparing datasets with different units of measurement or significantly different average sizes. A relative measure is calculated as the ratio of an absolute measure of dispersion to an appropriate measure of central tendency. These measures are unitless 108.

7.3 Range and relative range

The range is the simplest measure of absolute variation.

  • Range: Defined as the difference between the maximum and minimum observations in a dataset. Range=Maximum value−Minimum value\text{Range} = \text{Maximum value} - \text{Minimum value} The range is a crude measure of variation and is commonly used in constructing quality control charts 109.

  • Relative Range (RR): A unitless measure that relates the range to the sum of the maximum and minimum values. RR=RangeMaximum value+Minimum valueRR = \frac{\text{Range}}{\text{Maximum value} + \text{Minimum value}} 110.

7.4 Variance and standard deviation

Variance and standard deviation are fundamental measures of dispersion that consider all data points.

  • Population Variance (σ2\sigma^2): Represents the average of the squared distances of each data point from the population mean (μ\mu). σ2=∑i=1N(xi−μ)2N=∑i=1Nxi2−(∑i=1Nxi)2NN\sigma^2 = \frac{\sum_{i=1}^{N} (x_i - \mu)^2}{N} = \frac{\sum_{i=1}^{N} x_i^2 - \frac{(\sum_{i=1}^{N} x_i)^2}{N}}{N} Where μ\mu is the population mean (μ=∑i=1NxiN\mu = \frac{\sum_{i=1}^{N} x_i}{N}) and NN is the population size 111.

  • Population Standard Deviation (σ\sigma): The square root of the population variance. It is expressed in the same units as the original data. σ=σ2=∑i=1N(xi−μ)2N\sigma = \sqrt{\sigma^2} = \sqrt{\frac{\sum_{i=1}^{N} (x_i - \mu)^2}{N}} 112.

    Example: Calculate the variance and standard deviation for the heights of committee members (in inches): 69, 66, 67, 69, 64, 63, 65, 68, 72.

    The population mean (μ\mu) is calculated as 6039=67\frac{603}{9} = 67 inches.

    The population variance (σ2\sigma^2) is: σ2=(69−67)2+(66−67)2+⋯+(72−67)29=4+1+0+4+9+16+4+1+259=649≈7.11 square inches\sigma^2 = \frac{(69-67)^2 + (66-67)^2 + \dots + (72-67)^2}{9} = \frac{4+1+0+4+9+16+4+1+25}{9} = \frac{64}{9} \approx 7.11 \text{ square inches}

    The population standard deviation (σ\sigma) is 7.11≈2.67\sqrt{7.11} \approx 2.67 inches 113.

  • Sample Variance (S2S^2): Used to estimate the population variance from a sample. It uses n−1n-1 in the denominator to provide an unbiased estimate. S2=∑i=1n(xi−xˉ)2n−1=∑f(x−xˉ)2n−1={∑fx2−(∑fx)2nn−1}S^2 = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n-1} = \frac{\sum f(x - \bar{x})^2}{n-1} = \left\{ \frac{\sum f x^2 - \frac{(\sum f x)^2}{n}}{n-1} \right\} Where xˉ\bar{x} is the sample mean and nn is the sample size.

  • Sample Standard Deviation (SS): The square root of the sample variance. S=S2=∑i=1n(xi−xˉ)2n−1S = \sqrt{S^2} = \sqrt{\frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n-1}} 114.

    Example: A manager interviewed applicants: 16, 19, 15, 15, and 14 over five days. Find the sample variance and standard deviation.

    The sample mean (xˉ\bar{x}) is 795=15.8\frac{79}{5} = 15.8.

    The sample variance (S2S^2) is calculated as: S2=∑(x−xˉ)2n−1=14.84=3.7S^2 = \frac{\sum (x - \bar{x})^2}{n-1} = \frac{14.8}{4} = 3.7

    Alternatively, using the computational formula: S2=∑fx2−(∑fx)2nn−1=1263−254=1263−1248.24=14.84=3.7S^2 = \frac{\sum fx^2 - \frac{(\sum fx)^2}{n}}{n-1} = \frac{1263 - \frac{ ^2}{5}}{4} = \frac{1263 - 1248.2}{4} = \frac{14.8}{4} = 3.7 79.

    The sample standard deviation (SS) is 3.7≈1.92\sqrt{3.7} \approx 1.92 115.

Note: For grouped data, the calculation of variance and standard deviation follows a similar procedure to calculating the mean for grouped data, utilizing the mid-points of each class 116.

7.4.1 Properties of variance and standard deviation

Properties of Variance:

  • The unit of variance is the square of the original data's unit, which can be a limitation.
  • Variance gives more weight to extreme values than to those closer to the mean due to the squaring of differences.
  • It is based on all observations in the dataset 117.

Properties of Standard Deviation:

  • The standard deviation is widely regarded as the best measure of dispersion.
  • A limitation arises when comparing the variability of two series with different units of measurement, as the standard deviations may not be directly comparable 118.

7.4.2 Uses of variance and standard deviation

Variance and standard deviation are vital for:

  • Determining the spread or dispersion of data.
  • Assessing the consistency of a variable.
  • Estimating the proportion of data values falling within specified intervals.
  • Comparing the variability of two or more datasets; a larger variance or standard deviation indicates greater dispersion.
  • Inferential statistics 119.

7.5 Coefficient of variation (CV)

The coefficient of variation (CV) is a relative measure of dispersion, serving as the unitless counterpart to the standard deviation.

  • Coefficient of Variation (CV): It is the ratio of the standard deviation to the arithmetic mean, typically expressed as a percentage. The CV is particularly useful for comparing the variability of datasets with different units or widely differing means. CV=Standard DeviationArithmetic Mean×100%CV = \frac{\text{Standard Deviation}}{\text{Arithmetic Mean}} \times 100\% A distribution with a lower coefficient of variation is considered less variable, more consistent, more uniform, or more homogeneous 120.

8. Measures of central tendency and variation (part 4)

This section delves into advanced measures of variation, including relative measures, standard scores, and moments, to assess the spread and shape of data distributions.

8.1 Relative measures of dispersion

While absolute measures of dispersion (like range, variance, and standard deviation) provide a sense of spread in the original units of the data, they are not always suitable for comparing variability between datasets with different units or vastly different means. Relative measures, particularly the coefficient of variation (CV), address this limitation.

  • Coefficient of Variation (CV): The CV is a standardized measure of dispersion that expresses the standard deviation as a percentage of the mean. It is particularly useful for comparing the relative variability of two or more datasets, especially when their means are significantly different or when they are measured in different units.

    • Formula: CV=sxˉ×100%CV = \frac{s}{\bar{x}} \times 100\% where:
      • ss is the sample standard deviation.
      • xˉ\bar{x} is the sample mean.

    Example: To compare the dispersion of scores between Biology and Chemistry departments, where Biology had a mean of 79 and a standard deviation of 23, and Chemistry had a mean of 64 and a standard deviation of 11.

    • Biology CV: 2379×100%≈29.11%\frac{23}{79} \times 100\% \approx 29.11\%
    • Chemistry CV: 1164×100%≈17.19%\frac{11}{64} \times 100\% \approx 17.19\%

    Since the CV for the Biology department is higher, its scores are more relatively dispersed compared to the Chemistry department's scores 121.

    Example: Comparing the variability of weight and height for 20 children. The mean weight was 30 kg with a standard deviation of 4 kg (variance of 16 kg2^2), and the mean height was 150 cm with a standard deviation of 5 cm (variance of 25 cm2^2).

    • CV for weight: 4 kg30 kg×100%=13.33%\frac{4 \text{ kg}}{30 \text{ kg}} \times 100\% = 13.33\%
    • CV for height: 5 cm150 cm×100%=3.33%\frac{5 \text{ cm}}{150 \text{ cm}} \times 100\% = 3.33\%

    The children's weight is more variable than their height relative to their respective means 122.

8.2 Standard scores (z-scores)

A standard score, commonly known as a z-score, quantifies the position of a single data point within a distribution relative to the mean, expressed in units of standard deviation. It indicates how many standard deviations an observation is above or below the mean.

  • Population Standard Score: z=x−μσz = \frac{x - \mu}{\sigma} where:

    • xx is the value of the observation.
    • μ\mu is the population mean.
    • σ\sigma is the population standard deviation.
  • Sample Standard Score: z=x−xˉsz = \frac{x - \bar{x}}{s} where:

    • xx is the value of the observation.
    • xˉ\bar{x} is the sample mean.
    • ss is the sample standard deviation.
  • Interpretation of Z-scores:

    • If zz is positive, the observation lies above the mean.
    • If zz is negative, the observation lies below the mean.
    • If zz is zero, the observation is equal to the mean.

    Example: Comparing the performance of Student A (scored 84 in Section 1: mean 72, SD 6) and Student B (scored 90 in Section 2: mean 85, SD 5).

    • Z-score for Student A: zA=84−726=126=2.00z_A = \frac{84 - 72}{6} = \frac{12}{6} = 2.00
    • Z-score for Student B: zB=90−855=55=1.00z_B = \frac{90 - 85}{5} = \frac{5}{5} = 1.00

    Student A performed better relative to their group, as their score is two standard deviations above the mean, while Student B's score is one standard deviation above the mean 125.

    Example: A student scored 65 on a calculus test (mean 50, SD 10) and 30 on a history test (mean 25, SD 5).

    • Calculus z-score: z=65−5010=1510=1.5z = \frac{65 - 50}{10} = \frac{15}{10} = 1.5
    • History z-score: z=30−255=55=1.0z = \frac{30 - 25}{5} = \frac{5}{5} = 1.0

    The student's relative position is higher in the calculus class (z=1.5) than in the history class (z=1.0) 126.

8.3 Moments of a distribution

Moments are statistical measures that describe the shape and characteristics of a probability distribution. They are defined as the average of powers of deviations from an arbitrary origin or the mean.

  • Definition: The rr-th moment about an arbitrary origin AA for a set of observations x1,x2,…,xnx_1, x_2, \ldots, x_n is given by: Momentr(about A)=1n∑i=1n(xi−A)r\text{Moment}_r (\text{about } A) = \frac{1}{n} \sum_{i=1}^{n} (x_i - A)^r

  • Central Moments (Moments about the Mean): These moments are calculated with respect to the distribution's mean (xˉ\bar{x}). They are crucial for understanding the distribution's symmetry and peakedness.

    • The rr-th central moment (μr\mu_r) is given by: μr=1n∑i=1n(xi−xˉ)r\mu_r = \frac{1}{n} \sum_{i=1}^{n} (x_i - \bar{x})^r
    • Special Cases:
      • μ0=1\mu_0 = 1
      • μ1=0\mu_1 = 0 (The sum of deviations from the mean is zero).
      • μ2=s2\mu_2 = s^2 (The second central moment is the variance).
  • Moments about the Origin (Raw Moments): These moments are calculated with respect to zero.

    • The rr-th moment about the origin (μr′\mu'_r) is given by: μr′=1n∑i=1nxir\mu'_r = \frac{1}{n} \sum_{i=1}^{n} x_i^r
    • Special Cases:
      • μ0′=1\mu'_0 = 1
      • μ1′=xˉ\mu'_1 = \bar{x} (The first moment about the origin is the mean).
      • μ2′=1n∑i=1nxi2\mu'_2 = \frac{1}{n} \sum_{i=1}^{n} x_i^2 (The second moment about the origin).

8.4 Skewness

Skewness is a measure of the asymmetry of a probability distribution of a real-valued random variable about its mean. A distribution is skewed if it deviates from being symmetrical.

  • Symmetrical Distribution Characteristics:

    • Mean = Median = Mode
    • Quartiles are equidistant from the median.
    • The sum of positive deviations from the median equals the sum of negative deviations (ignoring signs).
    • The two tails of the frequency curve are of equal length from the central value.
  • Skewed Distribution: If a distribution is not symmetrical, it is called skewed.

  • Measures of Skewness:

    • Pearsonian Coefficient of Skewness (Pcsk): This is a common measure of skewness. Pcsk=Mean−Modes.d.P_{csk} = \frac{\text{Mean} - \text{Mode}}{\text{s.d.}} For moderately skewed distributions, the relationship Mode ≈\approx Mean - 3(Mean - Median) can be used to approximate the coefficient: Pcsk=3(Mean−Median)s.d.P_{csk} = \frac{3(\text{Mean} - \text{Median})}{\text{s.d.}}
  • Interpretation of Pearsonian Coefficient of Skewness:

    • If Pcsk<0P_{csk} < 0: The distribution is negatively skewed. In a negatively skewed distribution, larger values are more frequent than smaller values, and the tail on the left is longer.
    • If Pcsk=0P_{csk} = 0: The distribution is symmetrical.
    • If Pcsk>0P_{csk} > 0: The distribution is positively skewed. In a positively skewed distribution, smaller values are more frequent than larger values, and the tail on the right is longer.

    Example: If a frequency distribution has a mean of 70.2, a mode of 73.6, and a standard deviation of 6.4.

    • Pcsk=70.2−73.66.4=−3.46.4≈−0.53P_{csk} = \frac{70.2 - 73.6}{6.4} = \frac{-3.4}{6.4} \approx -0.53

    This result suggests some negative skewness in the distribution 133.

8.5 Kurtosis

Kurtosis refers to the degree of peakedness or flatness of a distribution relative to a normal distribution. It describes the shape of the tails of the distribution.

  • Leptokurtic Distribution: A distribution with a relatively high peak and fatter tails, indicating more extreme values than a normal distribution.

  • Platykurtic Distribution: A distribution with a flat top and thinner tails, indicating fewer extreme values than a normal distribution.

  • Mesokurtic Distribution: A distribution that is neither highly peaked nor flat-topped, similar to a normal distribution.

  • Measures of Kurtosis:

    • Moment Coefficient of Kurtosis (Mck): This measure uses the fourth and second central moments. Mck=μ4(μ2)2=μ4s4M_{ck} = \frac{\mu_4}{(\mu_2)^2} = \frac{\mu_4}{s^4} where μ4=1n∑(xi−xˉ)4\mu_4 = \frac{1}{n} \sum (x_i - \bar{x})^4 and μ2=s2\mu_2 = s^2.
  • Interpretation of Moment Coefficient of Kurtosis:

    • If Mck<3M_{ck} < 3: The distribution is platykurtic.
    • If Mck=3M_{ck} = 3: The distribution is mesokurtic (e.g., a normal distribution).
    • If Mck>3M_{ck} > 3: The distribution is leptokurtic.

9. Elementary probability and probability distributions (part 1)

This section introduces the foundational concepts of probability theory, including random experiments, sample spaces, events, various counting techniques like permutations and combinations, the axioms of probability, and initial definitions of random variables and their expectations.

9.1 Fundamental concepts in probability

Probability theory begins with understanding the nature of random experiments and their potential outcomes.

  • Random experiment: A process where the outcome cannot be predicted with certainty in advance, but all possible outcomes can be identified. Key characteristics include:
    • All possible outcomes are known beforehand.
    • The experiment can be repeated an indefinite number of times.
    • A discernible pattern emerges in the outcomes over many repetitions 139.
  • Sample point (outcome): A single, individual result of a random experiment.
  • Sample space (S): The set comprising all possible sample points (outcomes) of a random experiment. It is also referred to as the universe.
  • Event: A collection of outcomes, which is essentially a subset of the sample space. Events are typically denoted by capital letters (e.g., A, B, C) 140.

9.1.1 Examples of sample spaces and events

Example: Flipping a coin once. The sample space is S={H,T}S = \{H, T\}, where H denotes heads and T denotes tails. The event of getting a head is A={H}A = \{H\}.

Example: Rolling a die once and observing the number on top. The sample space is S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}. Each number represents an elementary event (an event with a single outcome). The event of rolling an odd number is A={1,3,5}A = \{1, 3, 5\} 141.

9.2 Counting rules for determining the number of outcomes

To assign probabilities, it's often necessary to enumerate outcomes. Counting rules, such as permutations and combinations, help in determining the number of possible outcomes for a given event 147.

9.2.1 Permutations

Permutations deal with the number of ways objects can be arranged when the order of arrangement is important.

  • Permutations of n distinct objects: The number of ways to arrange nn different objects is n!n! (n factorial). 148.
  • Permutations of n objects taken r at a time: The number of arrangements of rr objects chosen from nn distinct objects, where order matters and repetition is not allowed, is given by the formula: nPr=n!(n−r)!nP_r = \frac{n!}{(n-r)!} 149.

Example: Arranging letters. Given the letters a, b, c, d:

  • The number of possible arrangements of all four letters is 4!=244! = 24.
  • The number of possible arrangements of three letters taken from these four is 4P3=4!(4−3)!=241=244P_3 = \frac{4!}{(4-3)!} = \frac{24}{1} = 24 151.

Example: Lining up children. Consider a class with 8 boys and 8 girls.

  • The number of ways they can line up alternating girl-boy-girl-boy... is 8!×8!8! \times 8!.
  • The total number of ways they can line up so that no two of the same sex are next to each other (girl-boy or boy-girl) is 2×8!×8!2 \times 8! \times 8! 152.

Example: Arranging books. If you have 5 different books, they can be arranged in 5!=1205! = 120 ways.

  • Circular permutations: The number of permutations of nn distinct objects arranged in a circle is (n−1)!(n-1)!. This accounts for rotational symmetry, where arrangements are considered the same if one is a rotation of another 153.

9.2.2 Combinations

Combinations involve selecting a group of objects where the order of selection does not matter.

  • Definition: A combination is a selection of rr objects from a set of nn distinct objects without regard to the order of selection. These are also known as rr-sets or committees. 155 156.
  • Formula: While not explicitly stated with a formula in the provided text, combinations are typically calculated as nCr=n!r!(n−r)!nC_r = \frac{n!}{r!(n-r)!}.

9.3 Introduction to random variables

A random variable is a function that assigns a numerical value to each outcome of a random experiment.

  • Discrete random variable: A random variable that can take on a finite number of values or a countably infinite number of values.
  • Continuous random variable: A random variable that can take on any value within a given range or interval.

9.4 Expectation of random variables

Expectation refers to the average value of a random variable over many trials.

  • Expectation (Mean): The expected value of a random variable is a weighted average of its possible values, where the weights are the probabilities of those values.
  • Variance: A measure of the spread or dispersion of the possible values of a random variable around its mean.

10. Elementary probability and probability distributions (part 2)

This section delves into the foundational principles of probability, including axiomatic definitions, various interpretations of probability, essential counting techniques, and the initial concepts of random variables.

10.1 Counting techniques: Permutations and combinations

Counting techniques are crucial for determining the number of possible outcomes in probability experiments, especially when dealing with larger sets of objects.

  • Permutations: The number of ways to arrange kk objects from a set of nn distinct objects, where the order of arrangement matters. The formula is given by: P(n,k)=n!(n−k)!P(n, k) = \frac{n!}{(n-k)!}
  • Combinations: The number of ways to choose kk objects from a set of nn distinct objects, where the order of selection does not matter. This is often referred to as "n choose k" and is calculated as: C(n,k)=(nk)=n!k!(n−k)!C(n, k) = \binom{n}{k} = \frac{n!}{k!(n-k)!}

Example: How many different committees of 3 can be formed from Hawa, Segenet, Nigisty, and Lensa? This is a combination problem because the order of members in a committee does not matter. We want to find the number of combinations of 4 distinct objects taken 3 at a time: C(4,3)=4!3!(4−3)!=246×1=4C(4, 3) = \frac{4!}{3!(4-3)!} = \frac{24}{6 \times 1} = 4. The possible committees are {H,S,N}, {H,S,L}, {H,N,L}, {S,N,L} 158.

Example:

  • A committee of 3 is to be formed from a group of 20 people. How many different committees are possible? C(20,3)=20!3!(20−3)!=20×19×183×2×1=1140C(20, 3) = \frac{20!}{3!(20-3)!} = \frac{20 \times 19 \times 18}{3 \times 2 \times 1} = 1140.
  • From a group of 5 men and 7 women, how many different committees consisting of 2 men and 3 women can be formed? Number of ways to choose 2 men from 5: C(5,2)=5!2!3!=10C(5, 2) = \frac{5!}{2!3!} = 10. Number of ways to choose 3 women from 7: C(7,3)=7!3!4!=35C(7, 3) = \frac{7!}{3!4!} = 35. Total committees: C(5,2)×C(7,3)=10×35=350C(5, 2) \times C(7, 3) = 10 \times 35 = 350 159.

10.2 Axioms of probability

The axioms of probability provide a rigorous mathematical foundation for the concept of probability. A probability measure PP is a function defined on the collection of events (subsets) of a sample space SS that satisfies the following three axioms:

  • Axiom 1: The probability of any event is non-negative. For any event AA, P(A)≥0P(A) \ge 0.
  • Axiom 2: The probability of the entire sample space is 1. P(S)=1P(S) = 1. This means that one of the possible outcomes must occur.
  • Axiom 3: For any sequence of mutually exclusive events A1,A2,A3,…A_1, A_2, A_3, \dots (meaning Ai∩Aj=∅A_i \cap A_j = \emptyset for i≠ji \ne j), the probability of their union is the sum of their individual probabilities: P(A1∪A2∪A3∪… )=P(A1)+P(A2)+P(A3)+…P(A_1 \cup A_2 \cup A_3 \cup \dots) = P(A_1) + P(A_2) + P(A_3) + \dots 163.

From these axioms, several important probability rules can be derived:

  • P(∅)=0P(\emptyset) = 0, where ∅\emptyset is the empty set.
  • The probability of the complement of an event AA (denoted AcA^c) is P(Ac)=1−P(A)P(A^c) = 1 - P(A).
  • For any two events AA and BB, P(B∩Ac)=P(B)−P(A∩B)P(B \cap A^c) = P(B) - P(A \cap B).
  • If AA is a subset of BB (A⊆BA \subseteq B), then P(A)≤P(B)P(A) \le P(B) 164.
  • A fundamental probability rule for any two events AA and BB is: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B).

Example: Consider tossing a fair die. Let AA be the event of getting an even number (A={2,4,6}A=\{2, 4, 6\}) and BB be the event of getting a number greater than 2 (B={3,4,5,6}B=\{3, 4, 5, 6\}).

  • The probability that AA and BB will occur (i.e., A∩BA \cap B) is the probability of getting a number that is both even and greater than 2. A∩B={4,6}A \cap B = \{4, 6\}. Since there are 6 equally likely outcomes, P(A∩B)=26=13P(A \cap B) = \frac{2}{6} = \frac{1}{3}.
  • The probability that AA or BB will occur (i.e., A∪BA \cup B) is the probability of getting a number that is even or greater than 2. A∪B={2,3,4,5,6}A \cup B = \{2, 3, 4, 5, 6\}. Therefore, P(A∪B)=56P(A \cup B) = \frac{5}{6}. Using the formula: P(A)=36P(A) = \frac{3}{6}, P(B)=46P(B) = \frac{4}{6}. P(A∪B)=P(A)+P(B)−P(A∩B)=36+46−26=56P(A \cup B) = P(A) + P(B) - P(A \cap B) = \frac{3}{6} + \frac{4}{6} - \frac{2}{6} = \frac{5}{6}. 174 175.

Example: Sixty percent of families own a car (P(A)=0.6P(A)=0.6), thirty percent own a home (P(B)=0.3P(B)=0.3), and twenty percent own both (P(A∩B)=0.2P(A \cap B)=0.2). a) Probability of not owning a car: P(Ac)=1−P(A)=1−0.6=0.4P(A^c) = 1 - P(A) = 1 - 0.6 = 0.4. b) Probability of owning a car or a house: P(A∪B)=P(A)+P(B)−P(A∩B)=0.6+0.3−0.2=0.7P(A \cup B) = P(A) + P(B) - P(A \cap B) = 0.6 + 0.3 - 0.2 = 0.7. c) Probability of owning a car or a house but not both (exclusive OR): P((A∩Bc)∪(Ac∩B))=P(A∩Bc)+P(Ac∩B)P((A \cap B^c) \cup (A^c \cap B)) = P(A \cap B^c) + P(A^c \cap B) P(A∩Bc)=P(A)−P(A∩B)=0.6−0.2=0.4P(A \cap B^c) = P(A) - P(A \cap B) = 0.6 - 0.2 = 0.4 (owns car only) P(Ac∩B)=P(B)−P(A∩B)=0.3−0.2=0.1P(A^c \cap B) = P(B) - P(A \cap B) = 0.3 - 0.2 = 0.1 (owns house only) Total: 0.4+0.1=0.50.4 + 0.1 = 0.5. d) Probability of owning only a house: This is P(Ac∩B)=P(B)−P(A∩B)=0.3−0.2=0.1P(A^c \cap B) = P(B) - P(A \cap B) = 0.3 - 0.2 = 0.1. e) Probability of neither owning a car nor a house: This is P(Ac∩Bc)P(A^c \cap B^c), which by De Morgan's laws is P((A∪B)c)=1−P(A∪B)=1−0.7=0.3P((A \cup B)^c) = 1 - P(A \cup B) = 1 - 0.7 = 0.3 177.

10.3 Definitions of probability

10.3.1 Classical definition of probability

This definition is applicable when all possible outcomes of a random experiment are equally likely and mutually exclusive. If there are NN total possible outcomes and an event AA consists of nn of these outcomes, then the probability of event AA is: P(A)=Number of outcomes favorable to ATotal number of equally likely outcomes=nNP(A) = \frac{\text{Number of outcomes favorable to A}}{\text{Total number of equally likely outcomes}} = \frac{n}{N} 165.

Example: Consider the experiment of tossing a fair die. The sample space is S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}. All outcomes are equally likely.

  • Event AA: One will occur (A={1}A=\{1\}). n=1,N=6n=1, N=6. P(A)=16P(A) = \frac{1}{6}.
  • Event BB: An even number will occur (B={2,4,6}B=\{2, 4, 6\}). n=3,N=6n=3, N=6. P(B)=36=12P(B) = \frac{3}{6} = \frac{1}{2}.
  • Event CC: An odd number will occur (C={1,3,5}C=\{1, 3, 5\}). n=3,N=6n=3, N=6. P(C)=36=12P(C) = \frac{3}{6} = \frac{1}{2}.
  • Event DD: A number less than 3 will occur (D={1,2}D=\{1, 2\}). n=2,N=6n=2, N=6. P(D)=26=13P(D) = \frac{2}{6} = \frac{1}{3} 166.

Example: Tossing two fair coins. The sample space is S={(H,H),(H,T),(T,H),(T,T)}S = \{(H,H), (H, T), (T,H), (T, T)\}. Each outcome has a probability of 14\frac{1}{4}. Let AA be the event that the first coin falls heads (A={(H,H),(H,T)}A = \{(H, H), (H, T)\}). P(A)=24=12P(A) = \frac{2}{4} = \frac{1}{2}. Let BB be the event that the second coin falls heads (B={(H,H),(T,H)}B = \{(H,H), (T,H)\}). P(B)=24=12P(B) = \frac{2}{4} = \frac{1}{2}. AcA^c is the event that the first coin falls tails (Ac={(T,H),(T,T)}A^c = \{(T,H), (T, T)\}). P(Ac)=24=12P(A^c) = \frac{2}{4} = \frac{1}{2}. BcB^c is the event that the second coin falls tails (Bc={(H,T),(T,T)}B^c = \{(H, T), (T, T)\}). P(Bc)=24=12P(B^c) = \frac{2}{4} = \frac{1}{2}. ScS^c is the event that none of the outcomes will occur, which is the empty set ∅\emptyset. P(Sc)=P(∅)=0P(S^c) = P(\emptyset) = 0 168.

10.3.2 Relative frequency definition of probability

This definition is empirical and is based on the results of repeated experiments. If an experiment is performed nn times (where nn is large) and an event AA occurs nAn_A times, then the probability of event AA is approximated by the relative frequency: P(A)≈nAnP(A) \approx \frac{n_A}{n} 173. This definition is particularly useful when the outcomes are not equally likely or when the sample space is infinite.

10.4 Random variables and expectation

10.4.1 Introduction to random variables

A random variable is a variable whose value is a numerical outcome of a random phenomenon. It is a function that maps outcomes from the sample space to real numbers. Random variables can be discrete or continuous.

  • Discrete Random Variable: A random variable that can only take a finite number of values or a countably infinite number of values. Examples include the number of heads in three coin tosses or the number of defective items in a sample.
  • Continuous Random Variable: A random variable that can take any value within a given range or interval. Examples include height, weight, or temperature.

10.4.2 Expectation (Mean and Variance)

For a random variable, we are often interested in its central tendency and spread, which are quantified by its expectation (mean) and variance.

  • Expectation (Mean): The expected value, denoted by E(X)E(X) or μ\mu, of a discrete random variable XX is the weighted average of all possible values that XX can take. The weights are the probabilities of those values. E(X)=∑i=1kxiP(X=xi)E(X) = \sum_{i=1}^{k} x_i P(X=x_i) where xix_i are the possible values of XX and P(X=xi)P(X=x_i) are their corresponding probabilities. [The document does not explicitly state the formula for expectation for discrete random variables, but this is the standard definition.
  • Variance: The variance, denoted by Var(X)Var(X) or σ2\sigma^2, measures the spread or dispersion of the values of a random variable from its mean. For a discrete random variable XX, it is defined as: Var(X)=E[(X−μ)2=∑i=1k(xi−μ)2P(X=xi)Var(X) = E[(X - \mu)^2 = \sum_{i=1}^{k} (x_i - \mu)^2 P(X=x_i) An alternative and often more convenient formula for variance is: Var(X)=E(X2)−[E(X)]2Var(X) = E(X^2) - [E(X)]^2 where E(X2)=∑i=1kxi2P(X=xi)E(X^2) = \sum_{i=1}^{k} x_i^2 P(X=x_i). [The document does not explicitly state the formulas for variance, but introduces the concept of mean and variance.

Note: While pages 158-177 introduce the basic concepts of probability and counting, the explicit mathematical formulation of expectation and variance for random variables is a topic that would typically be detailed further in subsequent sections of a textbook. However, the expectation (mean) and variance are introduced as key characteristics of random variables.

11. Elementary probability and probability distributions (part 3)

This section delves into conditional probability, independence of events, and introduces the fundamental concepts of random variables and probability distributions.

11.1 Conditional probability and independence

Conditional probability allows us to update the likelihood of an event occurring given that another event has already occurred. It is particularly useful when dealing with incomplete information about an experiment's outcome.

11.1.1 Definition of conditional probability

If P(B)>0P(B) > 0, the conditional probability of event A given event B, denoted by P(A∣B)P(A|B), is defined as: P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)} This formula quantifies how the probability of A changes when we know that B has occurred.

Example: Suppose cards numbered one through ten are in a hat. If a card is drawn at random and we are told the number is at least five (event B), what is the conditional probability that the card drawn is ten (event A)? Here, A={10}A = \{10\} and B={5,6,7,8,9,10}B = \{5, 6, 7, 8, 9, 10\}. P(A∩B)=P({10})=110P(A \cap B) = P(\{10\}) = \frac{1}{10} P(B)=P({5,6,7,8,9,10})=610P(B) = P(\{5, 6, 7, 8, 9, 10\}) = \frac{6}{10} Therefore, P(A∣B)=1/106/10=16P(A|B) = \frac{1/10}{6/10} = \frac{1}{6} 183.

Example: Consider a family with two children. Given that at least one child is a boy (event B), what is the conditional probability that both children are boys (event A)? Assume the sample space is S={(b,b),(b,g),(g,b),(g,g)}S = \{(b, b), (b, g), (g, b), (g, g)\}, with all outcomes equally likely. Event A (both boys) is {(b,b)}\{(b, b)\}. Event B (at least one boy) is {(b,b),(b,g),(g,b)}\{(b, b), (b, g), (g, b)\}. P(A∩B)=P({(b,b)})=14P(A \cap B) = P(\{(b, b)\}) = \frac{1}{4} P(B)=P({(b,b),(b,g),(g,b)})=34P(B) = P(\{(b, b), (b, g), (g, b)\}) = \frac{3}{4} Thus, P(A∣B)=1/43/4=13P(A|B) = \frac{1/4}{3/4} = \frac{1}{3} 185.

11.1.2 Law of multiplication

The definition of conditional probability can be rearranged to form the law of multiplication: P(A∩B)=P(B)P(A∣B)P(A \cap B) = P(B) P(A|B) This is useful when P(B)P(B) and P(A∣B)P(A|B) are known, and P(A∩B)P(A \cap B) is to be determined.

Example: Suppose we draw two balls from an urn containing seven black balls and five white balls without replacement. What is the probability that both drawn balls are black? Let A be the event that the first ball is black, and B be the event that the second ball is black. P(A)=712P(A) = \frac{7}{12} (7 black balls out of 12 total). Given that the first ball was black, there are now 6 black balls left out of 11 total. So, P(B∣A)=611P(B|A) = \frac{6}{11}. Using the law of multiplication: P(A∩B)=P(A)P(B∣A)=712×611=42132=722P(A \cap B) = P(A) P(B|A) = \frac{7}{12} \times \frac{6}{11} = \frac{42}{132} = \frac{7}{22} 188.

11.1.3 Independence of events

Two events, A and B, are considered independent if the occurrence of one does not affect the probability of the other occurring. Mathematically, this is expressed in two equivalent ways:

  • P(A∣B)=P(A)P(A|B) = P(A) (provided P(B)>0P(B) > 0)
  • P(A∩B)=P(A)P(B)P(A \cap B) = P(A) P(B)

If the equality P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B) holds, the events A and B are independent. Conversely, if A and B are independent, this equality also holds.

Note: Independence is a property of events, distinct from mutual exclusivity. Mutually exclusive events cannot occur together (P(A∩B)=0P(A \cap B) = 0), whereas independent events can occur together, and their joint probability is the product of their individual probabilities.

11.2 Random variables and probability distributions

A random variable provides a numerical outcome for each result of a random experiment. It is a real-valued function defined on the sample space of an experiment.

11.2.1 Definition and examples of random variables

A random variable assigns a unique number to every outcome in the sample space.

  • Example: For an experiment involving five coin tosses, the number of heads observed is a random variable.
  • Example: When rolling a die twice, the sum of the two rolls, or the count of sixes obtained, are random variables.
  • Example: In message transmission, the time taken, the number of errors, or the reception delay can all be considered random variables.

Notation: Capital letters (e.g., X, Y) are used to denote random variables, while lowercase letters (e.g., x, y) represent specific numerical values they can take 192.

11.2.2 Types of random variables

Random variables are broadly classified into two types based on the nature of their possible values:

  • Discrete Random Variable: A random variable is discrete if its range of possible values is finite or countably infinite. This means the variable can only take on a specific, distinct set of values.

    • Examples: The number of children in a family, the number of car accidents in a given period, or the count of bacteria per cubic millimeter.
  • Continuous Random Variable: A random variable is continuous if it can assume any numerical value within an interval or a collection of intervals.

    • Examples: The body weight of a newborn baby, the lifespan of a human, or the height of a person.

11.2.3 Probability distributions

The characterization of a random variable is fundamentally done through the probabilities associated with the values it can take.

  • For Discrete Random Variables: The probability distribution is described by the probability mass function (p.m.f.), denoted as PX(x)P_X(x). This function gives the probability that the discrete random variable XX takes on a specific value xx.
  • For Continuous Random Variables: The probability distribution is described by the probability density function (p.d.f.), denoted as fX(x)f_X(x). For continuous variables, the probability of XX taking any single specific value is zero; instead, probabilities are calculated for intervals.

Example: Consider tossing two fair coins. Let XX be the random variable representing the number of heads. The possible values for XX are 0, 1, and 2.

  • X=0X=0 corresponds to the outcome (T,T), so P(X=0)=14P(X=0) = \frac{1}{4}.
  • X=1X=1 corresponds to the outcomes (T,H) and (H,T), so P(X=1)=24P(X=1) = \frac{2}{4}.
  • X=2X=2 corresponds to the outcome (H,H), so P(X=2)=14P(X=2) = \frac{1}{4}. This set of probabilities constitutes the p.m.f. for XX 197.

12. Elementary probability and probability distributions (part 4)

This section delves into the foundational concepts of probability, including the nature of random experiments, sample spaces, events, and the mathematical axioms governing probability. It further explores the mechanics of calculating probabilities using counting rules, conditional probability, and the concept of independence, before introducing the crucial idea of random variables and their associated statistical summaries like expectation.

12.1 Fundamental probability concepts

A random experiment is any process that can be repeated under the same conditions and results in an outcome that is uncertain before the experiment is performed. The set of all possible outcomes of a random experiment is called the sample space, denoted by SS. An event is a subset of the sample space, representing a specific outcome or a collection of outcomes of interest.

12.1.1 Axioms of probability

The assignment of probabilities to events must adhere to three fundamental axioms:

  1. Non-negativity: The probability of any event AA, denoted by P(A)P(A), must be non-negative: P(A)≥0P(A) \geq 0.
  2. Normalization: The probability of the entire sample space SS is 1: P(S)=1P(S) = 1.
  3. Additivity: For any sequence of mutually exclusive events A1,A2,…A_1, A_2, \dots, the probability of their union is the sum of their individual probabilities: P(A1∪A2∪… )=P(A1)+P(A2)+…P(A_1 \cup A_2 \cup \dots) = P(A_1) + P(A_2) + \dots.

12.1.2 Definitions and counting rules

Several definitions of probability exist, including the classical definition (based on equally likely outcomes) and the relative frequency definition (based on observed frequencies in repeated trials). Counting rules, such as permutations and combinations, are essential for determining the number of possible outcomes when dealing with arrangements and selections of objects.

  • Permutations: The number of ways to arrange rr objects from a set of nn distinct objects, where order matters, is given by P(n,r)=n!(n−r)!P(n,r) = \frac{n!}{(n-r)!}.
  • Combinations: The number of ways to choose rr objects from a set of nn distinct objects, where order does not matter, is given by C(n,r)=(nr)=n!r!(n−r)!C(n,r) = \binom{n}{r} = \frac{n!}{r!(n-r)!}.

12.2 Conditional probability and independence

Conditional probability quantifies the likelihood of an event occurring given that another event has already occurred. The conditional probability of event AA given event BB is denoted by P(A∣B)P(A|B) and is defined as: P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}, provided P(B)>0P(B) > 0.

Two events AA and BB are considered independent if the occurrence of one does not affect the probability of the other. Mathematically, AA and BB are independent if P(A∣B)=P(A)P(A|B) = P(A) or, equivalently, P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B).

12.3 Random variables and distributions

A random variable is a variable whose value is a numerical outcome of a random phenomenon. Random variables can be classified as discrete, taking on a finite or countably infinite number of values, or continuous, taking on any value within a given range.

Note: The probability distribution of a random variable describes the likelihood of each possible value or range of values it can take. For continuous random variables, probabilities are associated with intervals, and the probability of any single point is zero. The probability P(a≤X≤b)P(a \leq X \leq b) for a continuous random variable XX is represented by the area under its probability density function (PDF) between aa and bb 201.

12.4 Expectation of random variables

Expectation, often referred to as the mean or expected value, provides a summary measure of the central tendency of a random variable. It represents the weighted average of all possible values a random variable can take, with the weights being their respective probabilities.

  • For a discrete random variable XX with probability mass function p(x)p(x): E(X)=μX=∑xx⋅p(x)E(X) = \mu_X = \sum_{x} x \cdot p(x)
  • For a continuous random variable XX with probability density function f(x)f(x): E(X)=μX=∫−∞∞x⋅f(x)dxE(X) = \mu_X = \int_{-\infty}^{\infty} x \cdot f(x) dx

The variance is another key measure associated with random variables, quantifying the dispersion or spread of the distribution around its mean 203 205.

Important: The variance, denoted by σX2\sigma^2_X or Var(X)Var(X), is defined as the expected value of the squared difference between the random variable and its mean: Var(X)=E[(X−μX)2]Var(X) = E[(X - \mu_X)^2] It provides a measure of how spread out the values of XX are from its average value.

The standard deviation, σX\sigma_X, is the square root of the variance (σX=Var(X)\sigma_X = \sqrt{Var(X)}) and is often preferred as it is in the same units as the random variable itself 206.

Common mistakes to avoid

  • Review all topics thoroughly before exams
  • Pay attention to formulas and key definitions
  • Practice with examples provided in each section
  • Don't memorize without understanding the underlying concepts

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

See also