WK2 Lecture 1 - Scatterplots

Components

A scatterplot is a graphical representation that displays the relationship between two numeric continuous variables.

Components include:

Describing Relationships

The relationship between two numeric variables visualised in a scatterplot is described based on the direction, shape, and strength.

Scatterplot Features.pngcenter
Investigating relationships (aka associations) requires statistical inference to understand if there's evidence of a relationship or not.

Correlation

A scatterplot is the visual component in identifying correlations and relationships between two numeric variables. The correlation coefficient (r) is the numerical value of the strength of the linear relationship.

The equation for determining correlation coefficient is as follows:

r=nXY(X)(Y)[nX2(X)2][nY2(Y)2]

However this is often not an efficient way of determining correlation, it can be calculated in r as follows

cor (DATASET$X-AXIS ~ DATASET$Y-AXIS)

or by looking for multiple R squared on a summary of the data, note that this gives strength but not direction.

Properties of correlation coefficients are:

When evaluating a scatterplot by sight alone, it is sometimes difficult to determine the strength of the relationship. One can describe it as "appears to be a strong/moderate/weak relationship". When describing the strength based on the correlation coefficient the strength of the values are subjective as a general rule:

Absolute value of R strength of the relationship
0 - 0.2 Very weak
0.2 - 0.4 Weak
0.4 - 0.6 Moderate
0.6 - 0.8 Strong
0.8 - 1.0 Very strong

Correlation and Causation


back to contents | previous lecture | next lecture

Powered by Forestry.md