33.7k views
4 votes
Which of the following Python methods in scipy.stats submodule returns the P-value for performing a hypothesis test for the significance of the correlation coefficient?

Select one.
A. pearsonr from pandas module
B. pearsonr from scipy module
C. pearson from pandas module
D. pearson from scipy module

User Ninja Dude
by
5.9k points

1 Answer

4 votes

Answer:

Option B is the correct answer for the following question.

Step-by-step explanation:

The following option is true because the pearsonr from scipy module is the method of the Python Programming Language in the submodule i.e., "scipy.stats" which print or return P-value for operating the hypothesis test for the value of correlation coefficient. So, that's why the following option is correct.

User Glynis
by
5.9k points