| Univariate asks | Bivariate asks |
|---|---|
| What share of children are underweight? | Does it differ by wealth quintile? |
| What is median household income? | Does it differ between migrant and non-migrant households? |
| How many women completed secondary school? | Is completion linked to age at marriage? |
| Level | Answers | Typical tool |
|---|---|---|
| Univariate | What is typical, how spread out | Mean, median, histogram |
| Bivariate | Do these two move together | Cross-tab, scatter, r, t-test |
| Multivariate | Does it hold once other things are held constant | Multiple regression |
| Question | What answers it | What does not |
|---|---|---|
| Which way does it go? | The sign of r; the direction of the difference | A p-value |
| How strong is the pattern? | The size of r; how far apart the group means are | Significance alone |
| How big is the effect? | The slope, in real units | r, which is unitless |
| Could it be chance? | The p-value or the confidence interval | The size of r |
| Also called | Role |
|---|---|
| Explanatory, independent, predictor, X | The thing you think does the explaining |
| Response, dependent, outcome, Y | The thing you are trying to account for |
| Programme question | Variable pair | Method |
|---|---|---|
| Do poorer households use the service less? | Wealth quintile × used/not | Cross-tab, chi-square |
| Do trained farmers get higher yields? | Trained/not × yield | Difference in means, t-test |
| Does distance predict attendance? | Km × days attended | Scatter, correlation, regression |
| Do outcomes differ across five blocks? | Block × score | ANOVA, then pairwise |
| Bivariate analysis can show | It cannot show |
|---|---|
| That two things move together | That one causes the other |
| Where to look next | What to conclude |
| That a difference is bigger than noise | That the difference is due to your programme |
| A pattern worth explaining | The explanation |
| Section | Method it gives you |
|---|---|
| 2–3 · Choosing and cross-tabs | Pick a method from variable types; read a contingency table |
| 4 · Visualising | Scatter, box plot, grouped bars — and when each lies |
| 5 · Correlation | Pearson, Spearman, and what r is not |
| 6–7 · Comparing groups | t-test, ANOVA, effect size |
| 8–9 · Chi-square, regression | Association between categories; a line and its slope |
| 10–11 · Pitfalls and reporting | What to check, and how to write it honestly |
| Variable | Type | Note |
|---|---|---|
| District, caste, sex | Categorical (nominal) | No order |
| Wealth quintile, Likert scale | Categorical (ordinal) | Ordered, unequal gaps |
| Age, income, yield | Numeric (continuous) | Ratios meaningful |
| Number of children | Numeric (count) | Discrete; often skewed |
| Used the service (yes/no) | Categorical (binary) | The commonest outcome in our work |
| X type | Y type | Describe with | Test with |
|---|---|---|---|
| Categorical | Categorical | Cross-tab, % & bars | Chi-square test |
| Categorical (2 groups) | Numeric | Group means, box plots | t-test |
| Categorical (3+ groups) | Numeric | Group means, box plots | One-way ANOVA |
| Numeric | Numeric | Scatter plot | Correlation / regression |
| X | Y | Start with |
|---|---|---|
| Categorical | Categorical | Cross-tab with row %; chi-square |
| Categorical (2 groups) | Numeric | Box plots; difference in means; t-test |
| Categorical (3+ groups) | Numeric | Box plots; ANOVA, then pairwise |
| Numeric | Numeric | Scatter; correlation; simple regression |
| Numeric | Binary | Beyond this deck — logistic regression |
| Question | Cross-tab of |
|---|---|
| Do SC/ST households use the scheme less? | Social group × used/not |
| Is dropout linked to sex? | Sex × enrolled/dropped |
| Does facility delivery vary by wealth? | Wealth quintile × place of delivery |
| Is complaint type linked to block? | Block × complaint category |
| Report | Why |
|---|---|
| The mean or median for each group | The quantity anyone actually wants |
| N per group | Small groups produce unstable means |
| Spread within each group | Two groups can differ in variability, not level |
| The difference, in units | “3.2 kg lower” beats “significantly lower” |
| Step | What you are looking for |
|---|---|
| Plot the scatter | Shape: line, curve, clusters, nothing |
| Look for outliers | Points far from the cloud, which will dominate any fit |
| Compute r | Only if the shape is roughly linear |
| Fit a line, if the question needs a rate | Slope in real units, with its uncertainty |
| Wrong order | Right order |
|---|---|
| “Let us run a regression” | “What are we trying to find out?” |
| Method chosen for familiarity | Method chosen by variable types |
| Recode a variable so the test runs | Choose the test that fits the variable |
| Report whatever the software printed | Report what answers the question |
| A contingency table shows | Report alongside |
|---|---|
| Counts in each combination of categories | Row or column percentages |
| Row and column totals (marginals) | The total N |
| Where cells are unexpectedly full or empty | Any cell with fewer than five cases |
| Has toilet | No toilet | Total | |
|---|---|---|---|
| Rural | 320 | 280 | 600 |
| Urban | 340 | 60 | 400 |
| Total | 660 | 340 | 1,000 |
| Raw count comparison | Why it misleads |
|---|---|
| “More non-users are rural” | Most of the population is rural |
| “Most dropouts are boys” | There may be more boys enrolled |
| “This block has the most cases” | It also has the most people |
| Has toilet | No toilet | Row total | |
|---|---|---|---|
| Rural | 53% | 47% | 100% |
| Urban | 85% | 15% | 100% |
| Has toilet | No toilet | |
|---|---|---|
| Rural | 48% | 82% |
| Urban | 52% | 18% |
| Column total | 100% | 100% |
| If your question is | Percentage within |
|---|---|
| “Do rural households use it less than urban?” | Location — so each location sums to 100 |
| “Among users, how many are rural?” | Use status — so users sum to 100 |
| “Does uptake differ by wealth?” | Wealth quintile |
| Way to express a 2×2 difference | Example |
|---|---|
| Percentage-point difference | 62% vs 48% — a gap of 14 points |
| Ratio of proportions | 62/48 = 1.3 times as likely |
| Relative change | 29% higher |
| The plot reveals | The statistic hides it |
|---|---|
| A curve rather than a line | r near zero suggests “no relationship” |
| One extreme point driving everything | r looks strong |
| Two distinct clusters | A line is fitted through empty space |
| A ceiling or floor in the data | The fit is distorted at the ends |
| Variable pair | Best plot | Shows |
|---|---|---|
| Numeric × numeric | Scatter plot | Direction, strength, shape |
| Categorical × numeric | Box plot by group | Spread & median per group |
| Categorical × numeric | Grouped / clustered bars | Mean per group |
| Categorical × categorical | Stacked / grouped bars | Shares within groups |
| Pair | Plot | Avoid |
|---|---|---|
| Numeric × numeric | Scatter | Two lines on one time axis |
| Categorical × numeric | Box plot; strip plot for small N | A bar of means with no spread |
| Categorical × categorical | Grouped or stacked bars | Pies, especially several |
| Ordered category × numeric | Box plots in order | Alphabetical ordering |
| When reading a scatter, ask | Because |
|---|---|
| Is the pattern linear? | Everything that follows assumes it |
| How tight is the cloud? | That is strength, and it is visible |
| Are there points far from the rest? | They will dominate any fitted line |
| Does the spread change along X? | Fanning out breaks a standard assumption |
| What is the unit — person, village, district? | Decides what the pattern can be about |
| The box plot shows | What that tells you |
|---|---|
| The median line | The typical value — robust to skew |
| The box (Q1 to Q3) | Where the middle half sits |
| The whiskers | The bulk of the range, by a stated rule |
| Points beyond them | Candidates for investigation, not deletion |
| Box width, if drawn to scale | Relative group size |
| Rule | Bivariate-specific version |
|---|---|
| Axis from zero, or say why not | Truncating a Y-axis exaggerates a group gap |
| Label units | “Score” on what scale, out of what? |
| Show N | Per group, not just overall |
| Order categories meaningfully | By value or by natural order, never alphabetically |
| Do not imply causation in the title | “Yields by training status”, not “Training raises yields” |
| r tells you | r does not tell you |
|---|---|
| Direction of a linear association | Which variable causes which |
| How tightly points follow a line | How steep that line is |
| A property of this sample | Anything about an individual case |
| Nothing about units | The size of the effect in real terms |
| Pearson’s r assumes | Broken when |
|---|---|
| Both variables are numeric | One is an ordinal scale |
| The relationship is linear | The pattern curves or plateaus |
| No extreme outliers | One district is far from the rest |
| Roughly symmetric distributions | Income, landholding, firm size |
| |r| | Rough strength | What the scatter looks like |
|---|---|---|
| 0.0 – 0.1 | Negligible | Shapeless cloud |
| 0.1 – 0.3 | Weak | Faint tilt |
| 0.3 – 0.5 | Moderate | Clear tilt, wide scatter |
| 0.5 – 0.7 | Strong | Tight tilt |
| 0.7 – 1.0 | Very strong | Near a straight line |
| |r| | Loosely | Caveat |
|---|---|---|
| 0.0–0.2 | Negligible to weak | These bands are conventions, not facts. What counts as strong depends entirely on the field: an r of 0.3 is large in social data and trivial in a physical measurement |
| 0.2–0.4 | Weak to moderate | |
| 0.4–0.7 | Moderate to strong | |
| 0.7–1.0 | Strong to very strong |
| Use Spearman when | Because |
|---|---|
| A variable is ordinal | Ranks are all the variable actually carries |
| The data is heavily skewed | Ranking removes the influence of the long tail |
| There are extreme outliers | An outlier becomes just the top rank |
| The relationship is monotonic but curved | Spearman detects consistent direction without linearity |
| Pearson r | Spearman ρ | |
|---|---|---|
| Measures | Linear association | Monotonic (rank) association |
| Best data | Numeric, roughly symmetric | Ordinal or skewed numeric |
| Outlier-sensitive? | Yes — one point can swing it | No — uses ranks |
| Range | −1 to +1 | −1 to +1 |
| If they agree | If they differ substantially |
|---|---|
| The relationship is roughly linear and outlier-free | Look for an outlier, a curve, or heavy skew |
| Report either; say which | Report Spearman, and explain why |
| Nothing further needed | The disagreement is itself worth a sentence |
| Situation | r | p | Reading |
|---|---|---|---|
| N = 20,000 | 0.03 | Tiny | Real, and far too small to matter |
| N = 25 | 0.55 | Not significant | Possibly important; sample too small to tell |
| N = 400 | 0.42 | Small | The useful case |
| r | r² | Shared variation |
|---|---|---|
| 0.3 | 0.09 | 9% |
| 0.5 | 0.25 | 25% |
| 0.7 | 0.49 | 49% |
| 0.9 | 0.81 | 81% |
| Before comparing two groups, check | Why |
|---|---|
| How the groups were formed | Self-selected groups differ in more than the label |
| N in each | An unbalanced comparison is dominated by the small group’s noise |
| The distribution in each | Skew or bimodality makes a mean the wrong summary |
| Whether observations are independent | Households within a village are not |
| Component | Effect on the t statistic |
|---|---|
| Larger difference between means | Larger t — more signal |
| Larger spread within groups | Smaller t — more noise |
| Larger sample | Larger t — the noise estimate tightens |
| Makes a gap convincing | In practice |
|---|---|
| A big gap | The part you cannot control |
| Low variability within groups | Better measurement; more homogeneous comparison |
| A large sample | The part you can plan for, at design stage |
| A p-value is | A p-value is not |
|---|---|
| The probability of data this extreme if there were no real difference | The probability that there is no difference |
| A statement about the data, given a hypothesis | A statement about the hypothesis, given the data |
| Sensitive to sample size | A measure of importance |
| Compared to a threshold someone chose | A natural boundary at 0.05 |
| Way to state the size | Example |
|---|---|
| Raw difference in units | “0.4 kg heavier on average” |
| With a confidence interval | “0.4 kg (95% CI 0.1 to 0.7)” |
| Standardised (Cohen’s d) | “d = 0.3” — for comparing across studies |
| In programme terms | “About one additional child per 20 households” |
| Case | What to write |
|---|---|
| Significant, tiny | “A difference of 0.2 points, statistically detectable and too small to act on” |
| Large, not significant | “A gap of 8 points that this sample cannot confirm; worth a larger study” |
| Large and significant | The straightforward case — report both numbers |
| Small and not significant | “No evidence of a difference” — not “no difference” |
| Assumption | Check | If broken |
|---|---|---|
| Independent observations | How was the sample drawn? | Account for clustering |
| Roughly normal, or large N | Histogram per group | Mann–Whitney, or transform |
| Similar spread in both groups | Box plots side by side | Welch’s t-test — often the better default |
| No extreme outliers | Look at the plot | Investigate before deciding |
| Why not just run many t-tests? |
|---|
| Five groups gives ten pairwise comparisons |
| Each carries its own chance of a false positive |
| At 5% each, the chance of at least one false positive is around 40% |
| So “one pair differed” means very little without adjustment |
| ANOVA answers | It does not answer |
|---|---|
| Is there a difference somewhere among the groups? | Which groups differ |
| At a controlled overall error rate | By how much |
| Under stated assumptions | Whether the difference matters |
| Source of variation | What it captures |
|---|---|
| Between groups | How far the group means sit from the overall mean |
| Within groups | How much individuals vary around their own group’s mean |
| F = between ÷ within | Large when the groups are far apart relative to internal spread |
| After a significant ANOVA | Why |
|---|---|
| Run a post-hoc test (Tukey, Bonferroni) | Adjusts for the many comparisons you are about to make |
| Report every group mean with its interval | The pattern matters, not just the significant pair |
| Say how many comparisons were made | A reader cannot judge otherwise |
| Look at the ordering | A monotonic gradient across quintiles is a stronger finding than one odd pair |
| Assumption | If broken |
|---|---|
| Independent observations | Account for clustering; ANOVA cannot fix it |
| Roughly normal within groups | Kruskal–Wallis, the rank-based alternative |
| Similar spread across groups | Welch’s ANOVA |
| Groups defined before looking | Otherwise the test is meaningless |
| Groups | Y type | Method |
|---|---|---|
| 2 (independent) | Numeric | Two-sample t-test |
| 2 (same units, paired) | Numeric | Paired t-test |
| 3 or more | Numeric | One-way ANOVA |
| 3+, skewed data | Numeric | Kruskal–Wallis |
| Groups | Parametric | Rank-based |
|---|---|---|
| Two | t-test (Welch by default) | Mann–Whitney |
| Three or more | One-way ANOVA | Kruskal–Wallis |
| Then | Post-hoc pairwise, adjusted | Adjusted pairwise ranks |
| Chi-square tests | Typical use here |
|---|---|
| Whether two categorical variables are independent | Social group × scheme uptake |
| Using counts, not percentages | Feed it the raw table |
| Against what independence would predict | The expected counts on the next slide |
| Step | What happens |
|---|---|
| Compute what each cell would hold if the variables were independent | Row total × column total ÷ grand total |
| Compare with what was observed | Cell by cell |
| Square the gaps, scale by expected, add up | Large when observed departs from expected |
| Refer to the distribution | Gives the p-value |
| Expected count for a cell | Meaning |
|---|---|
| Row total × column total ÷ N | What that cell would hold if the two variables were unrelated |
| Uses only the margins | It preserves how many are in each category overall |
| Rarely a whole number | That is fine; it is an expectation, not a count |
| Cell | Observed | Expected | Gap |
|---|---|---|---|
| Rural, toilet | 320 | 396 | −76 |
| Rural, no toilet | 280 | 204 | +76 |
| Urban, toilet | 340 | 264 | +76 |
| Urban, no toilet | 60 | 136 | −76 |
| Chi-square gives you | You still need |
|---|---|
| Evidence against independence | The cross-tab, to see the direction |
| A p-value | A measure of strength — Cramér’s V, or the percentage gap |
| Nothing about which cell | Cell contributions, or the percentages |
| Nothing causal | Everything in Section 10 |
| Requirement | If it fails |
|---|---|
| Counts, not percentages or means | The statistic is meaningless |
| Independent observations | Clustering inflates the statistic |
| Expected count of about 5 or more in most cells | Combine categories, or use Fisher’s exact test |
| Each case in exactly one cell | Multiple-response questions break this |
| Mistake | Consequence |
|---|---|
| Running it on percentages | The result scales with your choice of base |
| Ignoring sparse cells | An unreliable p-value that looks normal |
| Reporting significance without direction | A finding nobody can act on |
| Reading it as causal | The error the whole of Section 10 addresses |
| Step | Output |
|---|---|
| Build the cross-tab with counts | The raw table |
| Add row percentages in the causal direction | The comparison |
| Check expected counts | Whether the test is valid |
| Run chi-square | Evidence against chance |
| Report percentages, gap, N and p | Something a programme can use |
| List plausible confounders | Honest framing |
| Step | Tool | Answers |
|---|---|---|
| Describe | Cross-tab + % | What does the pattern look like? |
| Test | Chi-square | Is it bigger than chance? |
| Quantify strength | Cramér's V | How strong is it? |
| Small table? | Fisher's exact | Same question, thin cells |
| Need | Use |
|---|---|
| See the pattern | Cross-tab with row percentages |
| Test independence | Chi-square, on counts |
| Small or sparse table | Fisher’s exact test |
| Strength of association | Cramér’s V, or the percentage-point gap |
| Two binary variables, risk framing | Risk ratio or odds ratio |
| Regression adds to correlation | Why it matters |
|---|---|
| A slope in real units | “0.4 fewer days per extra kilometre” |
| A prediction for any X | Fitted values, with their uncertainty |
| An explicit direction | You must nominate X and Y |
| Residuals to inspect | Where the model fails, and on which cases |
| Term | Reads as |
|---|---|
| a (intercept) | Predicted Y when X is zero |
| b (slope) | Change in Y for a one-unit rise in X |
| Residual | What the line got wrong for this case |
| Fitted value | What the line predicts for this case |
| X | Is X = 0 meaningful? |
|---|---|
| Distance to facility | Yes — living at the facility |
| Years of schooling | Yes — no schooling |
| Mother’s age | No — there are no newborn mothers |
| Year (e.g. 2015–2024) | No — the intercept refers to year zero |
| Say | Do not say |
|---|---|
| “Associated with 0.4 fewer days” | “Causes 0.4 fewer days” |
| “On average, across this sample” | “For any given household” |
| “Within the observed range of X” | “At any distance” |
| “Before accounting for wealth and location” | Nothing about what was not controlled |
| R² | Reads as |
|---|---|
| 0.05 | The line accounts for 5% of the variation — typical for social data |
| 0.30 | A substantial share, by the standards of this field |
| 0.95 | Suspicious in survey data — check for a definitional link |
| High R² can come from | Which is not a good sign |
|---|---|
| Both variables trending over time | Almost any two series will fit well |
| Aggregated data — districts, states | Averaging removes individual noise mechanically |
| One variable derived from the other | A definitional relationship, not a finding |
| A few extreme points | Leverage, not fit |
| Prediction | Explanation | |
|---|---|---|
| Goal | Guess Y accurately | Understand how X relates to Y |
| Cares about | Fit and out-of-sample accuracy | The slope and its uncertainty |
| Confounders | Do not matter if fit holds | Matter completely |
| Useful for | Targeting, forecasting | Deciding what to change |
| Why extrapolation fails | Example |
|---|---|
| The relationship may curve outside the range | Dose response that plateaus |
| No data means no evidence of the shape | The line continues because it is a line |
| Predictions become physically impossible | Negative attendance; percentages above 100 |
| Uncertainty widens sharply at the edges | And keeps widening beyond them |
| Before writing a causal sentence, rule out |
|---|
| Reverse causation — could Y have produced X? |
| Confounding — what third factor drives both? |
| Selection — how did units end up in each group? |
| Chance — how many relationships were examined? |
| Measurement — do both variables share a common error? |
| Apparent bivariate link | The usual confounder |
|---|---|
| Toilet ownership and child height | Household wealth |
| Training attendance and yields | Who chooses to attend |
| Private schooling and test scores | Parental education and income |
| Distance and facility delivery | Remoteness, which brings poverty and fewer roads |
| What bivariate analysis is good for | What it should not be used for |
|---|---|
| Describing who is worse off | Claiming why they are worse off |
| Finding where to look next | Deciding what to change |
| Screening many candidate relationships | Concluding from the one that survived |
| Communicating a pattern simply | Attributing it to a programme |
| Unit of the scatter | What a pattern can support |
|---|---|
| States | A statement about states |
| Districts | A statement about districts |
| Households | A statement about households |
| Individuals | A statement about individuals |
| Term | Meaning |
|---|---|
| Outlier | Far from the cloud in Y |
| Leverage | Far from the cloud in X — can swing the slope hard |
| Influence | Both: removing it changes the conclusion |
| Common non-linear shapes here | Example |
|---|---|
| Diminishing returns | Each extra year of schooling adds less |
| Threshold | Nothing happens until a minimum dose is reached |
| Ceiling | Coverage cannot exceed 100%, so gains flatten |
| U-shape | Benefit rises then falls — r near zero |
| Aggregate says | Every subgroup says | Because |
|---|---|---|
| Hospital A does worse | A does better in each severity band | A takes the severe cases |
| Scheme B looks weaker overall | B is stronger in every district | B operates where uptake is hardest |
| Check | Catches |
|---|---|
| Did I plot it? | Curves, clusters, outliers |
| What is the unit of analysis? | Ecological fallacy |
| What is the obvious confounder? | Wealth, almost always |
| Does it survive stratification? | Spurious associations |
| Does one point drive it? | Leverage |
| How many relationships did I test? | Forking paths |
| How big is it, in units? | Significant-but-trivial |
| Report | Example |
|---|---|
| The pattern in plain words | “Uptake was lower among SC/ST households” |
| The numbers, with units | “44% vs 61% — a gap of 17 points” |
| N, per group | “(n = 312 and 908)” |
| Uncertainty | “95% CI for the gap: 11 to 23 points” |
| The obvious confounder | “Not adjusted for wealth or block” |
| Safe with observational data | Reserve for causal designs |
|---|---|
| Associated with, linked to | Causes, produces, leads to |
| Higher among, lower in | Raises, reduces, drives |
| Accompanied by, varies with | Impacts, results in |
| Predicts (statistically) | Improves, prevents |
| Sin | Correction |
|---|---|
| Reporting p without an effect size | Give the gap in units, with an interval |
| “No difference” from a non-significant result | “No evidence of a difference” |
| Reporting only the relationship that worked | Say how many were examined |
| Causal verbs on observational data | Use the left column of the previous slide |
| Percentages with no N | Always “62% (n = 187)” |
| A chart title that states a cause | Name the variables, not the mechanism |
| Step | Output |
|---|---|
| Write the question in one sentence | Determines everything after |
| Classify both variables | Chooses the method |
| Plot it | Shape, outliers, clusters |
| Describe it — means, medians, percentages, N | The finding |
| Test, if the question needs a test | Evidence against chance |
| Check the pitfall list | What could still be wrong |
| Write it with hedged verbs and the caveat | Something defensible |
| Tool | Good for | Note |
|---|---|---|
| Excel / Google Sheets | Cross-tabs, scatter, CORREL, t-test | Start here; pivot tables for cross-tabs |
| R | Every test, publication graphics | Free; cor.test, t.test, aov, chisq.test, lm |
| Python (pandas, scipy, statsmodels) | Cleaning + tests + regression | Free, general-purpose |
| Jamovi / JASP | Point-and-click stats | Free, friendly for learners |
| Stata / SPSS | Survey data, weights | Common in research shops |
| Tool | Good for |
|---|---|
| Spreadsheets | Cross-tabs, simple charts, sharing with non-analysts |
| R | Everything here, reproducibly; free |
| Python | Same, if the team already uses it |
| Stata / SPSS | Where your collaborators already work |
| Read | For |
|---|---|
| Wheelan, Naked Statistics | These methods, informally and well |
| Reinhart, Statistics Done Wrong | Sections 6, 7 and 10, in detail |
| Huff, How to Lie with Statistics | Old, short, and still the best on charts |
| Pearl & Mackenzie, The Book of Why | Why correlation is not causation, properly |
| Your survey’s methodology note | What your data can actually support |
| If you remember five things | Section |
|---|---|
| Classify both variables; the method follows | 2 |
| Plot it before you compute anything | 4 |
| Report the effect size, not just the p-value | 6 |
| Name the confounder yourself | 10 |
| Match the verb to the design | 11 |