Wrong Implementation
The average time statistics in the Line view is wrong.
If I have 7:59 for yesterday 4:01 for today, it shows 5:01 for 2-day average.
The error remains if I use 7-day, etc.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Niko on 28 May, 2019 11:19 AM
Hi Yudong,
The reason it shows a value of 5:01 for the second day, is that the averages are weighted. The further in the past the less weight the values are given.
If there are just two values to calculate the average from, then the weights are “3” for the current day and “1” for the day before.
I am using a weighted average so there are no unexpected “bumps” in the average graph and I think it makes more sense this way.
For example:
The app is set top 7-day average.
You have these values: …1,1,1,100,1,1,1...
Then on day 7 after the “100” day, the average graph would suddenly “fall” down to “1” again.
With the weighted average the graph slowly goes down to an average of “1”.
I hope this makes sense to you.
Thanks,
Niko
2 Posted by Yudong Tao on 29 May, 2019 04:14 PM
Dear Niko:
Your explanation kind of make sense. But for my personal usage, it is more useful to have normal average value.
Could you kindly add an option or allow the user to specify the weight?
Thanks,
Yudong Tao
Support Staff 3 Posted by Niko on 31 May, 2019 10:31 AM
Hi Yudong,
In this case I have to use the implementation that is useful to most people. Otherwise the user interface would get cluttered quickly. Also most people wouldn’t know what a weight function is and would get confused.
What I could do is add a hidden option (that appears after hitting a key shortcut), that allows you to enter some kind of weight function.
Niko
4 Posted by Yudong Tao on 31 May, 2019 03:48 PM
Dear Niko:
That will be really helpful.
Regards,
Yudong Tao
Support Staff 5 Posted by Niko on 26 Jun, 2019 10:11 AM
Hi Yudong,
I have just released an update to Timelime on the App Store that adds the functionality requested by you:
When you hold down the shift-key while selecting “Line” chart view in the app window, the values used to calculate the averages will all have equal weights (instead of the default using a weight function).
I hope this suits your needs.
Have a good one,
Niko
6 Posted by Yudong Tao on 26 Jun, 2019 02:40 PM
Thanks!
Regards,
Yudong Tao