Correlation coefficient example

SHARE THE ARTICLE ON

Correlation coefficient is used to derive a relationship between two or more variables in a given dataset. Apart from that, correlation coefficient can also defines how strong the relationship is.

In this article we will see an example of correlation coefficient and how it can be calculated:Â

Correlation coefficient formula:

Where,Â

• n=Quantity of information
• Î£x=Total of all values for first variable
• Î£y=Total of all values for second variable
• Î£xy=Sum of product of first and second value
• Î£x2=Sum of squares of the first value
• Î£y2=Sum of squares of the second value

Create an actionable feedback collection process.

Steps to perform correlation coefficient:

Step 1: Make a table of the given data. In our case, given below is a table that shows studentsâ€™ marks before (x) and marks after (y) special training in the subject English.

Step 2: Now add three columns for xy, x2, and y2.

Get market research trends guide, Online Surveys guide, Agile Market Research Guide & 5 Market research Template

• Step 3: Now add all the columns to find each of their SUM (Î£)

See Voxco survey software in action with a Free demo.

• Step 4: Next, use the correlation coefficient formula and substitute the values in the formula from the table.
• n = 6
• Î£x = 247
• Î£y = 474
• Î£xy = 20522
• Î£x2 = 11409
• Î£y2 = 38648

Substituting in the formula;

r = 6(20522) â€“ (247) (474) / âˆš [6(11409) â€“ (247)2] [6(38648) â€“ (474)2]

r = 123132 â€“ 117078 / âˆš [68454 â€“ 61009] [231888 â€“ 224676]Â

r = 6054 / âˆš (7445) (7212)Â

r = 6054 / âˆš 53693340

r = 6054 / 7327.57

r = 0.826

• Step 5: Analyse the results

In our example, we got a correlation coefficient of 0.826. Which is 82%.Â

• +1 indicates a strong positive relationship.
• -1 indicates a strong negative relationship.
• A result of zero indicates no relationship at all.Â

Since our coefficient is more than 0 and slightly less than +1 that is, we can say that the variables have a positive correlation.Â

Explore all the survey question types possible on Voxco

Explore Voxco Survey Software