On Thu, 5 Apr 2001, Satoshi Ikarashi wrote:
> ST> > I understood how the average was decreased but I do not
> ST> > understand why ... Please let me know the reason.
> ST> >
> ST>
> ST> Suppose you only have two requests in your logfile, one at 1am and one at
> ST> 1pm on the same day. Then x = 2, m = 12 hours, but the correct rate is one
> ST> request every 12 hours, not 2 requests every 12 hours.
> ST>
> ST> Of course for most logfiles x is large and it doesn't make much difference.
>
> Thank you for the reply (and for developping analog).
>
> I understand what you mean. But I still want to know why the
> analog subtract 1 from the real requests.
>
I think the above example shows it best. The correct rate above is
(x - 1) / m.
Or extend that example. You have requests at 1am, 5am, 9am, 1pm. x = 4,
m = 12 hours, and analog calculates that the rate is
(x - 1) / m
= 3 / (12 hours)
= 1 / (4 hours).
Your formula, x / m, would give 1 / (3 hours) which is wrong.
I don't see how I can explain it any better than this.
--
Stephen Turner http://www.statslab.cam.ac.uk/~sret1/
Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
"Your account can only be used for a single internet session at any one
time and for no more than 24 hours in any one day." (NTL terms of use)
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
+------------------------------------------------------------------------