Skip to content
Edition NigeriaGlobal
Country

You are in the Nigeria edition. Type your country to switch.

Set up your profile

AI for data analysis: spreadsheets and BI · Lesson 7 of 9

Statistical sanity checks

AI assistants can produce insights faster than anyone can check them. This lesson gives you the sanity checks to apply: mean against median, outliers, correlation against causation, small samples and Simpson's paradox, with a worked example that adds up.

Intermediate10 min read5 steps

This lesson is complete in writing. A video for it is on its way.

What you will learn

  • By the end you can compare a mean with a median to spot skew and outliers.
  • You can explain why a correlation found in data is a question, not a conclusion.
  • You can recognise when a percentage rests on too small a sample to trust.
  • You can work through an example of Simpson's paradox and say why it happens.
  • You can apply a short list of questions to any insight an assistant produces.

Key terms in this lesson

Mean
The sum of a set of values divided by how many values there are. Often just called the average.
Median
The middle value when a set of values is sorted in order. Half the values are above it and half below.
Outlier
A value far away from most of the others in a set, which can distort averages and charts.
Correlation
A measure from -1 to +1 of how closely two investments move together.
Causation
A relationship in which changing one thing changes another. Correlation alone does not show causation.
Spurious correlation
A correlation with no real link behind it, often between two series that simply trend in the same direction or that match by chance.
Sample size
The number of observations, such as trades, in a test. Small samples make it hard to tell a real effect from luck.
Simpson's paradox
A pattern that appears within each of several groups but reverses or disappears when the groups are combined, usually because the groups differ in size or mix.

Step 1 of 5

Mean against median

Opening this step…

Step 2 of 5

Correlation is a question, not an answer

This step opens when you finish the one above.

Step 3 of 5

Small samples, big percentages

This step opens when you finish the one above.

Step 4 of 5

Simpson's paradox: when the total misleads

This step opens when you finish the one above.

Step 5 of 5

Questions to ask of any AI insight

This step opens when you finish the one above.

Key takeaways

The key takeaways open when you finish every step.

Lesson quiz

5 questions. You need 85% to pass.

The quiz opens when you finish every step.

Read first

Stockertim Learn is education. It explains how investing works and never recommends buying or selling anything.

Up next

AI at workData storytellingRead nowData storytellingAI at work · Intermediate · 15 minAI at workPrivacy and reproducible analysisRead nowPrivacy and reproducible analysisAI at work · Intermediate · 15 minAI at workimage models workRead nowHow image models workAI at work · Intermediate · 15 minAI at workPrompting for imagesRead nowPrompting for imagesAI at work · Intermediate · 15 minFinancial journalismWhat financial journalism is and…Read nowWhat financial journalism is and who reads itFinancial journalism · Beginner · 15 minMedia strategy & planningGRPs, TRPs and impressionsRead nowGRPs, TRPs and impressionsMedia strategy & planning · Intermediate · 5 minMarket operationsMargin and risk desks in operati…Read nowMargin and risk desks in operationsMarket operations · Intermediate · 15 minRisk, governance & ethicsEthical decision-making: a step-…Read nowEthical decision-making: a step-by-step frameworkRisk, governance & ethics · Beginner · 15 minNGX & AfricaNGX (Nigerian Exchange)Read nowWhat is the NGX (Nigerian Exchange)?NGX & Africa · Beginner · 15 minFinancial journalismAttribution and quotes: who says…Read nowAttribution and quotes: who says so, and whereFinancial journalism · Beginner · 15 minRisk, governance & ethicsethics matters in businessRead nowWhy ethics matters in businessRisk, governance & ethics · Beginner · 15 minHuman resourcesAI across the employee lifecycleRead nowAI across the employee lifecycleHuman resources · Advanced · 15 min
English