Question about correlate. [message #19814] |
Fri, 21 April 2000 00:00 |
eak
Messages: 5 Registered: December 1998
|
Junior Member |
|
|
Greetings,
This one has me perplexed. I'm using correlate a sample and
predicted value.
kpfinite is the sample and prkpfinite is the predicted value.
IDL> lowkp = where(kpfinite lt 2.0, count)
IDL> print, correlate(kpfinite(lowkp), prkpfinite(lowkp))
0.532239
IDL> highkp = where(kpfinite ge 2.0, count)
IDL> print, correlate(kpfinite(highkp), prkpfinite(highkp))
0.723756
IDL> print, correlate(kpfinite, prkpfinite)
0.815049
My question is how is the total correlation gt then the correlation on
either of the two ranges, when clearly lt and gt 2.0 comprises the
entire range of Kp? It's
not clear if this is a stats question or a IDL programming problem on my
part. Any help appreciated.
ekihn@ngdc.noaa.gov
Eric Kihn
|
|
|