PredictEasy!
  • 🚀PredictEasy
  • Getting Started
  • ☁️Installation
  • 🛠️Data Preprocessing
    • Label Encoding
    • Log Transform
    • Standard Scaling
    • Replacement
    • Imputation
  • 📊Statistical Test
    • T-Test
    • ANOVA Test
    • Spearman’s Rank Correlation
    • Pearson’s Correlation
    • Chi-Squared Test
    • Shapiro-Wilk Test
    • Kruskal-Wallis H Test
    • Friedman Test
  • 📶Data Modelling
    • Classification
    • Regression
    • Clustering
  • 🔡NLP
    • Sentiment Analysis
  • 📈Visualization Charts
    • Line graph
    • Bar Chart
    • Scatter Chart
    • Area Chart
  • Media
  • 📽️Video Tutorials
  • 🗞️Articles
  • FAQ?
  • 📞Contact
Powered by GitBook
On this page

Was this helpful?

  1. Statistical Test

Pearson’s Correlation

PreviousSpearman’s Rank CorrelationNextChi-Squared Test

Last updated 1 year ago

Was this helpful?

Use: Pearson’s correlation measures the linear relationship between two continuous variables. It produces a correlation coefficient that ranges from -1 to 1, indicating the strength and direction of the relationship.

Example: Examining the relationship between hours of study and exam scores for a group of students to see if there's a linear correlation.

Column Requirement: Continuous data for both variables.

Steps:

  1. Select two columns with continuous data (e.g., height and weight).

  2. Check for a linear relationship between the variables.

  3. Compute the Pearson correlation coefficient.

  4. The coefficient ranges from -1 to 1, where 1 indicates a perfect positive linear relationship, -1 a perfect negative linear relationship, and 0 no linear relationship.

📊