A.25 Distribution of the correlation coefficient

If the prior density of the correlation coefficient is ρ, then its posterior density, given n pairs of observations (Xi, Yi) with sample correlation coefficient r, is given by

Unnumbered Display Equation

on writing  . It can also be shown that

Unnumbered Display Equation

When r=0 the density simplifies to

Unnumbered Display Equation

and so if the prior is of the form

Unnumbered Display Equation

it can be shown that

Unnumbered Display Equation

has a Student’s t distribution on  degrees of freedom.

Going back to the general case, it can be shown that

Unnumbered Display Equation

Expanding the term in square brackets as a power series in u, we can express the last integral as a sum of beta functions. Taking only the first term, we have as an approximation

On writing

it can be shown that

and hence that for ...

Get Bayesian Statistics: An Introduction, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.