Skip to content
Learn Python with BNHR

Module 8 · Intermediate

Anomalies by rule and by statistics

Module 8 of Python for Survey Statistics: invalid, implausible and unusual values, outliers within groups with IQR, robust z and Hidiroglou-Berthelot, interviewer indicators, and one ranked review table. Its sections, its notebooks to read on the web, and the companion's solutions and explanations.

Module 8Level Intermediate
On this page
  1. Overview
  2. What you do
  3. The module’s notebooks
  4. Quizzes
  5. Certification and support

An edit rule finds what is invalid. Much of what is wrong is only unlikely: a small boat of many tons because feet were written as meters, a weight ten times its stratum’s, an interviewer whose interviews are short, many to a day, with ages rounded to fives. This module finds those with statistics: Tukey’s fences, robust z and Hidiroglou-Berthelot within groups, ratios on a log scale, weights against their domain, and indicators by interviewer.

It ends by ranking every flag, from module 4’s rules and from the statistics, into one review table a person works through, and measures how much of what was planted it finds for the rows read.

  1. Invalid, implausible, unusual
  2. Outliers within groups: IQR, robust z, Hidiroglou-Berthelot
  3. Ratios, relations and weight outliers
  4. Interviewer-level indicators
  5. Ranking flags into a review table

The notebooks are in your course folder; here you can read them without running anything. For reference in any module: primer: from r to python and primer: survey sampling in one page and glossary.

Quizzes

The quizzes are on BNHR Quizzes and count toward nothing. Learning on your own, a quiz opens as the self-paced one; while a training runs, it asks which training you are in.

Saved in this browser only

Certification and support

We offer additional resources, certificates, ongoing support, and other perks to those who join our instructor-led training.

Join an upcoming training to take this as an instructor-led course, or contact us to arrange one for your team or organization.

Something new

Identify results
LayerExplore a debugging drill
Debugging drill D1Debugging drill: a table that lies
AboutThe first debugging drill of Arrays & DataFrames, after module 3: six bugs in reading and selecting the farm survey, to predict, trace, fix and explain.
CourseArrays & DataFrames, free