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.
What you do
Section titled “What you do”- Invalid, implausible, unusual
- Outliers within groups: IQR, robust z, Hidiroglou-Berthelot
- Ratios, relations and weight outliers
- Interviewer-level indicators
- Ranking flags into a review table
The module’s notebooks
Section titled “The module’s notebooks”- 70_anomalies_rules.pyModule 8: Anomalies by rule and by statisticsRead itCompanion · 11 exercises
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
- Check-inAt the end of the module. A short check on “Anomalies by rule and by statistics”, and how ready you feel; its answers show as soon as you submit.Check-in: Anomalies by rule and by statistics ↗
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.