[Thread Prev][Thread Next][Index]
[ferret_users] ave vs. sum and ngd
- To: ferret <ferret_users@xxxxxxxx>
- Subject: [ferret_users] ave vs. sum and ngd
- From: Peter Szabo <szabpet83@xxxxxxxxx>
- Date: Mon, 22 Jun 2009 11:31:40 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=pG1SYaHh4jJ+HWCRBUCS5zUZc3ugdQ87x051XYCZPLo=; b=oPD/68yWwv2yVXzwRHVdNnH+f0jSERXUscLECByMJCVE7B3LfBRsSnr4tHoBUQqgkq XfYUZRdYLAYFHpzganSNexBZ0t2QDMjgSlL0A4dt69MKP7YdM7WxeZcbnAgEzLQnOjb2 phglMOW8MmVeeuQIJGXifSeKwt5GmmNL4pcoo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EvFWkc0F/vr13SNbnH05vQNhrH01ZNubjPwu300VWJJuATg9c9Bz7OUIYHG5+bshNu asfsgIBel+otOY7uMYaFFSByi3WnyUjyZvaEGVXtHXd0P766fyiBUO1MRnXZvjE6jS6e udW6MjmBMyeaIdl5ORlv2lRP8vR4o1IK2seQc=
- Sender: owner-ferret_users@xxxxxxxx
Dear Users,
i know there is a difference between @ave and @sum, @ngd. It is not really a question, but still want to post it.
I list 3 timesteps:
yes? list/nohead temp[l=16:18]
16-MAR-1962 / 16: 1.74
16-APR-1962 / 17: 8.74
16-MAY-1962 / 18: 15.34
Here is the real average for it. The mean i guess.
yes? list/nohead temp[l=16:18@sum]/3
8.605
The (weighted) "average" is slightly different. Though if there is no missing value, they should be the same.
yes? list/nohead temp[l=16:18@ave]
8.643
Why is that weightening in @ave? The 3 timesteps are equivalent for me. I should just use the sum and dividing then?
If i use @var later on (which is also a weighted variance), should i use @ave then?
Thanks, Peter
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement