Chapter 16 Project 5.2: Simple Multivariate Statistics

Are variables related? If so what’s the relationship? An analyst tries to answer these two questions. A negative answer — the null hypothesis — doesn’t require too many supporting details. A positive answer, on the other hand, suggests that a model can be defined to describe the relationship. In this chapter, we’ll look at simple correlation and linear regression as two elements of modeling a relationship between variables.

In this chapter, we’ll expand on some skills of data analysis:

  • Use of the built-in statistics library to compute correlation measures and linear regression coefficients.

  • Use of the matplotlib library to create images. This means creating plot images outside a Jupyter ...

Get Python Real-World Projects 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.