Hypothesis Test on Correlation

Hypothesis Test on Correlation

The correlation between two variables measures the strength of the linear relationship between them. We wish to assess this relationship using the correlation coefficient. The assessment is based on whether the relationship occurs by chance or not.

Intuitively, if the correlation coefficient between two variables is zero, then there is no linear relationship between the variables. Otherwise, if we use the test of significance to determine whether there is a linear relationship, we will be inclined to whether the estimated correlation coefficient is significantly different from 0.

Hypotheses Statements

The null hypothesis is stated as:
$$H_0:\rho=0$$
That is, the correlation coefficient in the population is 0.

The alternative hypothesis is stated as:

$$H_a:\rho \neq 0$$
That is, the correlation coefficient is not equal to 0. Clearly, the hypothesis test for the correlation is a two-tailed test.

The Test Statistic

Assuming that the two variables are both normally distributed, the test statistic is given by:

$$ t=\frac{r\sqrt{n-2}}{\sqrt{1-r^2}}$$
Where
\(r\) = Sample Correlation.
\(n\) = Sample size.

The test statistic has a t-distribution with n-2 degrees of freedom (only if the null hypothesis is true). Let the critical value from the t-distribution table be \(t_c\). If the test statistic is greater than \(t_c\) or less than \(-t_c\), we reject the null hypothesis and uphold the alternative hypothesis. Otherwise, we fail to reject the null hypothesis.

Example: Calculating the t-statistic for Hypothesis Testing on Correlation

A financial analyst wishes to test whether there is a linear relationship in the data used to analyze the stock return for a particular company. The analyst uses a sample size of 32 which has a sample correlation of 0.45. Calculate the test statistic and test the significance at the 5% significance level.

Solution

We know that the test statistic is given by:

$$ t=\frac{r\sqrt{n-2}}{\sqrt{1-r^2}}=\frac{0.45\sqrt{32-2}}{\sqrt{1-0.45^2}}=2.760$$
We need to evaluate the critical value from the t-distribution table. From the information given in the question, the number of degrees of freedom is 32-2=30 so that the crucial value is given by:

$$ t_{\frac{0.05}{2},32-2}= t_{0.025,30}=2.042$$

Since the test statistic is greater than the critical value (2.760>2.042), we reject the null hypothesis that the population correlation coefficient is 0, and thus, the correlation coefficient is significantly different from 0.

The Spearman Rank Correlation Coefficient

 

Question

The sample correlation between the US dollars (USD) monthly returns to Britain euros (EUR)  is estimated to be 0.4565. This estimate is from sample data from January 2015 to December 2019. Assume you are an analyst; would you reject the null hypothesis that the population correlation equals to 0 and 5% significance level?

A. Yes.

B. No.

C. Not enough information to decide.

Solution

The correct answer is A

We need first to determine the sample size, n. From Jan 2015 to Dec 2019, we have five years which is equivalent to 60 months. From here, we can compute the test statistic.


$$ t=\frac{r\sqrt{n-2}}{\sqrt{1-r^2}}=\frac{0.4565\sqrt{60-2}}{\sqrt{1-0.4565^2}}=3.908$$
Using the t-distribution table, the critical value is given by:

$$ t_{\frac{0.05}{2},60-2}= t_{0.025,58}=2.000$$
Since the test statistic is larger than the critical value, we reject the null hypothesis that the population correlation coefficient is 0.

Shop CFA® Exam Prep

Offered by AnalystPrep

Featured Shop FRM® Exam Prep Learn with Us

    Subscribe to our newsletter and keep up with the latest and greatest tips for success
    Shop Actuarial Exams Prep Shop Graduate Admission Exam Prep


    Sergio Torrico
    Sergio Torrico
    2021-07-23
    Excelente para el FRM 2 Escribo esta revisión en español para los hispanohablantes, soy de Bolivia, y utilicé AnalystPrep para dudas y consultas sobre mi preparación para el FRM nivel 2 (lo tomé una sola vez y aprobé muy bien), siempre tuve un soporte claro, directo y rápido, el material sale rápido cuando hay cambios en el temario de GARP, y los ejercicios y exámenes son muy útiles para practicar.
    diana
    diana
    2021-07-17
    So helpful. I have been using the videos to prepare for the CFA Level II exam. The videos signpost the reading contents, explain the concepts and provide additional context for specific concepts. The fun light-hearted analogies are also a welcome break to some very dry content. I usually watch the videos before going into more in-depth reading and they are a good way to avoid being overwhelmed by the sheer volume of content when you look at the readings.
    Kriti Dhawan
    Kriti Dhawan
    2021-07-16
    A great curriculum provider. James sir explains the concept so well that rather than memorising it, you tend to intuitively understand and absorb them. Thank you ! Grateful I saw this at the right time for my CFA prep.
    nikhil kumar
    nikhil kumar
    2021-06-28
    Very well explained and gives a great insight about topics in a very short time. Glad to have found Professor Forjan's lectures.
    Marwan
    Marwan
    2021-06-22
    Great support throughout the course by the team, did not feel neglected
    Benjamin anonymous
    Benjamin anonymous
    2021-05-10
    I loved using AnalystPrep for FRM. QBank is huge, videos are great. Would recommend to a friend
    Daniel Glyn
    Daniel Glyn
    2021-03-24
    I have finished my FRM1 thanks to AnalystPrep. And now using AnalystPrep for my FRM2 preparation. Professor Forjan is brilliant. He gives such good explanations and analogies. And more than anything makes learning fun. A big thank you to Analystprep and Professor Forjan. 5 stars all the way!
    michael walshe
    michael walshe
    2021-03-18
    Professor James' videos are excellent for understanding the underlying theories behind financial engineering / financial analysis. The AnalystPrep videos were better than any of the others that I searched through on YouTube for providing a clear explanation of some concepts, such as Portfolio theory, CAPM, and Arbitrage Pricing theory. Watching these cleared up many of the unclarities I had in my head. Highly recommended.