Scale Trend Question - “moving average”

Options
kiela64
kiela64 Posts: 1,447 Member
So I’m not the most mathematically inclined person. I remember how to calculate a mean average (all the numbers divided by how many numbers there are). But I know my weight tracking app (happy scale) is doing a little more sophisticated mathematics than I can follow.

For example this “moving average” business. Is it calculated like a regular mean? I don’t really know. And then there’s this:

d9g56a3930er.jpeg

They have another calculator for a different kind of average, but I don’t really know what that means. I only know that if I use the “moving average” I get a number above my lowest weight and if I use this other “suggested” setting it ends up being below. Which I find confusing.

So this suggested setting gives me this, which tells me my average is below my lowest weight, which I find confusing.

0l0ixbaf2r6n.jpeg

1aq405nazb1u.jpeg

And if I turn it off I get this:

kz4tgklaethb.jpeg
fthifxx8m81x.jpeg

I don’t really know what these things are doing or what they mean. If someone could help me interpret it, or knows what it is that it’s tracking in the different settings, that would be helpful to decide which is most useful for me to use. Thank you!

Replies

  • AnnPT77
    AnnPT77 Posts: 32,419 Member
    Options
    I don't use Happy Scale (I don't buy Apple products), so I can't explain it specifically, but I'll take a shot at explaining the different kinds of averages, trying not to get too math-y.

    A simple moving average just means that you're averaging N days, and when you add a new (more recent) day's data, you drop the oldest day, to keep the number of days the same. So, if it's a 7-day moving average, on Monday before you add today's data, the moving average would be averaging the data from the preceding Monday through Sunday (i.e., through yesterday, in this example). When you add your Monday data, you drop the preceding Monday out of the averaging, so the 7-day moving average is now the average of the preceding Tuesday through Monday (i.e. through today, in this example). It's just regular old averaging, but of the most current N days (whatever number of days it's using - in Libra on Android, you can change the number of days in the settings for some of this stuff).

    A weighted moving average, in concept, is a way of saying recent days are more important, and should count more. So, it multiplies each day by some weighting factor, with bigger weighting factors used for more recent days. Then, instead of dividing by the number of days, it has to divide by a number that takes the weighting into account. But, again, it's pretty much an average of the days with more recent ones counting more heavily in the average.

    I'm not capable of truly explaining the exponential moving average idea, but maybe I can give you the rough concept. It's hard to explain simply. In the weighted average version described just above, the weighting factors decline in a linear, arithmetic way. In a normal 7-day weighted average, maybe today's weight counts as itself times 7, yesterday counts times 6, the day before times 5, etc. The exponential moving average changes the weighting so that the older the day is, the bigger the "discount" for that day. (It's kind of like savings account interest compounding, only in reverse). Every successively earlier day's weighting factor is not just a standard even-sized stairstep down as it would be with the regular (non-exponential) weighted moving average, but with every step into the past, the steps get gradually bigger. How rapidly the steps get bigger can differ in variants of the exponential moving average.

    Sorry, that last one was bad! :( Oh, well, I tried.

    If you can tolerate formulas, the Wikipedia article may be helpful: https://en.wikipedia.org/wiki/Moving_average . For the exponential moving average part, it will help if you know what recursion is. ;)
  • kiela64
    kiela64 Posts: 1,447 Member
    edited May 2018
    Options
    Oh I could follow this, thank you so much!!! I remember high school exponentials, so I can get the concept, if not actually do the math myself.

    Definitely not a fan of that one, I think I’ll stick to the simple one because I can toggle between them. I do wish they explained how many days it was for the moving average though. I would like a 7 or 10 day moving average, but if it’s all weights recorded from the beginning of time that’s less awesome.

    I also would prefer a weighted average to this exponential one. That isn’t offered on this app sadly. Maybe another app would be better in that regard, I just loved the simplicity and the aesthetic of this one. :p
  • tinkerbellang83
    tinkerbellang83 Posts: 9,107 Member
    Options
    kiela64 wrote: »
    Oh I could follow this, thank you so much!!! I remember high school exponentials, so I can get the concept, if not actually do the math myself.

    Definitely not a fan of that one, I think I’ll stick to the simple one because I can toggle between them. I do wish they explained how many days it was for the moving average though. I would like a 7 or 10 day moving average, but if it’s all weights recorded from the beginning of time that’s less awesome.

    I also would prefer a weighted average to this exponential one. That isn’t offered on this app sadly. Maybe another app would be better in that regard, I just loved the simplicity and the aesthetic of this one. :p

    You can adjust the days on Libra (trend weight app for Android)
  • kiela64
    kiela64 Posts: 1,447 Member
    Options
    kiela64 wrote: »
    Oh I could follow this, thank you so much!!! I remember high school exponentials, so I can get the concept, if not actually do the math myself.

    Definitely not a fan of that one, I think I’ll stick to the simple one because I can toggle between them. I do wish they explained how many days it was for the moving average though. I would like a 7 or 10 day moving average, but if it’s all weights recorded from the beginning of time that’s less awesome.

    I also would prefer a weighted average to this exponential one. That isn’t offered on this app sadly. Maybe another app would be better in that regard, I just loved the simplicity and the aesthetic of this one. :p

    You can adjust the days on Libra (trend weight app for Android)

    Thank you! Unfortunately it doesn’t appear to be on IOS. There is one that requires the syncing scale, but not one that does not.