On Thu, Jun 05, 2003 at 04:54:32PM +0800, Cody Lo wrote: > I expect the 30min sample is the sum of the past six 5min samples and divide > by 6.
No, not the last. 30-minute samples define the interval from hh:00 to hh:30 and hh:30 to (hh+1):00 so they must be built from specific 5-minute intervals, not semi-random intervals such as "the past six". And yes, averages can be averaged into a longer interval: 300*10 + 300*20 + 300*30 + 300*40 + 300*50 + 300*60 = 300*(10+20+30+40+50+60) = 300*6 * ((10+20+30+40+50+60)/6) = 1800 * 35 HTH Alex -- Much of what looks like rudeness in hacker circles is not intended to give offence. Rather, it's the product of the direct, cut-through-the-bullshit communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
