comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: significance probability when using CORRELATE?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: significance probability when using CORRELATE? [message #26675] Wed, 19 September 2001 12:48 Go to previous message
mchinand is currently offline  mchinand
Messages: 66
Registered: September 1996
Member
In article <bz6q7.28$N4.2123@news.uchicago.edu>,
Mike Chinander <mchinand@midway.uchicago.edu> wrote:

> For the calculation of the two-tailed significance (Ho: r=0) of a
> correlation coefficient I have been using the following code snippet:
>
> r=correlate(x,y)
> var=1/(n-3.0)
> zvalue = 0.5*alog((1+r)/(1-r))/sqrt(var)
> if (zvalue lt 0) then pvalue = 2*(gauss_pdf(zvalue)) $
> else pvalue = 2*(1-gauss_pdf(zvalue))
>

I forgot to add, n is the number of x-y pairs.


--
--
Michael Chinander University of Chicago
m-chinander@uchicago.edu (773)834-5101 (Voice) (773)702-0371 (Fax)
[Message index]
 
Read Message
Read Message
Previous Topic: significance probability when using CORRELATE?
Next Topic: Yes/No button widget

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:43:17 PDT 2025

Total time taken to generate the page: 0.88042 seconds