Correlation and Regression

If there is one prayer that you should pray/sing every day and every hour, it is the LORD's prayer (Our FATHER in Heaven prayer)
It is the most powerful prayer. A pure heart, a clean mind, and a clear conscience is necessary for it.
- Samuel Dominic Chukwuemeka

Let everything that has breath praise the LORD! Praise the LORD. - Psalm 150:6

The Joy of a Teacher is the Success of his Students. - Samuel Dominic Chukwuemeka

Samuel Dominic Chukwuemeka

Correlation and Regression Calculators


I greet you this day,
These calculators are for vertical entries of data only
To use the calculators for horizontal data entries, please visit Correlation and Regression Calculators (Horizontal data entries only)
I wrote the codes for the calculators using JavaScript, a client-side scripting language.
For some calculators (calculators with Other details), it is recommended you refresh your browser after each calculation.
Comments, questions, and constructive criticisms are welcome. You may contact me. Thank you for visiting.
Samuel Dominic Chukwuemeka (SamDom For Peace)
B.Eng., A.A.T, M.Ed., M.S


Pearson Correlation

Pearson Correlation Coefficient

Case 1 (First Formula)
Given: Datasets X and Y, Level of Significance
(If the significance level is not given, use 5% or 0.05)

To Calculate: Pearson's correlation coefficient, Least-squares regression line, Residuals, other details
Show all steps


Dataset X Dataset Y


in


Data X




Deviation from the Mean
Square of the Deviation



Quotient of the:
Deviation from the Mean and the Standard Deviation

Data Y




Deviation from the Mean
Square of the Deviation



Quotient of the: Deviation from the Mean and the Standard Deviation

Product of each of the two Quotients






Predicted Y-values
Residuals
Square of the Residuals


Other details





Pearson Correlation Coefficient

Case 1 (Second Formula)
Given: Datasets X and Y, Level of Significance
(If the significance level is not given, use 5% or 0.05)

To Calculate: Pearson's correlation coefficient, Least-squares regression line, Residuals, other details
Show all steps


Dataset X Dataset Y


in


Data X






Square of the data values for dataset X


Data Y






Square of the data values for dataset Y


Product of each data value of X and Y

























Predicted Y-values
Residuals
Square of the Residuals


Other details





Least-Squares Regression Line

Case 2: Least-Squares Regression Line
Given: Pearson's correlation coefficient, Mean of data X, Standard Deviation of data X, Mean of data Y, Standard Deviation of data Y
To Calculate: Least-squares regression line, other details














Least-Squares Regression Model

Case 3: Least-Squares Regression Model
Given: data X, Least-squares regression line
To Calculate: Mean value of response variable

x +


Residuals

Case 4: Residuals
Given: Input, Least-squares regression line (required), Output (optional)
To Calculate: Predicted Output, Residual



x +






Multiple Linear Regression for Two Independent Variables

Case 5: Multiple Linear Regression for Two Independent Variables
Given: Datasets X1, X2, Y

To Calculate: Multiple Regression Equation, other details
Show all steps


Dataset X1 Dataset X2 Dataset Y



Square of the data values for dataset X1







Square of the data values for dataset X2







Product of each value of X1 and the corresponding value of X2





Product of each value of X1 and the corresponding value of Y





Product of each value of X2 and the corresponding value of Y















Predicted Y-values
Residuals

Spearman Correlation

Spearman Correlation Coefficient

Case 1
Given: Datasets X and Y

To Calculate: Spearman correlation coefficient, Interpret Spearman's correlation coefficient
Show all steps


Dataset X Dataset Y


Sorted Dataset X Rank X

Sorted Dataset Y Rank Y
Dataset X Rank X
Dataset Y Rank Y
Rank X Rank Y
Rank X - Rank Y (Rank X - Rank Y)2
Difference Square of the difference