Probability Statistics

Cover

Mathématiques-TCG - Copie.pdf

Table of contents

  1. Mathematics
  2. Limit, Continuity

1. Mathematics

1.1 Set theory terminology

A set is a collection of objects, and these objects are called the elements of the set.

  • Element notation: If xx is an element of set AA, it is written as x∈Ax \in A. If xx is not an element of AA, it is written as x∉Ax \notin A.
  • Empty set: The symbol ∅\emptyset denotes the empty set, which contains no elements.
  • Set definition methods:
  • Extension: Listing all elements within curly braces, e.g., {1,2,3}\{1, 2, 3\}.
  • Comprehension: Defining elements by a characteristic property, e.g., {x∈Z:x>0}\{x \in \mathbb{Z}: x > 0\} 3.
  • Element equality: If aa and bb refer to the same element in a set EE, they are said to coincide, written as a=ba = b. Otherwise, a≠ba \neq b.
  • Set identity: Two sets AA and BB are identical if they consist of the same elements, meaning every element of AA is in BB and every element of BB is in AA. This is written as A=BA = B 4.

1.2 Operations on sets

Operations on sets define relationships and combinations between them.

  • Inclusion: A set AA is included in set BB if all elements of AA are also elements of BB. AA is then a subset or part of BB, written as A⊂BA \subset B.
  • Intersection: The intersection of two sets AA and BB is the set II containing all elements common to both AA and BB. It is written as I=A∩BI = A \cap B.
  • Union: The union of two sets AA and BB is the set JJ containing all elements belonging to at least one of the sets AA or BB. It is written as J=A∪BJ = A \cup B 6.

1.3 Properties of number sets

Number sets like natural numbers, integers, decimals, and rationals have specific properties related to operations and order.

  • Rational numbers (Q\mathbb{Q}):
  • Stability: Closed under addition (++) and multiplication (×\times).
  • Algebraic properties: Commutativity, associativity, distributivity apply.
  • Order: (Q,≤)(\mathbb{Q}, \leq) is totally ordered.
  • Compatibility with order:
  • If x≤yx \leq y, then x+z≤y+zx + z \leq y + z for all x,y,z∈Rx, y, z \in \mathbb{R}.
  • If x≤yx \leq y and z>0z > 0, then x×z≤y×zx \times z \leq y \times z for all x,y,z∈Rx, y, z \in \mathbb{R} 5.
  • Real numbers (R\mathbb{R}): The set of real numbers R\mathbb{R} contains rational numbers (Q\mathbb{Q}) and irrational numbers (R∖Q\mathbb{R} \setminus \mathbb{Q}) 7.
  • Irrational numbers (R∖Q\mathbb{R} \setminus \mathbb{Q}): Not stable under addition or multiplication. For example, 2\sqrt{2} is irrational, but 2−2=0\sqrt{2} - \sqrt{2} = 0 and 2×2=2\sqrt{2} \times \sqrt{2} = 2 are integers 8.
  • Properties of (R,+,×,≤)(\mathbb{R}, +, \times, \leq):
  • (R,+,×)(\mathbb{R}, +, \times) is a commutative field, meaning addition and multiplication have stability, associativity, commutativity, and distributivity.
  • The relation ≤\leq is an order relation that extends the order of Q\mathbb{Q}.
  • The relation ≤\leq is compatible with addition and multiplication 9.

1.4 Assertions about sets and numbers

This section tests understanding of fundamental set theory and number properties.

  • Empty set properties:
  • The empty set ∅\emptyset contains no elements.
  • For any non-empty set AA: A∩∅=∅A \cap \emptyset = \emptyset, A∪∅=AA \cup \emptyset = A, and ∅⊂A\emptyset \subset A.
  • Subset transitivity: If A⊂BA \subset B and B⊂CB \subset C, then A⊂CA \subset C.
  • Set equality: A=BA = B if and only if A⊂BA \subset B and B⊂AB \subset A 10.
  • Number properties:
  • The set of real numbers is totally ordered.
  • Not all rational numbers are decimal numbers.
  • If a∈Qa \in \mathbb{Q} and b∉Qb \notin \mathbb{Q}, then a+b∉Qa + b \notin \mathbb{Q}.
  • 2\sqrt{2} is an irrational number, meaning 2∉Q\sqrt{2} \notin \mathbb{Q}.
  • 3\sqrt{3} is an irrational number, meaning 3∉Q\sqrt{3} \notin \mathbb{Q} 11.

1.5 Absolute value

The absolute value of a real number xx, denoted ∣x∣|x|, is defined as max⁡(x,−x)\max(x, -x).

  • Properties of absolute value: For all x,y∈Rx, y \in \mathbb{R} and r>0r > 0:
  • 0≤∣x∣0 \leq |x|, x≤∣x∣x \leq |x|, −x≤∣x∣-x \leq |x|, and ∣xy∣=∣x∣∣y∣|xy| = |x||y|.
  • Triangle inequality: ∣x+y∣≤∣x∣+∣y∣|x + y| \leq |x| + |y|.
  • Reverse triangle inequality: ∣∣x∣−∣y∣∣≤∣x−y∣≤∣x∣+∣y∣||x| - |y|| \leq |x - y| \leq |x| + |y|.
  • Inequality equivalence:
  • ∣x∣≤r  ⟺  −r≤x≤r|x| \leq r \iff -r \leq x \leq r.
  • ∣x∣≥r  ⟺  x≥r|x| \geq r \iff x \geq r or x≤−rx \leq -r 12.
Cover

mathh.pdf

📚 mathh.pdf

Brief overview

This document provides a foundational understanding of statistical measures of spread and essential trigonometric concepts. Mastering these topics is crucial for data analysis and understanding geometric relationships.

Key points

  • Statistical measures of data spread for single and grouped data.
  • Solving systems of linear equations with three variables.
  • Understanding and solving linear inequalities in two variables.
  • Fundamental trigonometric ratios and identities.
  • Ratios of related angles in trigonometry.

1. Measures of spread in statistics

1.1 Introduction to spread

  • Measures of spread tell us how spread out the data values are in a set. They show the variation in the data.
  • Common measures include range, interquartile range, quartile deviation, and mean deviation. These can be calculated for both single data points and grouped data.

1.2 Range

  • The range is the simplest measure of spread. It is the difference between the highest and lowest values in a data set.

📝 Example: For the data set {2, 5, 8, 10, 15}, the range is 15−2=1315 - 2 = 13.

  • Range is easy to calculate but can be heavily influenced by extreme values (outliers).

1.3 Interquartile range (IQR)

  • The interquartile range (IQR) measures the spread of the middle 50% of the data. It is less affected by outliers than the range.
  • To find the IQR, we first find the quartiles. Quartiles divide the data into four equal parts.
    • Q1Q_1 (First Quartile): The median of the lower half of the data.
    • Q2Q_2 (Second Quartile): The median of the entire data set.
    • Q3Q_3 (Third Quartile): The median of the upper half of the data.
  • The IQR is calculated as Q3−Q1Q_3 - Q_1.

🔑 Important: The IQR gives a more stable measure of spread than the range because it excludes the extreme 25% of the data on each end.

1.4 Quartile deviation (QD)

  • The quartile deviation (QD), also known as the semi-interquartile range, is half of the interquartile range.
  • It is calculated using the formula: QD=Q3−Q12QD = \frac{Q_3 - Q_1}{2}.

🔑 Important: The QD is a measure of spread that is half the distance from the first quartile to the third quartile.

1.5 Mean deviation (MD)

  • The mean deviation (MD) measures the average distance of each data point from the mean of the data set.
  • It is calculated by finding the absolute difference between each data point and the mean, and then taking the average of these differences.
  • The formula is: MD=∑∣xi−xˉ∣nMD = \frac{\sum |x_i - \bar{x}|}{n}, where xix_i are the data points, xˉ\bar{x} is the mean, and nn is the number of data points.

🔑 Important: The mean deviation considers the distance of every data point from the mean, making it a comprehensive measure of spread.

1.6 Measures of spread for grouped data

  • The same measures of spread (range, IQR, QD, MD) can be applied to grouped data, but calculations involve class boundaries and frequencies.
  • For grouped data, the range is the difference between the upper boundary of the highest class and the lower boundary of the lowest class.
  • Calculating quartiles (Q1Q_1, Q3Q_3) and the median for grouped data involves formulas using class frequencies and cumulative frequencies.
  • The IQR and QD are then found using these calculated quartiles.
  • Mean deviation for grouped data involves finding the midpoint of each class and using class frequencies in the calculation.

🔑 Important: When working with grouped data, always use class boundaries and frequencies to accurately calculate measures of spread.

🔑 Important: Measures of spread tell you how varied your data is. A small spread means data points are close together, while a large spread means they are far apart.

2. Trigonometry basics

2.1 Trigonometric ratios

  • Trigonometry is the study of relationships between angles and sides of triangles.
  • It helps solve problems involving distances and heights that are difficult to measure directly.

2.1.1 Right-angled triangles

  • In a right-angled triangle, one angle is always 90 degrees.
  • The side opposite the right angle is called the hypotenuse.
  • The other two sides are named based on one of the acute angles.

Hypotenuse:

Cover

math one note.pptx

Table of contents

  1. Summarising data numerically
  2. Line graphs
  3. Stem & leaf plots
  4. 3D Shapes (solids and nets)
  5. Volume of rectangular and triangular prisms
  6. Experimental probability
  7. Theoretical probability in single-step experiments

1. Summarising data numerically

1.1 Range

The range of a set of data is the difference between the highest and lowest values. It gives a simple measure of the spread of the data.

  • Range: highest number - lowest number.

A 3D representation of a cube with side lengths labeled as 5m.

1.2 Mean, median, and mode

Mean, median, and mode are three different ways to summarize a set of numerical data. They are also known as measures of center or central tendency.

  • Mean: the average of a dataset, calculated by summing all values and dividing by the total number of values.
  • Median: the middle value in a dataset when the values are arranged in ascending order. If there are two middle values, the median is their average.
  • Mode: the value that appears most frequently in a dataset. A dataset can have more than one mode.
MeasureCalculationExample
RangeHighest value - Lowest valueFor data 1, 5, 6, 7: Range = 7 - 1 = 6
Mean(Sum of all values) / (Total number of values)For data 1, 5, 6, 7: Mean = (1+5+6+7) / 4 = 20 / 4 = 5
MedianThe middle value when data is sorted. If two middle values, average them.For data 1, 5, 6, 7: Median = (5+6) / 2 = 5.5
ModeThe most frequent valueFor data 1, 1, 5, 6, 7: Mode = 1

2. Line graphs

2.1 Understanding line graphs

A line graph is used to show how a numerical value changes over time or another continuous variable. It connects a series of data points with straight lines, illustrating trends and patterns.

  • Continuous data: Both axes of a line graph must represent continuous numerical data, meaning the values can take any number within a range.
  • Horizontal axis: Time is frequently plotted on the horizontal axis (x-axis) in line graphs.
  • Data points: Each point on the graph represents a specific measurement at a particular time or value of the continuous variable.
  • Line segments: Straight lines connect the data points, showing the rate of change between them.

2.2 Drawing and interpreting line graphs

Drawing and interpreting line graphs involves plotting data accurately and understanding what the graph represents. This includes identifying trends, estimating values, and understanding specific types of line graphs like travel graphs.

  • Title: A line graph should always have a clear title that describes the data being presented.
  • Labeled axes: Both the horizontal and vertical axes must be clearly labeled with the variable they represent and the units of measurement.
  • Scale: Numerical values on the axes should be drawn to scale, ensuring accurate representation of the data.
  • Estimating values: Values that fall between plotted points can be estimated by looking at the trend of the line.

2.3 Travel graphs

A travel graph is a specific type of line graph used to show the distance traveled over a period of time. It helps in understanding movement, speed, and rest periods.

  • Horizontal axis: Represents time.
  • Vertical axis: Represents distance traveled.
  • Slope: The steepness (slope) of the line indicates the speed. A steeper slope means a faster speed, while a horizontal line indicates the object is at rest.
  • Interpreting segments: Different segments of the graph show different stages of the journey, such as moving, stopping, or returning.

📝 In a travel graph, a line segment that rises steeply from left to right indicates that the object is moving away from the starting point at a high speed. A horizontal line segment means the object is stationary.

2.4 Starter questions analysis

The provided starter questions offer practical scenarios for applying the understanding of line graphs, particularly in analyzing temperature changes over time and interpreting travel graphs.

  • Room temperature experiment: The graphs for Room A and Room B show how temperature changes hourly. Analyzing these graphs can help determine when heaters or air conditioners were switched on or off based on temperature fluctuations.
  • Estimating temperature: To find the approximate temperature 90 minutes after the start, one would locate 1.5 hours on the time axis and read the corresponding temperature value on the vertical axis for each room.
  • Comparing temperatures: Determining the proportion of time Room A is hotter than Room B involves comparing the temperature lines at each hourly interval and calculating the pe
Cover

math revision T3 26.pdf

Table of contents

  1. Quadratics (Chapter 10)
  2. Statistics (Chapter 9 – Part 1)
  3. Probability (Chapter 9 – Part 2)
  4. Your 2-Week Revision Plan
  5. Key Formulas to Memorise 4 5

1. Quadratics (Chapter 10)

1.1 B Solving quadratics (basic)

This section covers solving quadratic equations using basic methods, focusing on expanding and factorizing expressions. These skills are fundamental for understanding more advanced quadratic techniques.

  • Expanding expressions: This involves multiplying out terms in parentheses.
  • (x+a)(x+b)=x2+bx+ax+ab=x2+(a+b)x+ab(x+a)(x+b) = x^2 + bx + ax + ab = x^2 + (a+b)x + ab.
  • (x+a)2=(x+a)(x+a)=x2+ax+ax+a2=x2+2ax+a2(x+a)^2 = (x+a)(x+a) = x^2 + ax + ax + a^2 = x^2 + 2ax + a^2.
  • Factorizing expressions: This is the reverse of expanding, where a quadratic expression is written as a product of two linear factors.
  • To factorize x2+bx+cx^2 + bx + c, find two numbers that multiply to cc and add up to bb 1.

1.2 C Solving quadratics (advanced methods)

This section details advanced methods for solving quadratic equations, building upon basic factorization. These methods are crucial for handling equations that cannot be easily factorized.

  • Solving factorized quadratics: If a quadratic is in the form (x+a)(x+b)=0(x+a)(x+b) = 0, then either (x+a)=0(x+a)=0 or (x+b)=0(x+b)=0.
  • This leads to solutions x=−ax = -a and x=−bx = -b.
  • Solving x2=kx^2 = k: This is a simple form of quadratic equation.
  • The solutions are x=kx = \sqrt{k} and x=−kx = -\sqrt{k}, provided k≥0k \ge 0 1.

1.3 D Quadratic equations (word problems/applications)

This section focuses on applying quadratic equations to solve real-world problems. It involves translating word problems into mathematical equations and then solving them.

  • Setting up equations: Identify the unknown quantity and represent it with a variable. Translate the problem's conditions into a quadratic equation.
  • Solving and interpreting: Solve the quadratic equation using appropriate methods. Check if the solutions are sensible in the context of the problem (e.g., a length cannot be negative) 1.

1.4 E Parabolas (shape, vertex, axis of symmetry)

This section introduces parabolas, the graphical representation of quadratic functions. Understanding their properties is key to sketching and interpreting them.

  • Shape of a parabola: The graph of y=ax2+bx+cy = ax^2 + bx + c is a parabola.
  • If a>0a > 0, the parabola opens upwards (U-shaped).
  • If a<0a < 0, the parabola opens downwards (n-shaped).
  • Vertex: The turning point of the parabola.
  • The x-coordinate of the vertex is given by x=−b2ax = -\frac{b}{2a} 4.
  • Axis of symmetry: A vertical line that divides the parabola into two mirror images.
  • The equation of the axis of symmetry is x=−b2ax = -\frac{b}{2a}, which passes through the vertex 1.

1.5 F Sketching quadratics

This section covers how to sketch the graph of a quadratic function. It involves identifying key features like intercepts and the vertex.

  • Key features for sketching:
  • Y-intercept: Found by setting x=0x=0, so y=cy = c.
  • X-intercepts: Found by setting y=0y=0 and solving the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0.
  • Vertex: Calculated using x=−b2ax = -\frac{b}{2a}.
  • Sketching steps:
  1. Determine if the parabola opens upwards or downwards based on the sign of aa.
  2. Calculate and plot the y-intercept.
  3. Solve for and plot the x-intercepts (if they exist).
  4. Calculate the x-coordinate of the vertex and find the corresponding y-coordinate. Plot the vertex.
  5. Draw a smooth curve through these points, ensuring symmetry 1.

📝 To sketch y=x2−4y = x^2 - 4, we note a=1a=1 (opens up), the y-intercept is y=−4y=-4. For x-intercepts, x2−4=0  ⟹  x2=4  ⟹  x=±2x^2 - 4 = 0 \implies x^2 = 4 \implies x = \pm 2. The vertex x-coordinate is x=−0/(2∗1)=0x = -0/(2\ast1) = 0, so the vertex is at (0,−4)(0, -4) 1.

2. Statistics (Chapter 9 – Part 1)

2.1 G Data and sampling

This section introduces basic concepts of data collection and sampling methods used in statistics. Understanding these is crucial for interpreting statistical information accurately.

  • Data: Information collected for analysis.
  • Sampling: The process of selecting a subset of individuals from a larger population to make inferences about the population.
  • Different sampling methods exist, each with its own advantages and disadvantages 2.

2.2 H Mean, median, mode

These are measures of central tendency used to describe the typical value in a dataset. Each measure provides a different perspective on the data's center.

  • Mean: The average of a dataset, calculated by summing all values and dividing by the number of values.
  • Formula: xˉ=∑xn\bar{x} = \frac{\sum x}{n} 5.
  • Median: The middle value in a dataset that has been ordered from least to greatest.
  • If there is an even number of data points, the median is the average of the two middle values.
  • Mode: The value that appears most fr
Cover

Measures of Central Tendency (Comprehensive Examples).pdf

Table of contents

  1. Examples for Measures of Central Tendency

1. Examples for Measures of Central Tendency

1.1 Mean calculation and interpretation

The mean is calculated by summing all values in a dataset and dividing by the number of values. It is sensitive to extreme values, or outliers, which can distort its representation of the central tendency 1 2 3.

  • Mean calculation for grouped data: The mean (Xˉ\bar{X}) is calculated as the sum of the products of each class midpoint (xix_i) and its frequency (fif_i), divided by the total frequency (Σfi\Sigma f_i).
  • Formula: Xˉ=ΣfixiΣfi\bar{X} = \frac{\Sigma f_i x_i}{\Sigma f_i}3.
  • Interpretation of mean: The mean provides a true picture of the dataset when the data is normally distributed and lacks significant outliers.
  • Outliers and mean: Extreme values (outliers) can significantly affect the mean, making it an inappropriate measure for datasets that are not normally distributed 1 2.

📝 The mean weight calculated from a dataset including students categorized as "fat," "obese," and "morbidly obese" was 40.4 kg. This mean does not provide an accurate picture due to the presence of these outliers 1.

📝 For 100 airline pilots, the mean score was 90.43. This mean is considered representative because the majority of observations fall close to this value, and the data is not heavily skewed by outliers 1.

📝 With incomes ranging from $25,500 to $135,436, the mean income was $53,321. However, due to the non-normal distribution and presence of an outlier ($135,436), the median is a better representation of the central tendency for this dataset 2.

📝 The mean time spent to realize a sale was calculated as 62.38 minutes from a structured dataset 3.

📝 The mean revenue per special was $2.546, calculated from the total revenue and total specials sold 4.

📝 For sales price, the mean was $85,333 4.

📝 For the number of purchased stores, the mean was 9.89 4.

📝 For the number of visitors per store, the mean was 15.66 4.

1.2 Median calculation and interpretation

The median is the middle value in a dataset when the values are arranged in ascending or descending order. It is less affected by outliers than the mean, making it a more suitable measure for skewed distributions 2 3.

  • Median calculation for ungrouped data:
  • If the number of observations (nn) is odd, the median is the value at the n+12\frac{n+1}{2} position.
  • If the number of observations (nn) is even, the median is the average of the values at the n2\frac{n}{2} and n+22\frac{n+2}{2} positions.
  • Median calculation for grouped data: The median class is identified using cumulative frequencies. The median is then calculated using the formula: Median=Llm+n2−Ffm×CimMedian = L_{lm} + \frac{\frac{n}{2} - F}{f_m} \times C_{im}, where LlmL_{lm} is the lower limit of the median class, nn is the total frequency, FF is the cumulative frequency of the class preceding the median class, fmf_m is the frequency of the median class, and CimC_{im} is the class interval of the median class.
  • Interpretation of median: The median represents the centermost value and is a better indicator of central tendency for datasets with extreme values or those that are not normally distributed 2 3.

📝 For a dataset of six household incomes, the median was calculated as $36,084. This value is the average of the 3rd and 4th observations after ordering the incomes, providing a more representative central value than the mean due to an outlier 2.

📝 For the number of purchased stores, the median was 5 4.

1.3 Mode calculation and interpretation

The mode is the value that appears most frequently in a dataset. It is useful for identifying the most common occurrence in qualitative or categorical data, as well as in quantitative data 2 3 4.

  • Mode calculation for grouped data: The mode is calculated using the formula: Mode=Llm+PP+Q×CimMode = L_{lm} + \frac{P}{P+Q} \times C_{im}.
  • LlmL_{lm}: Lower limit of the modal class.
  • PP: Frequency of the modal class minus the frequency of the preceding class (fm−fm−1f_m - f_{m-1}).
  • QQ: Frequency of the modal class minus the frequency of the succeeding class (fm−fm+1f_m - f_{m+1}).
  • CimC_{im}: Class interval of the modal class.
  • Interpretation of mode: The mode identifies the most frequent value or category. It is particularly useful for qualitative data where mean and median are not applicable 2 3 4 5 6.

📝 In a fast-food restaurant, "Chicken Littles" was the most sold special, indicating it is the mode for sales 4.

📝 For sales price, the mode was $55,000 4.

Cover

Measures of Location (Definitions & Examples).pdf

Table of contents

  1. Measures of Location
  2. Exercise 7.1

1. Measures of Location

1.1 Background

Measures of location are values that identify a specific point within a dataset. The median, a measure of central tendency, also functions as a measure of location by dividing data into two equal halves.

These measures find frequent application in clinical medicine, such as the use of percentiles in pediatric growth charts 1.

1.2 Percentile

Percentiles are values that divide a dataset into 100 equal parts, meaning 99 percentiles exist for any given data set. The value at a specific percentile can be calculated using the following formula 1:

Percentile = LLm + [pEfm100−Cm−1]×CIm\left[\frac{pE f_m}{100} - C_{m-1}\right] \times CI_m 2.

where:

  • mm is the percentile class, the class where the ppth percentile lies.
  • LLmLL_m is the lower limit of the percentile class.
  • Cm−1C_{m-1} is the cumulative frequency of the class preceding the percentile class.
  • fmf_m is the frequency of the ppth percentile class.
  • CImCI_m is the class interval of the percentile class 2.

To identify the location of the mmth class (LLmLL_m):

  1. Calculate cumulative frequencies.
  2. Calculate I=pEfm100I = \frac{pE f_m}{100}.
  3. Find the class in the cumulative frequency column where II lies 2.

📝 The calculation of a percentile involves identifying the correct class interval and using its lower limit, cumulative frequency, and frequency, along with the desired percentile value 2.

1.3 Decile

Deciles are values that divide a dataset into 10 equal parts, resulting in nine deciles for any given dataset. The formula to determine the value at a given decile is 3:

Decile = LLm+[dEfm10−Cm−1]×CImLL_m + \left[\frac{dE f_m}{10} - C_{m-1}\right] \times CI_m 3.

where:

  • mm is the decile class, the class where the ddth decile is located.
  • LLmLL_m is the lower limit of the decile class.
  • Cm−1C_{m-1} is the cumulative frequency of the class preceding the decile class.
  • fmf_m is the frequency of the ddth decile class.
  • CImCI_m is the class interval of the decile class 3.

To identify the location of the mmth class (LLmLL_m):

  1. Calculate cumulative frequencies.
  2. Calculate I=dEfm10I = \frac{dE f_m}{10}.
  3. Find the class in the cumulative frequency column where II lies 3.

1.4 Quartile 1 2 3

Quartiles are values that divide a dataset into 4 equal parts, with three quartiles existing: Q1, Q2, and Q3. The quartile value can be computed using the following formula 4:

Quartile = LLm+[qEfm4−Cm−1]×CImLL_m + \left[\frac{qE f_m}{4} - C_{m-1}\right] \times CI_m 4.

where:

  • mm is the quartile class, the class where the qqth quartile is located.
  • LLmLL_m is the lower limit of the quartile class.
  • Cm−1C_{m-1} is the cumulative frequency of the class preceding the quartile class.
  • fmf_m is the frequency of the qqth quartile class.
  • CImCI_m is the class interval of the quartile class 4.

To identify the location of the mmth class (LLmLL_m):

  1. Calculate cumulative frequencies.
  2. Calculate I=qEfm4I = \frac{qE f_m}{4}.
  3. Find the class in the cumulative frequency column where II lies 4.
Measure of locationDivision of data (equal parts)
Percentile100
Decile10
Quartile4
Median2

2. Exercise 7.1

2.1 Calculating Quartiles, Deciles, and Percentiles

This exercise demonstrates the calculation of the third quartile, eighth decile, and 46th percentile using provided frequency data. The process involves identifying the correct class interval and applying specific formulas based on cumulative frequencies 5 6.

The formulas used for these calculations are:

  • Quartile Formula: Qk=LLm+[kΣfi4−Cm−1]×CImfmQ_k = LL_m + \left[ \frac{k \Sigma f_i}{4} - C_{m-1} \right] \times \frac{CI_m}{f_m}
  • Decile Formula: Dk=LLm+[kΣfi10−Cm−1]×CImfmD_k = LL_m + \left[ \frac{k \Sigma f_i}{10} - C_{m-1} \right] \times \frac{CI_m}{f_m}
  • Percentile Formula: Pk=LLm+[kΣfi100−Cm−1]×CImfmP_k = LL_m + \left[ \frac{k \Sigma f_i}{100} - C_{m-1} \right] \times \frac{CI_m}{f_m}

Where:

  • LLmLL_m is the lower boundary of the mth class.
  • kk is the quartile, decile, or percentile number.
  • Σfi\Sigma f_i is the total frequency.
  • Cm−1C_{m-1} is the cumulative frequency of the class preceding the mth class.
  • CImCI_m is the class interval width.
  • fmf_m is the frequency of the mth class 5 6.

2.2 Third Quartile Calculation

To find the third quartile (Q3Q_3), we first determine the location of the mth class using the formula L=3×Σfi4L = \frac{3 \times \Sigma f_i}{4}. Given a total frequency of 42, the location is L=3×424=31.5L = \frac{3 \times 42}{4} = 31.5. This value falls within the class interval 41-50.

Therefore, LLm=41LL_m = 41, CIm=10CI_m = 10, fm=14f_m = 14, and Cm−1=21C_{m-1} = 21.

Applying the quartile formula: Q3=41+[3×424−21]×1014Q_3 = 41 + \left[ \frac{3 \times 42}{4} - 21 \right] \times \frac{10}{14} $Q_3 = 41 + [31.5 - 21] \t

Cover

Measures of Location (Examples for Grouped Data).pdf

Table of contents

  1. Measures of location: Quartile, decile & percentile calculation in grouped/classified data

1. Measures of location: Quartile, decile & percentile calculation in grouped/classified data

1.1 Calculating quartiles, deciles, and percentiles

To calculate measures of location like quartiles, deciles, and percentiles for grouped or classified data, a specific formula is used. This formula requires identifying the relevant class interval, the lower limit of that class, the cumulative frequency of the preceding class, and the frequency of the class itself.

The general approach involves determining the position of the desired observation within the total dataset and then interpolating within the appropriate class 1 2 3 4 5.

The formula for calculating these measures is:

L+[(N×P/100)−CFf]×CIL + \left[ \frac{(N \times P/100) - CF}{f} \right] \times CI

Where:

  • LL is the lower limit of the class interval.
  • NN is the total number of observations (sum of frequencies).
  • PP is the percentile rank (e.g., 25 for Q1, 70 for D7, 94 for P94).
  • CFCF is the cumulative frequency of the class preceding the target class.
  • ff is the frequency of the target class.
  • CICI is the class interval width 1 2 3 4 5.

1.2 Example 1: Age of students

This example demonstrates the calculation of Quartile-1 (Q1), Decile-7 (D7), and Percentile-94 (P94) using a dataset of student ages. The data is presented in a frequency distribution table, showing age classes and their corresponding frequencies and cumulative frequencies 1.

  • Q1 Calculation: The 120th observation falls within the 25-30 age class. Using the formula, Q1 is calculated as 25.29.
  • D7 Calculation: The 336th observation falls within the 30-35 age class. D7 is calculated as 33.5 1.
  • P94 Calculation: The 451.2th observation falls within the 45-50 age class. P94 is calculated as 45.88 2.

📝 For the time spent to convince a customer, Q3 is calculated as 45 minutes, D3 is 24.56 minutes, and P83 is 51.30 minutes 2.

1.3 Example 2: Time spent to convince customer

This example calculates Quartile-3 (Q3), Decile-3 (D3), and Percentile-83 (P83) for a dataset on the time sales personnel spend convincing customers. The data is structured into time intervals and frequencies 2.

  • Q3 Calculation: The 66th observation is in the 40-50 minute class. Q3 is calculated as 45.
  • D3 Calculation: The 26.4th observation is in the 20-30 minute class. D3 is calculated as 24.56 2.
  • P83 Calculation: The 73.04th observation is in the 50-60 minute class. P83 is calculated as 51.30 3.

1.4 Example 3: Height of male university students

This example calculates the 90th percentile (P90), 7th decile (D7), and 1st quartile (Q1) for the heights of 70 male university students. The data is grouped into height intervals 3 4.

  • P90 Calculation: The 63rd observation falls within the 180-190 cm class. P90 is calculated as 186.67 cm.
  • D7 Calculation: The 49th observation falls within the 170-180 cm class. D7 is calculated as 177.5 cm 3.
  • Q1 Calculation: The 17.5th observation falls within the 160-170 cm class. Q1 is calculated as 166.43 cm 4.

1.5 Example 4: Hgb levels

This example calculates Quartile-2 (Q2), Decile-8 (D8), Percentile-96 (P96), Decile-2 (D2), and Percentile-42 (P42) for a dataset of Hgb levels. The data is presented in frequency and cumulative frequency distributions 5.

  • Q2 Calculation: The 150th observation is in the 11-13 class. Q2 is calculated as 12.
  • D8 Calculation: The 240th observation is in the 13-15 class. D8 is calculated as 13.91.
  • P96 Calculation: The 288th observation is in the 15-17 class. P96 is calculated as 16.
  • D2 Calculation: The 60th observation is in the 9-11 class. D2 is calculated as 9.96.
  • P42 Calculation: The 126th observation is in the 11-13 class. P42 is calculated as 11.6 5.
MeasureFormula ComponentValue
Quartile-1 (Q1)PositionN/4
Decile-7 (D7)Position7N/10
Percentile-94 (P94)Position94N/100
Cover

metode SRP - izpitna vprašanja.pdf

Sampling theory and representativeness

Sampling theory provides the framework for selecting a subset of individuals or units from a larger statistical population to draw reliable conclusions about the entire population, balancing cost constraints with the required quality of results 1 2.

1.1 Definition and purpose of sampling

A sample is defined as a specific number of units chosen from the fundamental statistical population (e.g., 500 people from the entire population of Slovenia) 1. The goal of sampling is to generalize the results obtained from the sample units to the entire population, yielding relatively reliable outcomes 1. For a sample to be useful, the primary population from which it is drawn must be sufficiently large. Observers must be trained and possess complete knowledge of the target population 1.

1.2 Conditions for proper sampling and representativeness

1.2.1 Definition of a representative sample

A sample is considered representative when its elements accurately reflect the entire basic population, possessing all its typical characteristics 1.

1.2.2 Factors influencing sample size

The size of the sample is not strictly defined (it can be large or small); however, larger samples generally lead to more reliable estimates of parameters 1.

Several factors influence the necessary sample size (NN):

  1. Cost and Quality Trade-off: There is a logical compromise between the costs involved and the quality of the estimates desired 13 2.
  2. Population Variability: The more heterogeneous the population, the larger the sample proportion that must be taken. Conversely, for homogeneous populations, a smaller sample proportion is usually taken 13 2.
  3. Risk Tolerance and Confidence: The required degree of risk (or tolerance) and the confidence interval level impact size calculations 13 2.
  4. Available Resources: The budget or means available influence the size that can be achieved 2.
  5. Sampling Method: The specific technique used for selection 19 2.
  6. Purpose of Observation: The specific goals of the study 13.

If the sample size is small, estimates become unreliable, necessitating the use of a Confidence Interval (CI), which depends on the Standard Error of the Estimate (SEx\text{SE}_x). The true parameter value is expected to fall within this CI. Sample size must be calculated for all characteristics for which representativeness is required, and the largest resulting NN is adopted 1 2.

Tip: The relationship between sample size and the standard error is inverse: reducing the SEestimate\text{SE}_{\text{estimate}} by one-half requires quadrupling the sample size (NN) 13.

1.2.3 Sample proportion

The sample proportion is the ratio between the sample size (nn) and the size of the basic population (NN): Sample Proportion=nN\text{Sample Proportion} = \frac{n}{N} For random sampling, this proportion must be defined in advance. If sampling is done with replacement, the sample proportion must be greater than 5 percent. Otherwise (for sampling without replacement or hypothetical populations), proportions up to 10 percent are often considered 13.

1.3 Sampling selection techniques

Sampling techniques are broadly categorized into Purposive (Namensko) and Random (Naključno) sampling 10.

1.3.1 Random sampling methods

Random sampling methods ensure that every sampling unit has an equal probability of being selected, which forms the basis for statistical inference and quality assessment of sample estimates. Methods include 19:

  • Classic Random Sampling (Simple Random Sampling without restrictions): Units are chosen randomly such that any combination of nn units from population NN has an equal chance of selection 10 21.
  • Selection methods involve lotteries, random number tables, or computer generators 19.
  • The sample size (nn) is determined based on the desired Standard Error (SE\text{SE}) and risk level, defining the confidence interval 10.
  • Systematic Sampling (Random Sampling with restrictions): Units are selected according to a fixed system or step (ss) after the first unit is randomly chosen from the first ss units of the population list 10 21.
  • Caveat: This method must not be used if the population exhibits cyclical fluctuations or trends 10 14.
  • Stratified Sampling (Random Sampling with restrictions): Used for heterogeneous populations where a large NN would be too costly 10 13.
  • The population is divided into homogeneous sub-groups (strata) based on a characteristic significantly affec
Cover

MIS - 26_27 - Practice Test Unit 2- Probability.pdf

Table of contents

  1. Practice test unit 2: Conditional probability
  2. Probability

1. Practice test unit 2: Conditional probability

1.1 Survey results and probability calculations

This section presents survey data and asks for probability calculations based on it. The survey asked beach visitors about their ability to swim and their gender.

  • Total surveyed: The total number of people surveyed was 80.
  • Probability of a female who cannot swim: The probability that a randomly selected female visitor cannot swim is 27/80, or 34%.
  • Conditional probability of not swimming given male: The probability that a person cannot swim, given that they are male, is 4/30, or 13% 1.

1.2 Stratified sampling for cafeteria satisfaction

A high school principal wants to survey student satisfaction with the cafeteria. With 1,200 students across four grade levels (300 freshmen, 300 sophomores, 300 juniors, 300 seniors), stratified sampling is the most appropriate technique 2.

  • Justification: Stratified sampling ensures that each grade level, which may have different experiences, is represented in the survey.
  • Within-strata sampling: Simple random sampling or systematic sampling can be used to select students within each grade level to avoid bias 2.

📝 Stratified sampling is appropriate for surveying student satisfaction with the cafeteria because each grade level may have different experiences, ensuring representation from all groups 2.

1.3 Estimating penalty success rate

Alec estimated his penalty-scoring chances by taking 12 penalties. The results showed a relative frequency of success that varied with the number of trials 2.

  • Relative frequency diagram: The diagram shows the experimental probability of scoring a penalty after each trial.
  • Estimated probability: Based on the diagram, Alec's chance of scoring a penalty is estimated to be approximately 64% 2.
  • Improving the estimation: The estimation could be improved by conducting more trials, following the Law of Large Numbers.
  • Comment on ability: Alec generally scores most penalties (64%), but more practice is needed for consistency. Warming up may also improve his success rate 3.

📝 Alec's chance of scoring a penalty is estimated to be approximately 64% based on his performance in 12 trials 2.

1.4 Probability of simultaneous dice rolls

When a regular 6-sided die and a 12-sided die are thrown simultaneously, the total number of possible outcomes is 72 (6 options * 12 options) 3.

  • Successful outcomes: The successful outcomes where both dice land on the same number are (1,1), (2,2), (3,3), (4,4), (5,5), and (6,6). There are 6 such outcomes.
  • Probability of same number: The probability that both dice land on the same number is 6/72, which simplifies to 1/12 or approximately 8.3% 3.

1.5 Expected outcomes from a spinner

A spinner with 10 equally likely sections is spun 30 times. The spinner has 3 sections that are multiples of 3 4.

  • Probability of landing on a multiple of 3: The probability of landing on a multiple of 3 is 3/10, or 0.3.
  • Expected number of times: The expected number of times the spinner will land on a multiple of 3 in 30 spins is calculated as the probability multiplied by the frequency: 0.3×30=90.3 \times 30 = 9 times 4.

1.6 Conditional probability in card games

In a card game, the first 4 cards dealt are hearts. There are 13 hearts in a standard 52-card deck 4.

  • Remaining cards: After 4 hearts are dealt, there are 9 hearts left in the deck.
  • Total remaining cards: The total number of cards remaining in the deck is 48.
  • Probability of fifth card being a heart: The probability that the fifth card dealt is also a heart is 9/48, which simplifies to 3/16 or approximately 18.8% 4.

1.7 Tree diagram for test probability

A tree diagram illustrates the probabilities of students reviewing for a test and their likelihood of passing 4.

  • Probability of reviewing: The probability that a student reviews for the test is 0.8 or 80% 4.
  • Conditional probability of passing without review: The probability that a student passes the test, given they did not review, is 0.25 or 25%.
  • Overall probability of passing: The general probability that any student passes the test is calculated by considering both scenarios: passing after reviewing and passing without reviewing. This is P(pass)=P(review)×P(pass∣review)+P(not review)×P(pass∣not review)P(\text{pass}) = P(\text{review}) \times P(\text{pass}|\text{review}) + P(\text{not review}) \times P(\text{pass}|\text{not review}). Using the provided probabilities, this equals 0.8×0.9+0.2×0.25=0.72+0.05=0.770.8 \times 0.9 + 0.2 \times 0.25 = 0.72 + 0.05 = 0.77, or 77% 5.

1.8 Venn diagram for preferences

A Venn diagram summarizes survey results on preferences for tea and coffe

Cover

Mock exam notes .pdf

Descriptive and inferential statistics

This topic explores the fundamental distinction and applications of descriptive and inferential statistics in data analysis.

1. Descriptive and inferential statistics

Descriptive statistics are used to summarize and describe data, while inferential statistics are used to make conclusions or predictions about a population based on a sample 1 2 3 4 5 6 7.

1.1 Descriptive statistics

Descriptive statistics provide a concise summary of the main features of a dataset. These methods help in understanding the characteristics of the data without making broader generalizations 1 2 3 4 5 6 7.

  • Measures of Central Tendency: These describe the center of the data.
  • Mean: The average of all data points. It is sensitive to outliers 1 2 3 4 5 6 7.
  • Median: The middle value in a sorted dataset. It is less affected by outliers than the mean 1 2 3 4 5 6 7.
    • Mode: The most frequent value in the dataset.
  • Measures of Dispersion: These describe the spread or variability of the data.
    • Range: The difference between the maximum and minimum values.
    • Standard Deviation (SD): A measure of the amount of variation or dispersion of a set of values.
  • Graphical Representations: Various plots and charts are used to visualize data.
  • Graphs, plots, and charts can visually represent data distributions and relationships 1 2 3 4 5 6 7.

1.2 Inferential statistics

Inferential statistics involve using data from a sample to draw conclusions or make predictions about a larger population. This allows researchers to generalize findings beyond the immediate data collected 1 2 3 4 5 6 7.

  • Key Techniques:
  • T-tests: Used to compare the means of two groups 2 3 4 5 6 7.
    • Chi-squared tests: Used for categorical data.
  • Confidence Intervals (CI): Provide a range of values within which the true population parameter is likely to lie 1 2 3 4 5 6 7.
  • Regression Analysis: Used to model the relationship between variables and make predictions 1 2 3 4 5 6 7.
  • Hypothesis Testing: A formal procedure to test a claim about a population parameter using sample data 1 2 3 4 5 6 7.

1.2.1 Estimating population parameters

With a sample mean, standard error, a sample size greater than 30, and assuming normal distribution, one can estimate the population mean 1 2 3 4 5 6 7.

  • 68% certainty: The population mean falls within 1 standard error (SE) of the sample mean 1 2 3 4 5 6 7.
  • 95% certainty: The population mean falls within 2 SE of the sample mean 1 2 3 4 5 6 7.
  • 99.7% certainty: The population mean falls within 3 SE of the sample mean 1 2 3 4 5 6 7.

1.2.2 Correlation

Correlation measures the strength and direction of the linear relationship between two factors 1 2 3 4 5 6 7.

  • Correlation Coefficient (r): Ranges from -1 to +1.
  • r=+1r = +1: Perfect positive linear association 1 2 3 4 5 6 7.
  • r=−1r = -1: Perfect negative linear association 1 2 3 4 5 6 7.
  • Values closer to ±1\pm 1 indicate a stronger relationship, while values closer to 0 indicate a weaker relationship 1 2 3 4 5 6 7.
  • R2R^2: The correlation coefficient squared, indicating the proportion of variation in the dependent variable explained by the independent variable 1 2 3 4 5 6 7.
  • Correlation does not imply causation 1 2 3 4 5 6 7.

1.2.3 Regression

Regression analysis uses the line of best fit to estimate var