13 More with Gini coefficients and Lorenz curves

This chapter covers

  • Working (again) with Gini coefficients
  • Creating alternative Lorenz curves
  • Running significance tests (t-tests and F-tests)
  • Running other effect size tests (aside from Cohen’s d)
  • Writing for loops
  • Writing user-defined functions

It’s true that we’re going to again compute Gini coefficients, plot inequality by drawing Lorenz curves, perform more significance testing, and conduct additional effect size tests to complement our t-tests—but there’s a lot of new material packed into this chapter too:

  • We’ll demonstrate how to intelligently plot multiple Lorenz curves with the least amount of code. You’ll learn how to plot two Lorenz curves in the same plot to compare two Gini coefficients ...

Get Statistics Slam Dunk now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.