Thread Subject: quantifying the probability of obtaining a correlation by chance

Subject: quantifying the probability of obtaining a correlation by chance

From: Chris ODonnell

Date: 18 Oct, 2011 15:49:27

Message: 1 of 2

Hi,

Looking for a hand with this....

rhohat = corr(qq,ww)

rhohat = 0.316

how do I quantify the probability of obtaining this correlation coefficient by chance?


Thanks
Chris

Subject: quantifying the probability of obtaining a correlation by chance

From: Wayne King

Date: 18 Oct, 2011 16:09:26

Message: 2 of 2

"Chris ODonnell" wrote in message <j7k767$dor$1@newscl01ah.mathworks.com>...
> Hi,
>
> Looking for a hand with this....
>
> rhohat = corr(qq,ww)
>
> rhohat = 0.316
>
> how do I quantify the probability of obtaining this correlation coefficient by chance?
>
>
> Thanks
> Chris

use the pval output.

[rhohat,pval] = corr(qq,ww)

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
stats Chris ODonnell 18 Oct, 2011 11:54:29
rssFeed for this Thread

Contact us at files@mathworks.com