O'Reilly logo

Mastering Numerical Computing with NumPy by Mert Cuhadaroglu, Umit Mert Cakmak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Computing correlations 

This section is dedicated to bivariate analysis, where you analyze two columns. In such cases, we generally investigate the association between these two variables, which is called correlation. Correlation shows the relationship between two variables and answers questions such as what will happen to variable A if variable B increases by 10%? In this section, we will explain how to calculate the correlation of our data and represent it in a two-dimensional scatter plot.

In general, correlation refers to any statistical dependency. A correlation coefficient is a quantitative value that calculates the measure of correlation. You can think of the relationship between correlation and a correlation coefficient as being of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required