Topics
Track your progress across all skills in your objective. Mark your confidence level and identify areas to focus on.
Track your progress:
Don't know
Working on it
Confident
📖 = included in formula booklet • 🚫 = not in formula booklet
Track your progress:
Don't know
Working on it
Confident
📖 = included in formula booklet • 🚫 = not in formula booklet
Track your progress across all skills in your objective. Mark your confidence level and identify areas to focus on.
Track your progress:
Don't know
Working on it
Confident
📖 = included in formula booklet • 🚫 = not in formula booklet
Track your progress:
Don't know
Working on it
Confident
📖 = included in formula booklet • 🚫 = not in formula booklet
Track your progress across all skills in your objective. Mark your confidence level and identify areas to focus on.
Track your progress:
Don't know
Working on it
Confident
📖 = included in formula booklet • 🚫 = not in formula booklet
Track your progress:
Don't know
Working on it
Confident
📖 = included in formula booklet • 🚫 = not in formula booklet
A population is the entire group of individuals or items you want to study. It can be large (e.g., all IB students worldwide) or small (e.g., a class of 20 students), depending on the research question. For large populations, we often study a portion of the population, or sample, to make inferences about the population.
There are two types of data to be familiar with:
Categorical Variables
Non-numerical categories or labels (e.g., eye color, species, etc).
Quantitative Variables
Numerical values that can be measured or counted.
Discrete: can only take certain fixed values (e.g., number of students, shoe size).
Continuous: can take any value in a range (e.g., height, temperature).
Sampling error occurs when there is a difference between a population parameter (e.g., the average IB grade) and the sample statistic (e.g., the average IB grade at one school) used to estimate it.
This error is random and arises simply because a sample is not the entire population, and will occur even with well-designed sampling methods.
Measurement error is the inaccuracy in the data collection process. This could result from faulty instruments, poorly worded questions, or misunderstanding by participants.
Coverage error occurs when some members of the population are not included in the sampling frame or are underrepresented, leading to a biased sample.
For example, a sample of average IB grades at Swiss schools is unlikely to represent all IB schools worldwide.
Non-response error happens when selected respondents do not participate or cannot be contacted, possibly creating bias if non-respondents differ systematically from respondents.
Random sampling means every member of the population has an equal probability of being chosen. This method reduces selection bias.
Convenience sampling uses subjects who are easiest to reach. It is quick and low-cost but can be highly biased if the sample is not representative.
For example, sampling the heights of trees on the outskirts of a dense jungle.
Systematic sampling involves selecting members at regular intervals from a list or sequence. For example, sampling every 5th student from an alphabetically sorted list of names.
Stratified sampling splits the population into subgroups (strata) based on characteristics (e.g., age, gender). A random sample is then taken from each stratum, often in proportion to its size in the population.
Quota sampling is very similar to stratified sampling, except the sample taken from each subgroup is not random.
Outliers in data are responses that are much higher or lower than the rest of the data. Because they are such unusual pieces of data, we often check whether outlier data points are the result of an error.
If they are the product of some error we may remove outliers, but we should not remove all of them because many are real data points.
The mean of a numerical dataset is the average of all the values:
The mean is also sometimes denoted μ.
The median of a dataset is the middle value when the values are sorted. If a dataset has an even number of values, the median is the average of the middle two.
Mathematically, the median is the
value. Notice that if n is even then 2n+1 is halfway between two consecutive integers, indicating we need to average their values.
The mode of a dataset is the most common value in a dataset.
Range is the difference between a dataset's minimum and maximum values.
Though range may give a sense of the dispersion of a set, outliers will always have a strong effect on range since they pull the minimum or maximum values far from the rest of the data.
Quartiles are conceptually similar to the median, except that there are three of them: Q1,Q2 and Q3, dividing the sorted dataset into 4 equal-size parts.
Q2 is the median, dividing the datapoints in two.
Q1 is halfway between the first value and the median.
Q3 is halfway between the median and the last value.
The interquartile range, denoted IQR, is the difference between the third and first quartile:
A value x in a dataset is said to be an outlier if x<Q1−1.5×IQR or x>Q1+1.5×IQR.
A box-and-whisker plot visually summarizes data by splitting it into quarters. The box shows the middle 50% of your data (from Q1 to Q3), and the line inside marks the median. The whiskers extend to show the spread of data, excluding outliers, which are marked with a cross.
- Minimum: smallest value (left whisker end)
- Lower Quartile (Q1): median of lower half (25% mark)
- Median (Q2): middle value of data set
- Upper Quartile (Q3): median of upper half (75% mark)
- Maximum: largest value (right whisker end)
The variance σ2 of a dataset measures the spread of data around the mean.
The standard deviation σ is the square root of the variance. The advantage of the standard deviation is that is has the same units as the original data.
When you use a calculator to find standard deviation:
Enter your data into L1 using STAT > EDIT. Then, use STAT > CALC > 1-Var Stats and enter L1 as your list by clicking 2ND then 1.
You will see two values: Sx and σx. We use Sx when the data is a sample of a large population, and σx when the data represents the entire population. The difference is due to the fact that a sample will usually have a smaller variance than the population, because there are fewer elements.
If we have a dataset with mean xˉ and standard deviation σ, then if we
add a constant +b to the dataset, the mean increases by b and the standard deviation does not change
scale the values by a, then both the mean and the standard deviation are scaled by a.
Datasets can be represented in frequency tables, with a row containing the values that exist in the data and a row containing the frequency, or number of times each value appears.
The mean of frequency data can be calculated using the formula:
If we take the above
Note that fi is the frequency of the value xi, so n=i=1∑kfi is just the total number of points.
When data is continuous, we cannot have a column per possible value, as there are infinitely many.
Instead, we use a grouped frequency table to break up the data into specific intervals.
If all the intervals have equal size, then the modal class is the interval in which the most values fall.
We can also estimate the mean from grouped data as if it were a discrete frequency table using the mid-interval values, that is the average of the upper and lower bounds of each interval.
Grouped frequency tables can also be turned into histograms (aka bar graph) by drawing rectangles with base corresponding to the intervals, and heights corresponding to the frequency.
Cumulative frequency graphs are a powerful visual representation of continuous data.
The value of y at each point x on the curve represents the number of data points less than x.
We start with a grouped frequency table, and add a row for cumulative frequency, which is the number of items in an interval and all previous (lower) intervals. To plot the diagram, we make a point from each column. The x-coordinates are the upper bound of each interval, and the y-coordinates are the cumulative frequency.
Cumulative frequency diagrams can be used to find medians, quartiles, and percentiles.
In the same way that the first quartile, Q1, is the value greater than a quarter (25%) of data values, the kth percentile is the value greater than k% of the data values.
Q1: 0.25× the max
Median: 0.5× the max
Q3: 0.75× the max
kth percentile: 100k× the max.
Track your progress across all skills in your objective. Mark your confidence level and identify areas to focus on.
Track your progress:
Don't know
Working on it
Confident
📖 = included in formula booklet • 🚫 = not in formula booklet
Track your progress:
Don't know
Working on it
Confident
📖 = included in formula booklet • 🚫 = not in formula booklet
A population is the entire group of individuals or items you want to study. It can be large (e.g., all IB students worldwide) or small (e.g., a class of 20 students), depending on the research question. For large populations, we often study a portion of the population, or sample, to make inferences about the population.
There are two types of data to be familiar with:
Categorical Variables
Non-numerical categories or labels (e.g., eye color, species, etc).
Quantitative Variables
Numerical values that can be measured or counted.
Discrete: can only take certain fixed values (e.g., number of students, shoe size).
Continuous: can take any value in a range (e.g., height, temperature).
Sampling error occurs when there is a difference between a population parameter (e.g., the average IB grade) and the sample statistic (e.g., the average IB grade at one school) used to estimate it.
This error is random and arises simply because a sample is not the entire population, and will occur even with well-designed sampling methods.
Measurement error is the inaccuracy in the data collection process. This could result from faulty instruments, poorly worded questions, or misunderstanding by participants.
Coverage error occurs when some members of the population are not included in the sampling frame or are underrepresented, leading to a biased sample.
For example, a sample of average IB grades at Swiss schools is unlikely to represent all IB schools worldwide.
Non-response error happens when selected respondents do not participate or cannot be contacted, possibly creating bias if non-respondents differ systematically from respondents.
Random sampling means every member of the population has an equal probability of being chosen. This method reduces selection bias.
Convenience sampling uses subjects who are easiest to reach. It is quick and low-cost but can be highly biased if the sample is not representative.
For example, sampling the heights of trees on the outskirts of a dense jungle.
Systematic sampling involves selecting members at regular intervals from a list or sequence. For example, sampling every 5th student from an alphabetically sorted list of names.
Stratified sampling splits the population into subgroups (strata) based on characteristics (e.g., age, gender). A random sample is then taken from each stratum, often in proportion to its size in the population.
Quota sampling is very similar to stratified sampling, except the sample taken from each subgroup is not random.
Outliers in data are responses that are much higher or lower than the rest of the data. Because they are such unusual pieces of data, we often check whether outlier data points are the result of an error.
If they are the product of some error we may remove outliers, but we should not remove all of them because many are real data points.
The mean of a numerical dataset is the average of all the values:
The mean is also sometimes denoted μ.
The median of a dataset is the middle value when the values are sorted. If a dataset has an even number of values, the median is the average of the middle two.
Mathematically, the median is the
value. Notice that if n is even then 2n+1 is halfway between two consecutive integers, indicating we need to average their values.
The mode of a dataset is the most common value in a dataset.
Range is the difference between a dataset's minimum and maximum values.
Though range may give a sense of the dispersion of a set, outliers will always have a strong effect on range since they pull the minimum or maximum values far from the rest of the data.
Quartiles are conceptually similar to the median, except that there are three of them: Q1,Q2 and Q3, dividing the sorted dataset into 4 equal-size parts.
Q2 is the median, dividing the datapoints in two.
Q1 is halfway between the first value and the median.
Q3 is halfway between the median and the last value.
The interquartile range, denoted IQR, is the difference between the third and first quartile:
A value x in a dataset is said to be an outlier if x<Q1−1.5×IQR or x>Q1+1.5×IQR.
A box-and-whisker plot visually summarizes data by splitting it into quarters. The box shows the middle 50% of your data (from Q1 to Q3), and the line inside marks the median. The whiskers extend to show the spread of data, excluding outliers, which are marked with a cross.
- Minimum: smallest value (left whisker end)
- Lower Quartile (Q1): median of lower half (25% mark)
- Median (Q2): middle value of data set
- Upper Quartile (Q3): median of upper half (75% mark)
- Maximum: largest value (right whisker end)
The variance σ2 of a dataset measures the spread of data around the mean.
The standard deviation σ is the square root of the variance. The advantage of the standard deviation is that is has the same units as the original data.
When you use a calculator to find standard deviation:
Enter your data into L1 using STAT > EDIT. Then, use STAT > CALC > 1-Var Stats and enter L1 as your list by clicking 2ND then 1.
You will see two values: Sx and σx. We use Sx when the data is a sample of a large population, and σx when the data represents the entire population. The difference is due to the fact that a sample will usually have a smaller variance than the population, because there are fewer elements.
If we have a dataset with mean xˉ and standard deviation σ, then if we
add a constant +b to the dataset, the mean increases by b and the standard deviation does not change
scale the values by a, then both the mean and the standard deviation are scaled by a.
Datasets can be represented in frequency tables, with a row containing the values that exist in the data and a row containing the frequency, or number of times each value appears.
The mean of frequency data can be calculated using the formula:
If we take the above
Note that fi is the frequency of the value xi, so n=i=1∑kfi is just the total number of points.
When data is continuous, we cannot have a column per possible value, as there are infinitely many.
Instead, we use a grouped frequency table to break up the data into specific intervals.
If all the intervals have equal size, then the modal class is the interval in which the most values fall.
We can also estimate the mean from grouped data as if it were a discrete frequency table using the mid-interval values, that is the average of the upper and lower bounds of each interval.
Grouped frequency tables can also be turned into histograms (aka bar graph) by drawing rectangles with base corresponding to the intervals, and heights corresponding to the frequency.
Cumulative frequency graphs are a powerful visual representation of continuous data.
The value of y at each point x on the curve represents the number of data points less than x.
We start with a grouped frequency table, and add a row for cumulative frequency, which is the number of items in an interval and all previous (lower) intervals. To plot the diagram, we make a point from each column. The x-coordinates are the upper bound of each interval, and the y-coordinates are the cumulative frequency.
Cumulative frequency diagrams can be used to find medians, quartiles, and percentiles.
In the same way that the first quartile, Q1, is the value greater than a quarter (25%) of data values, the kth percentile is the value greater than k% of the data values.
Q1: 0.25× the max
Median: 0.5× the max
Q3: 0.75× the max
kth percentile: 100k× the max.