CARVIEW |
Correlation Matrix
Correlation Matrix Quiz
Question 1
What does a correlation matrix show?
Number of rows in the dataset
How variables are connected to each other
The average of all variables
The maximum and minimum values
Question 2
Which NumPy function is used to create a correlation matrix?
np.mean()
np.var()
np.corrcoef()
np.cov()
Question 3
If the correlation coefficient between sales and temperature is 0.95, what does it indicate?
No relationship
Weak relationship
Strong negative relationship
Strong positive relationship
Question 4
In Pandas, which method is used to create a correlation matrix from a DataFrame?
.groupby()
.sort()
.corr()
.describe()
Question 5
In the Pandas example, how many variables (columns) were used in the DataFrame?
1
2
3
4
Question 6
What will be the correlation value of a variable with itself?
1
0
-1
Cannot be determined
There are 6 questions to complete.