[pondus-dev] Trend component?
ricardo cabello
info at ricardocabello.com
Tue Dec 16 19:18:38 EST 2008
Hello there,
I was wondering if having this little feature would be something possible...
The idea is to have a new line on the Plot view. I'm not sure the name
of the component, I think it's Trend component. This line helps you to
see on average how you're doing. Usually stats go up and down, but you
don't know exactly if you are going up or down in average. With this
line you can see if you're going down easily once you add a new day
weight.
To get this line, you would count every number on the database and do this:
Day 1, 90, (Day 1) / 1 = 90
Day 2, 91, (Day 1 + Day 2) / 2 = 90.5
Day 3, 92, (Day 1 + Day 2 + Day 3) / 3 = 91
Day 4, 89, (Day 1 + Day 2 + Day 3 + Day 4) / 4 = 90.5
...
And so on.
It basically does kind a smooth to the stats and it's easier to see
what is going on.
As an example, I have this function on some stats of mine to keep
track of a website I run and, as you will see, it makes it easy to see
if the website is doing good or not.
http://xplsv.tv/xtats.php (yellow line)
Looking forward to hearing your thoughts,
Cheers!
--
Ricardo
More information about the pondus-dev
mailing list