Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

Course overview

Think Like a PhD Student

Free · sign in to start and track progress

1 · Asking the question

  • 1The cycle and the question
  • 2Reading and searching the literature
  • 3Measuring what matters

2 · Designing and running the study

  • 4Designing the experiment
  • 5Pre-registration and trials
  • 6Open coding of failures
  • 7Running an annotation study

3 · Trusting and telling

  • 8Reproducibility and research hygiene
  • 9Analysis and honest reporting

    Exercise answers

    • Answer: Run the pre-registered analysis
    • Answer: Run the multiverse
  • 10Writing it up and peer review
CapstoneA small study on the triage agentReference implementation

Module 3 · Trusting and telling · Lesson 9

Analysis and honest reporting

Run the analysis you pre-registered and nothing else first, report effects as paired differences with bootstrap intervals, correct the secondaries, label everything exploratory, draw figures that cannot mislead, and write the limitations and the negative result when that is what you found.

80 min 1 video 3 exercises 7-question quiz Answers
Setup for the exercises:Install Claude CodePython with uvThe Quillmoor triage kit

By the end of this lesson you can

  • Compute the pre-registered primary effect as a paired difference per ticket with a percentile bootstrap interval over tickets, and apply the decision rule
  • Explain why many metrics and conditions need a correction or a pre-registered primary, compute Bonferroni and Holm thresholds, and recognise the forking paths that make a single analysis a multiple comparison
  • Rewrite a misleading figure into an honest one and justify each change
  • Write a limitations section and state a negative result as one

On this page

  • The plan comes first
  • The paired effect, by hand
  • The whole table
  • Many metrics, one α
  • Forking paths: a multiple comparison with one test
  • Exploratory, and labelled as such
  • Figures that do not lie
  • Limitations and the negative result
  • Connections
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01The plan comes first
  2. 02The paired effect, by hand
  3. 03Many metrics, one α
  4. 04Exploratory, and labelled as such
  5. 05Figures that do not lie
  6. 06Limitations and the negative result
  7. 07Connections
  8. 08Summary

Sources & further reading

  • The Hitchhiker's Guide to Testing Statistical Significance in Natural Language ProcessingPaper · Dror, Baumer, Shlomov, Reichart · 2018A decision procedure for which significance test fits which evaluation metric and setup in NLP, including when the bootstrap is the right tool and why the samples behind a comparison have to be treated as paired.
  • Adding Error Bars to Evals: A Statistical Approach to Language Model EvaluationsPaper · Miller · Anthropic · 2024Evaluations are experiments: report per-question paired differences with standard errors rather than two separate intervals, and account for questions that come in clusters. The recipe this lesson's primary analysis follows.
  • Show Your Work: Improved Reporting of Experimental ResultsPaper · Dodge, Gururangan, Card, Schwartz, Smith · 2019Why a single best score hides the budget it took to find it; the expected-validation-performance curve is the honest way to show what a result cost to find.
  • Weak baselines and reporting biases lead to overoptimism in machine learning for fluid-related partial differential equationsPaper · McGreivy, Hakim · 2024A systematic review showing how weak baselines and the non-reporting of negative results inflate a whole subfield; the case for the negative-result paragraph.
  • Missing Information, Unresponsive Authors, Experimental Flaws: The Impossibility of Assessing the Reproducibility of Previous Human Evaluations in NLPPaper · Belz et al. · 2023Published at the Insights from Negative Results workshop: an example of a negative result written up as a contribution, and of the venue that exists for them.
  • Troubling Trends in Machine Learning ScholarshipPaper · Lipton, Steinhardt · 2018The four trends (explanation versus speculation, failure to identify the sources of gains, mathiness, misuse of language) as a checklist for your own results section.
  • The garden of forking pathsUniversity · Gelman, Loken · Columbia University · 2013Why researcher degrees of freedom create a multiple-comparisons problem even when only one analysis is run, because the choices were contingent on the data. The argument behind every 'label it exploratory' rule in this lesson.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 8 more sections
  • 3 hands-on exercises
  • A 7-question quiz
  • Progress, quiz scores and bookmarks