Published 10 September 2008, doi:10.1136/bmj.a197
Cite this as: BMJ 2008;337:a197

Endgames

Statistical question

Simple associations

John Fletcher, clinical epidemiologist

1 BMJ, London WC1H 9JR

jfletcher{at}bmj.com

How would you best assess the degree of linear association between two continuous variables?

a) Scatter plot
b) Odds ratio
c) Bar chart
d) Correlation

Answer

d—Correlation measures the degree to which two variables are linearly related.

A scatter plot would display graphically the association between two continuous variables. The x axis displays values for one variable, and the y axis values for the other. Each point represents one paired measurement of each variable. This is a useful way to display the data and would show U shaped and other non-linear associations as well as linear associations.

However, a scatter plot does not measure an association. To put a number to it requires an assessment of correlation. Pearson’s correlation coefficient or Spearman’s rank correlation coefficient may be used to assess linear correlation. The correlation coefficient may take any value between 1 and –1: 0 represents no linear association, 1 represents a perfect straight line with y values increasing with increasing x values, –1 represents a perfect straight line with y values decreasing with increasing x values. Like other parametric techniques, Pearson’s correlation coefficient is sensitive to outlying values and may generate misleading P values when the y axis values are not normally distributed. Spearman’s rank correlation coefficient, like other non-parametric techniques, is less sensitive and more robust.

Odds ratios can be used to compare only dichotomous values. Odds express the probability of something happening divided by the probability of it not happening.

A bar chart is used to plot the frequency of a nominal variable (such as eye colour) or an ordinal variable (such as agreement with a survey question: "disagree strongly, disagree, agree, agree strongly").

Cite this as: BMJ 2008;337:a197


Add to CiteULike CiteULike   Add to Complore Complore   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us   Add to Digg Digg   Add to Reddit Reddit   Add to Technorati Technorati    What's this?

Rapid Responses:

Read all Rapid Responses

Is the answer correct?
Harper Gilmour
bmj.com, 11 Sep 2008 [Full text]
need to use graphics
John A Steward
bmj.com, 12 Sep 2008 [Full text]
Spearman correlation coefficient
Alan C Gibbs
bmj.com, 7 Oct 2008 [Full text]



Access jobs at BMJ Careers
Whats new online at Student 

BMJ