0
0
Data Analysis Pythondata~5 mins

Correlation analysis (Pearson, Spearman) in Data Analysis Python - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does Pearson correlation measure?
Pearson correlation measures the strength and direction of a straight-line (linear) relationship between two continuous variables.
Click to reveal answer
beginner
What is Spearman correlation used for?
Spearman correlation measures the strength and direction of a monotonic relationship between two variables using their ranks, not the raw data values.
Click to reveal answer
intermediate
When should you use Spearman correlation instead of Pearson?
Use Spearman when data is not normally distributed, has outliers, or the relationship is not linear but still monotonic (always increasing or decreasing).
Click to reveal answer
beginner
What is the range of correlation coefficients for both Pearson and Spearman?
Both Pearson and Spearman correlation coefficients range from -1 to 1, where -1 means perfect negative correlation, 0 means no correlation, and 1 means perfect positive correlation.
Click to reveal answer
beginner
How do you interpret a correlation coefficient of 0.8?
A correlation of 0.8 means a strong positive relationship: as one variable increases, the other tends to increase as well.
Click to reveal answer
Which correlation method is best for measuring linear relationships?
ASpearman
BKendall
CPearson
DChi-square
Spearman correlation uses which of the following to calculate correlation?
ARanks of data
BCategorical labels
CRaw data values
DMean values
What does a correlation coefficient of 0 indicate?
APerfect negative correlation
BNo correlation
CPerfect positive correlation
DMonotonic relationship
Which correlation is more robust to outliers?
ANeither
BPearson
CBoth are equally sensitive
DSpearman
If data is not normally distributed, which correlation should you prefer?
ASpearman
BNone
CBoth are fine
DPearson
Explain the difference between Pearson and Spearman correlation in simple terms.
Think about how each method treats the data and what kind of relationships they detect.
You got /5 concepts.
    Describe a real-life example where Spearman correlation is more appropriate than Pearson.
    Consider situations where data is not perfectly straight but still ordered.
    You got /4 concepts.