Question: what is the formula for correlation?
Answer: mx and my are the means of x and y variables. the p-value (significance level) of the correlation can be determined : by using the correlation coefficient table for the degrees of freedom : df=n−2. or by calculating the t value : t=r√1−r2√n−2.