Diagnostic tools and unit tests for statistical estimators
