[Thread Prev][Thread Next][Index]

[ferret_users] correlation coefficient using variance.jnl



Hello,
I've encountered a problem while calculating correlation using the 
'variance.jnl' between 2 variables: isorama and ISOAIRS.

When I choose p = isorama & q = isoairs to run variance.jnl, the  
correlation coefficient is 0.2269. But when p and q are reversed
(i.e., p = isoairs & q = isorama ), the correlation is undefined. 

Shouldn't the corr. coeffs be same irrespective of the order of the 
variables for simultanoeus correlation?

Pls see below for the commands I used in both cases and the ferret 
calculations.
1) let p = isorama[k=1]; let q = isoairs[k=1]; go variance ; li correl

             VARIABLE : CORRELATION OF P AND Q
             FILENAME : RH_1s90e_03_04.nc
             LONGITUDE: 90E
             LATITUDE : 1.5S
             DEPTH (m): -3
             TIME     : 31-DEC-2002 12:00 to 08-JUN-2004 12:00
          0.2269

2) let p = isoairs[k=1]; let q = isorama[k=1]; go variance ; li correl
 
             VARIABLE : CORRELATION OF P AND Q
             FILENAME : RH_1s90e_03_04.nc
             LONGITUDE: 89.5E
             LATITUDE : 1.5S
             HEIGHT (millibar): 1000
             TIME     : 31-DEC-2002 12:00 to 08-JUN-2004 12:00
        ....

I use FERRET v6.2 on OpenSuse 11.0. Any help is appreciated. 
Thank you
Sindu

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement