Blok uses only the cookies needed to run the site and remember your preferences. See our Privacy Policy.
A midterm and a final with open questions, a table you get in the exam, and a calculator you must use. Know the rules before you start.
This guide follows the course exactly as it is organised on Canvas: six modules, twelve lectures. On this site each module is a week. • Module 1: Lectures 1-2 • Module 2: Lectures 3-4 • Module 3: Lectures 5-6 • Module 4: Lectures 7-8 • Module 5: Lectures 9-10 • Module 6: Lectures 11-12
The reader is the main source and everything here uses its notation. The lecture slides add notes and worked examples. The book of Bain & Engelhardt is recommended, not essential.
The first opportunity to pass has two written exams, both with open questions: • Midterm: 2 hours, 30% of the final grade. • Final: 3 hours, 70% of the final grade.
You write out complete solutions, and partial answers earn points.
To pass, both conditions must hold: • the final exam is at least 5.0 • the weighted average of midterm and final is at least 5.5
Grasple quizzes can only help you. Each one counts for 5% of the final grade, but only if it beats your weighted average of midterm and final (and you meet the conditions above). A quiz below your average is ignored.
Grasple scores 9, 7, 8, 6, 5 and 4, and a midterm and final average of 6. What is the final grade?
Only 9, 7 and 8 beat the average of 6, so each counts for 5% and the 6 keeps the remaining 85%.
6.3
The resit is one 3-hour exam with open questions. It stands alone: the midterm, the final and the quizzes no longer count, and the resit is 100% of the grade.
In the exam: • You must use the UvA calculator (Casio FX82-MS 2nd edition, with the UvA logo). No graphic or symbolic calculator. • Exams are in English. A dictionary without notes is allowed. • Scrap paper is not graded.
The midterm is on the first half of the course: past midterms cover Chapter 1, Chapter 2 and Chapter 3 up to the probability generating function and the hypergeometric distribution. The final and the resit can ask anything, and in the past papers they lean on Chapter 3 and Chapter 4.
The exam gives you a sheet. The Tables exam file holds the standard normal table and a table of common distributions with their pdf, support, expectation, variance and mgf (also the last page of the reader). So you do not have to memorise those formulas. You do have to recognise which distribution you are looking at.
The lecturer's advice for the midterm: • Keep a helicopter view. • Work steadily. Do not stay too long on one exercise. • Combinatorics: draw pictures, and think about which situation you are in (replacement or no replacement). • Work neatly. Be precise in defining events, probabilities and variables. • Practise as many exercises as possible.
Always start an exam answer by naming things. "Let be the number of ...; then ". It earns points, and half the time naming the variable is what shows you the method.
Probability goes from a known population to a sample. Inferential statistics goes back from a sample to an unknown population. Descriptive statistics just presents the data.
Two simple definitions: • Probability theory is the study of random phenomena. • Statistics is dedicated to getting information from data.
Statistics splits into two areas, so there are three areas in total. Knowing which one you are in tells you what you may assume.
Organising, summarising and presenting data, from a sample or a population, by means of figures, charts, tables and descriptive measures.
Studying situations where there is no certainty about the outcome. It calculates a probability when the population is well known: all its items, or its distribution and parameters.
Drawing mathematically correct conclusions about (the parameters of) a population, using the observations in one or more random samples. Often just called statistics.
Inferential statistics is the opposite of probability theory. • Probability: the population is known. Question: how likely is this sample? • Inference: a sample is observed. Question: what does it say about the population?
The lecture puts the direction in brackets: • Probability theory: general → specific, population → sample. • Inferential statistics: specific → general, sample → population.
A deck of cards shows the difference. • "What is the probability of three spades in a row from a complete, shuffled deck?" You know the deck. That is probability. • "A friend drew three spades in a row. Is the deck complete?" You do not know the deck. That is inference.
This course: mostly probability theory, with descriptive statistics in Chapter 1. It continues in Probability Theory and Statistics 2. Inferential statistics is addressed in courses 2 and 3, and only makes sense once probability theory is understood.
Inferential statistics: from an observed sample to a statement about the population.
The most important distinction in the chapter: a parameter describes a population, a statistic describes a sample, and they get different symbols.
A set of similar items of interest for a certain research question. It can be actually existing (adult Dutch males) or hypothetical and potentially infinite (all outcomes when throwing a specific die an infinite number of times).
Measurements on the items can also be seen as a population, for example the set of heights of all adult Dutch men.
A descriptive measure of a population: a numerical characteristic that helps define it. For example the average height of all Dutch adult males, or the fraction of rolls of a particular die that give six dots.
A subset of a population, for example ten men selected from the Dutch male population. Its elements are called the observations. It is a random sample if at any stage of sampling there is no preference for any element of the population.
A descriptive measure of a sample. Dutch: steekproefgrootheid.
Population goes with Parameter. Sample goes with Statistic. Parameters usually get Greek letters, statistics Latin ones.
P with P, S with S.
The notation keeps them apart, and you must use it correctly: • for the population mean, for the sample mean • for the population variance, for the sample variance • for the size of the population, for the size of the sample
Why it matters: the formulas for and differ. Before calculating a spread in an exam, ask: is this the whole population, or a sample?
Within an industry in the Netherlands 7 different companies are active, and you have all 7 turnovers. Do you calculate or ?
The 7 companies are all the companies in that industry. Nothing is left out.
: the entire population is investigated.
A statistic: it describes the sample. The average height of all Dutch men would be the parameter.
The type of data decides which techniques are valid. Qualitative data are nominal or ordinal. Quantitative data are discrete or continuous.
A variable is a characteristic of a population or a sample, for example height. The values are its possible observations. The data are the values actually observed.
The type of the variable determines which statistical techniques are valid. So classifying it is the first step, and it is a standard midterm question.
Qualitative (categorical): the values are categories. • Nominal: labels with no logical order. Country of birth, marital status, colour. • Ordinal: labels with a natural order. Strongly disagree, disagree, neutral, agree, strongly agree.
Giving categories numbers does not make them quantitative. With 1 = Netherlands, 2 = Germany, 3 = Japan, the "average country of birth" is meaningless. With 23, 8 and 1034 you would get a different meaningless answer.
Numbers on an ordinal scale only represent rank. The distance between neutral and agree need not equal the distance between agree and strongly agree. Treating ordinal data as quantitative is only acceptable if you have good reason to think the steps have the same magnitude.
Quantitative (numeric by nature, and calculating with them makes sense): • Discrete: a finite or countably infinite set of values, very often integers. Correct answers on a 20-question test, cars through a tunnel per year. • Continuous: any value within a range. Time between two collisions of atoms, height.
Height measured in millimetres is, strictly speaking, discrete because of rounding. Generally we still regard it as continuous.
Quantitative data can also be classified by what the numbers allow: • Interval scale: differences are consistent and meaningful, ratios are not. 12 °C to 17 °C is the same step as 30 °C to 35 °C, but 12 °C is not three times as warm as 4 °C. • Ratio scale: ratios are meaningful too, and zero really means zero. 12 cm is three times as long as 4 cm. Temperature in Kelvin is a ratio scale.
This distinction is not relevant for most statistical techniques, so some books say "interval" for both.
Classify as quantitative-discrete, quantitative-continuous, qualitative-ordinal or qualitative-nominal: (a) number of children in a household (b) weekly closing price of gold (c) size of a soda (small, medium, large) (g) civil service salary scales (5 through 16) (h) country of origin of a product (i) start number of a participant in the Elfstedentocht
(a) A count: quantitative-discrete. (b) Determined with very many decimals: quantitative-continuous. Could also be regarded as discrete because of rounding. (c) Ordered labels: qualitative-ordinal. (g) The scale numbers are ranks: qualitative-ordinal. (h) Labels without order: qualitative-nominal. (i) Identification only: qualitative-nominal. Ordinal if the start number also implies an order.
a discrete, b continuous, c ordinal, g ordinal, h nominal, i nominal.
The lecture's sentence: "At the Olympic Games of 2002, skater with nr 14 finished as first on the 10 km race in 12:58:92." Classify each item.
Olympic Games of 2002: a name, so nominal. Skater nr 14: nominal, in this context the number is a label. First: ordinal, it is a rank. 10 km: nominal in this context, it names the race. 12:58:92: quantitative, on an interval scale.
Only the time is quantitative. The numbers 2002, 14 and 10 are labels here.
A pub owner records temperature (in Celsius) and the number of beers sold on three days. Determine the scale of measurement (quantitative/qualitative; discrete/continuous/nominal/ordinal) of the temperature and of the number of beers sold.
Is it numeric by nature? Yes for both. Then: can it take any value, or only separate values? Temperature can be anything in a range. Beers are counted.
Temperature: quantitative continuous. Number of beers sold: quantitative discrete.
2 points. Name both words for each variable.
Two questions, in this order. Does calculating an average make sense? No → qualitative: is there an order? Yes → quantitative: can you count the values? Then discrete.
Average? Order? Count?
For nominal data you can count, and that is nearly all. The only measure of location is the mode.
Nominal data allow very few techniques. There is no way to define an average. The only measure of location is the mode: the value that occurs most frequently.
Measures summarise data. We are interested in two kinds: • location (central tendency): a typical value, such as mode, median, mean • spread (dispersion): the amount of variability
A sample of 50 people chose their preferred tv-channels: public (P), commercial (C) or international (I). Counting the raw data gives 20 P, 25 C and 5 I. Make the frequency table and find the mode.
Frequency: how often each value occurs. Relative frequency: frequency divided by . • Public: 20, relative frequency 0.40 • Commercial: 25, relative frequency 0.50 • International: 5, relative frequency 0.10
The mode is Commercial, the most frequent item.
Two charts for this table: • Pie chart: each slice's angle is the relative frequency times 360°. Here , , . • Bar chart: one bar per category, with gaps between the bars.
Do not calculate a median for nominal data. It does not exist there: the categories have no order to find a middle in.
You could press the buttons, but the result means nothing: another coding would give a different number.
Order adds the median. It is the first category where the cumulative relative frequency exceeds 0.5.
The same charts work for ordinal data, but a bar chart is more appropriate than a pie chart because it keeps the order.
Two additions, both thanks to the order: • a column with the cumulative relative frequency • the median: the middle-ranked item, which separates the lower half of the data from the higher half
students give their opinion on "Statistics is fun!". strongly disagree 3, disagree 1, neutral 3, agree 4, strongly agree 5. Find the mode and the median.
Cumulative relative frequencies, by summing from the top: • strongly disagree: 0.1875 • disagree: 0.25 • neutral: 0.4375 • agree: 0.6875 • strongly agree: 1
Mode: the largest frequency is 5. Median: the first category where the cumulative relative frequency exceeds 0.5.
Mode: strongly agree. Median: agree.
1000 customers rate a magazine: very uninteresting 70, uninteresting 215, neutral 375, interesting 210, very interesting 130. Add the cumulative relative frequencies and find the mode, the median and the mean.
Cumulative relative frequencies: 0.070, 0.285, 0.660, 0.870, 1.000. Mode: the largest count is 375. Median: 0.660 is the first value above 0.5. Mean: the variable is ordinal, so a mean is not meaningful.
Mode neutral, median neutral, and the mean is not a meaningful measure here.
A trap in that question: it asks for the mean, and the right answer is that there is none. Do not code the categories 1 to 5 and average them.
Median of ordered categories: walk down the cumulative column and stop at the first value above 0.5.
Continuous data must be grouped into classes first. Keep the limits simple and the widths equal.
With continuous data, or discrete data with many values, there is no longer one obvious way to make categories. We choose classes, and the goal is a table that is easy to interpret.
Guidelines, not rules: • Keep class limits simple: 50 to 60 kg, 60 to 70 kg. • Use equal widths where you can. The exception is when that gives classes with almost no observations. • More data can have more classes, but not so many that the table becomes hard to read.
The reader's running example: the weights of people, from 52.1 kg to 107.7 kg, in six classes of width 10 kg. The columns are midpoint , frequency , relative frequency and cumulative relative frequency . • 50-60: , , , • 60-70: , , , • 70-80: , , , • 80-90: , , , • 90-100: , , , • 100-110: , , ,
Rounded data move the limits. With infinite precision no one weighs exactly 60 kg, so it is always clear where an observation belongs. But if weights are rounded to whole kilograms, a measured 60 kg could be anything from 59.5 to 60.5.
So classes "50 - 59" and "60 - 69" really mean 49.5 to 59.5 and 59.5 to 69.5. The midpoints become 54.5, 64.5, and so on.
A sample of 20 car dealers records the number of cars sold in a week. Classes: 0-3 (4 dealers), 4-7 (3), 8-11 (8), 12-15 (5). Find, as well as possible, the mode, the median and the mean. What can you infer about the skewness?
The data are counts in classes with gaps: nothing lies between 3 and 4. So the true class limits are 3.5, 7.5, 11.5. The midpoints are 1.5, 5.5, 9.5, 13.5. The lower limit of the median's class is 7.5, not 8.
Modal class 8-11, so the mode is its midpoint: . Mean, with the midpoints as observations:
See a gap between classes (3 then 4)? The real boundary is halfway: 3.5.
With unequal class widths the vertical axis must be density. Then area is relative frequency and the total area is 1.
For quantitative data we draw histograms: columns without gaps. On the vertical axis you can put the frequency or the relative frequency. That choice changes the numbers on the axis but not the shape.
A problem appears when you split a column. Split 70-80 kg (72 people) into 70-75 (32) and 75-80 (40). Each new column is lower, because the people are shared out, so the shape changes greatly. That is unsatisfactory.
Dividing by the width compensates for the narrower class.
Now the area of each column is its relative frequency: base × height = width × (relative frequency ÷ width) = relative frequency.
So the total area of the columns is exactly 1.
Relative frequency on the vertical axis. Only honest when every class has the same width: split a class and watch its columns collapse.
The reader's weight data. Switch between relative frequency and frequency density, then split the class 70-80 into 70-75 and 75-80. With density the outline stays honest and the area stays 1.
The rule: whenever a frequency table has unequal class widths, use densities on the vertical axis instead of the frequencies themselves.
It also changes which class is modal. Compare classes by height, so by density, not by count. The midterm of 2025 tests this directly.
A table gives the hours per week a sample of adults spend on social media. Classes and frequencies: 0-5: 3; 5-10: 10; 10-15: 15; 15-19: 13; 19-24: 8; 24-27: 2. Find the mode (exact).
The classes do not have equal width: 15-19 and 24-27 are narrower. So you cannot just pick the largest frequency, which would be the 15 in 10-15. Work out the densities.
Because the class widths are unequal, consider the frequency density: • 0-5: • 5-10: • 10-15: • 15-19: • 19-24: • 24-27:
A density histogram of hours per day on social media has density (in % per hour) 10 on 0-2, 20 on 2-4, unknown on 4-6, and 5 on 6-10. How high must the bar over 4-6 be so that the total area under the histogram equals 100%?
Area is width times height, and the areas add up to 100%. Careful with the last class: its width is 4, not 2.
Areas: , , . These add to 80, so the bar over 4-6 must have area 20.
Unequal widths? Divide. Area is what is real, height is just area over width.
Area is real.
, so 20%.
Look at location, spread, symmetry and outliers. In a skewed distribution the mean is pulled towards the tail.
Just looking at the shape tells you a lot: • Bell shape: symmetric and uni-modal. • Symmetric, bi-modal: two peaks. • Skewed to the right (positively skewed): a long tail to the right, income for example. • Skewed to the left (negatively skewed): a long tail to the left.
When you look at a histogram, watch: the centre of location, the spread, skewness versus symmetry, unimodal versus bi- or multi-modal, outliers, and other remarkable features.
Mean versus median: • symmetric: = median • skewed to the right: > median • skewed to the left: < median
Symmetric and uni-modal: the mean and the median coincide.
The four shapes of the reader, with mean and median marked. Choose a shape and see which way the tail pulls the mean.
Why: the mean uses every value, so a long tail drags it along. The median only cares about the middle position.
Ten people in a bar earn about 40,000 euros. A billionaire walks in. The mean income explodes, the median hardly moves. Nobody got richer.
The mean runs after the tail. Long tail on the right: mean is to the right of the median.
The mean chases the tail.
For a distribution that is skewed to the left, is the median bigger than the mean, or smaller, or equal to the mean?
Skewed to the left means a long tail to the left. The mean chases the tail, so the mean is on the left.
The small values in the left tail pull the mean down, while the median stays at the middle position.
Reader problem, no marks. Official answer: the median is larger than the mean.
The output for the duration of talks (in seconds) at a service desk, , reads: mean 197.123, standard deviation 342.567, median 104.890, first quartile 55.234, third quartile 200.456. (a) Is the mean or the median more appropriate as a measure of central location? (b) Is the IQR or the standard deviation more appropriate as a measure of spread?
Compare mean and median first. 197 is far above 105, and the mean is almost at . That screams skewed to the right with large outliers.
(a) The median, since there are large outliers: the data are skewed to the right ( median). (b) IQR . The IQR is more appropriate since it is robust to outliers.
Plot cumulative relative frequency against upper class limits, and any percentile can be read off, or calculated exactly by interpolation.
A graph of the cumulative frequency or cumulative relative frequency for each class, also called a cumulative relative frequency polygon. Plot points with x-coordinate the upper class limit and y-coordinate the cumulative (relative) frequency.
To estimate the median, go across from 0.50 to the ogive and drop a vertical line. The same works for any percentile, and in the exam you calculate it with linear interpolation, because the ogive is straight within a class.
is the lower limit of the class where the target falls.
Go across from k% to the polygon, then down. That walk is the interpolation: lower limit + (target − cum. below) ÷ (cum. above − cum. below) × class width.
The reader's weight data. Set to 75 for the third quartile, 86.25 kg. Set it to 25 for 70.28 kg and to 50 for the median.
60% of all individuals weigh less than 80 kg, and 84% less than 90 kg. Find the 75th percentile, and the first quartile.
The target 75% lies between 60% and 84%, so the class is 80 to 90:
The lecture adds the median of the same table: kg. It draws each calculation as a small right triangle on the ogive: similar triangles are all interpolation is.
Sketch the small triangle in the margin. Corners at the two class limits, target on the side. It makes it almost impossible to swap the numbers.
Number of adopted children by age: 0-3 years 830; 3-5: 297; 5-7: 83; 7-10: 46; 10-18: 112. Total 1368. Find the third quartile.
Target: 0.75. Cumulative relative frequency: at 3 years, at 5 years. So is between 3 and 5.
The notation every formula in this course uses. Five rules are enough.
The sum sign is shorthand. The index runs from the lower number to the upper number, and you add one term for each value.
Evaluate and .
Three rules you use constantly: • A constant factor comes out: • A constant term becomes copies: • A sum of products multiplies pair by pair:
And the one that powers most proofs in this chapter:
It is just the definition of multiplied by .
is not , and is not . Try : the first is 5, the second is 9.
The product sign works the same way: . Two facts from the appendix: • •
Three typical values. The mean uses all the data but is sensitive to outliers. The median is robust. The mode is sometimes all you have.
The sample mean and the population mean: the sum of all observations divided by the number of observations.
Median: the number separating the lower half of the data from the upper half. • odd: the middle value • even: the mean of the two middlemost values
What is the median of 1, 2, 3, 4, 5 and 6?
By the definition, any number from 3 to 4 could be the median. It makes sense to take the middle of that range.
3.5
Mode: the most frequent value. For grouped data use the modal class, and take the mode as its midpoint.
Expenditure per customer in euros, : 33, 27, 16, 121, 60, 4, 268, 22, 78, 11. Find the mean, the median and the mode.
Order first: 4, 11, 16, 22, 27, 33, 60, 78, 121, 268.
How they compare: • Mean: efficient use of data and theoretically convenient. Sensitive to outliers: typing €780 instead of €78 gives a very different mean. Not applicable to nominal and ordinal data. • Median: less efficient, because not all information in the sample is used. Less sensitive to outliers. Also applicable to ordinal data, not to nominal. • Mode: not used often. Sometimes the only measure available, as with nominal data.
Drag the largest observation. The mean and the standard deviation chase it. The median and the box hardly move. The green tick under the box is the mean; the dots along the bottom are the observations.
The lecture's expenditure data. Drag the largest observation down from 268 to 121, or up to 780 to mimic a typing error. Watch the mean move while the median stays at 30.
Comparing the mean with the median, which of the two is more sensitive to outliers or errors when entering the data? Which measure makes more efficient use of the available data?
The mean adds up every value, so one wrong value changes it. The median only looks at the middle.
The mean is more sensitive to outliers than the median, but it makes use of all available information.
Reader problem, no marks.
Other means exist, such as the geometric and the harmonic mean. The reader pays no attention to them. Lecture 2 does show the geometric mean, see that topic.
The kth percentile splits off the smallest k percent. Two calculation methods are accepted: interpolation on the cumulative frequencies, and the location rule.
The th percentile separates the % smallest data from the % largest. The 95th percentile is a number such that at most 95% of the observations are less than it and at most 5% are greater.
Names to know: • 25th percentile = first quartile • 50th percentile = second quartile = median • 75th percentile = third quartile
The -quantile, with between 0 and 1, generalises this: a proportion of all observations is smaller than or equal to it. The 95th percentile is the 0.95-quantile and the median is the 0.5-quantile.
A percentile is often not fully determined by the description, so we use an interpolation method. Several exist, and they give slightly different results. The larger the data set, the smaller the difference.
The location rule for raw data. Order the data. The th percentile sits at position
If that is not a whole number, interpolate between the two neighbouring observations.
Ordered expenditures: 4, 11, 16, 22, 27, 33, 60, 78, 121, 268. Find , and .
: three quarters of the way from the 2nd to the 3rd value.
The two methods meet in the exam. For grouped data, the official solutions accept both. • Method I: interpolate on the cumulative relative frequency, as on the ogive. • Method II: the location , then interpolate on the cumulative counts.
Hours on social media per week, : classes 0-5: 3; 5-10: 10; 10-15: 15; 15-19: 13; 19-24: 8; 24-27: 2. Find the 30th percentile (2 decimals).
Build the cumulative column first: 3, 13, 28, 41, 49, 51. Then find where 30% lands. is below 0.30 and is above, so the class is 10-15.
Method I:
A density histogram (in % per hour): 0-2: 10; 2-4: 20; 4-6: 10; 6-10: 5. Find the 37th percentile.
Turn densities into areas: 20%, 40%, 20%, 20%. Cumulatively: 20%, 60%, 80%, 100%. So 37% is inside 2-4, and you need 17 of that class's 40 percentage points.
The cumulative table tells you which class. Do not interpolate from the class where the frequency happens to be biggest.
The variance averages squared distances from the mean. Divide by n − 1 for a sample and by N for a population, and use the shortcut formula to save work.
Measures of spread describe the variability in the data. The simplest is the range: the largest minus the smallest value.
Sample variance and population variance. Note the different denominators.
Read the formula as a recipe: • take each observation's distance from the mean • square it • add them up • divide
The variance can never be negative. It is 0 only if all observations are exactly the same. The further an observation lies from the mean, the more it contributes.
The two sample formulas are equal
Calculate the sample variance of the lengths (in cm) 6, 10, 3, 4, 6.
. First formula:
The unit is squared: cm × cm. In millimetres the same data have variance 720 mm², 100 times as large. So the size of a variance is hard to interpret.
The sample standard deviation for those lengths?
2.683 cm, which is 26.83 mm.
Number of filled teeth of 12 randomly selected Dutch people: 3, 0, 11, 6, 6, 3, 8, 1, 0, 7, 2, 13. Calculate the mean, the variance using two formulas, the standard deviation and the range.
. First formula: , so . Second formula: , so . . Range: .
Turnover in millions of euros of all 7 companies in an industry: 12, 39, 24, 92, 32, 6, 51. Calculate the average and the standard deviation.
This is the whole population, so divide by . . , so
Expenditures 4, 11, 16, 22, 27, 33, 60, 78, 121, 268. The mean is 64. Find the range, the variance and the standard deviation.
Range: .
On the UvA calculator the shortcut formula is faster and safer. Sum the squares once, then subtract . Keep unrounded or the subtraction loses accuracy.
Sample: , and inside the bracket. Population: , and outside the fraction. These two are easy to mix up.
Show by writing it out that . What do you compute with this formula?
For a bell shape, 68% lies within one standard deviation and 95% within two. The variation coefficient removes the unit, and the IQR ignores the tails.
Because the standard deviation has the same unit as the data, we can make statements with it. When a histogram is approximately bell-shaped, by approximation: • about 68% of observations lie in • about 95% lie in • more than 99% lie in
The same holds with and .
These percentages come directly from the standard normal distribution, as you will see in Lecture 10. For shapes that are not bell-shaped they do not apply. Chebyshev's inequality in Lecture 6 then still gives a statement.
Expenditures 4, 11, 16, 22, 27, 33, 60, 78, 121, 268 have and . Does the 68% rule hold?
and . 9 of the 10 observations lie in this interval, so 90%.
Check the shape before you quote 68-95-99. It is not a law of nature, it is a property of bell-shaped data.
It lets you compare spread between quantities with different units. For the expenditures: .
Show by writing it out that . What do you compute with this formula?
: the difference between the third and the first quartile. It is the length of the interval containing the centre 50% of the observations, and it is less sensitive to extreme values than the range or .
You know , and of a data set: mean 197.123, standard deviation 342.567, . Compute (round off to an integer).
The sample mean is the value that minimises the sum of squares, so using it makes the sum too small. Dividing by a smaller number makes up for that.
The reason for the different denominators only becomes really clear in Probability Theory and Statistics 2. For now it is enough to know that defined this way gives the best possible estimate of the population variance.
We usually cannot study the whole population, so the only way to estimate is from a sample.
Two properties of the sample mean explain the idea. • The sum of deviations around the mean is always zero: . • is the value for which is smallest.
Given a sample . Compute the value of for which the sum achieves a minimum.
Now the argument for . We would like to measure deviations from the population mean, , but is simply unknown. So we use instead.
Since minimises the sum,
An everyday version. Shoot five arrows, then draw the target around them, right in the middle of your own arrows. Your arrows now look closer to the bull's-eye than they really were. Dividing by corrects for having drawn the target afterwards.
Let be a random variable and define . Find the value of such that is minimised.
The same problem as the sample version, one level up: expand, use that of a constant is that constant, and find the bottom of a parabola.
Median: is 0.35 at 7.5 and 0.75 at 11.5.
median, so the distribution seems to be skewed to the left.
Q&A question with no published marks. Answers: mode 9.5, median 9, mean 8.3, skewed to the left.
The modal class is the class with the highest density: 15-19. The mode is the middle of the modal class.
Part of 8 points (with the 30th percentile). Official answer: modal class 15-19, mode 17.
Part of 5 points (with the 37th percentile). The height is 10% per hour.
Q&A question, no published marks.
For 25%: 24% is below 70 and 60% is below 80, so the class is 70 to 80:
kg, kg.
Q&A question, no published marks. years. Part (a) asks for a histogram: the classes are unequal, so use frequency density.
10 and 25.
is even, so the median averages the 5th and 6th values: . Every value appears once.
Mean 64 euros, median 30 euros, and no mode in this example.
: . :
, , .
Method II: , and
Part of 8 points. The official solution lists both 10.77 and 10.87.
Part of 5 points. Derived here from the question's numbers.
The alternative formulas. Often fewer calculations, because you do not have to work out each difference.
Second formula:
cm², and both formulas agree.
The standard deviation has the same unit as the data.
Mean 5, variance 18, standard deviation 4.243, range 13.
and .
Range €264, €², €80.20.
Same three moves as the sample proof: expand the square, pull out the constant , use .
This computes the population variance .
7 points, including naming what is computed.
No. The rule needs a bell shape, and this histogram is skewed to the right.
The variation coefficient: a unitless measure of spread, not widely used in practice.
The denominators and the square roots are already the same. So this is only the proof that the two forms of agree, with decoration.
Expand: , and gives . The expression is , the sample variation coefficient of .
Q&A question, no published marks.
You have and want the sum of squares. Which formula has in it? The shortcut formula. Rearrange it.
Q&A question, no published marks. Answer: about 12,379,418.
It is a function of , so treat it as calculus: write it out, differentiate with respect to , set to 0, and then show it really is a minimum.
Define . Then , and gives . is a valley parabola because , so it attains a minimum at .
5 points. Official answer . State why it is a minimum: the valley parabola, or the sign change of .
Our sum is too small, so it is reasonable to divide it by a number smaller than .
. This is a valley parabola, with minimum at . Or: at , changing sign from negative to positive.
4 points. Answer: . It uses Lecture 5's expected value, so come back to it then.