For the nerds in you! TDEE estimation, with graphs :)

Options
Hi there again!

I'm a hopeless data lover - I believe the best way to deal with a problem is to study and understand it, because then you can control it, and I've been approaching weight loss the same way - by weighing myself daily and keeping an accurate journal (to the best of my abilities).

I've already posted some graphs on daily weight fluctuations, plateaus etc., and if you're still upset with your scales or get discouraged by what they show, you might want to check that post: http://www.myfitnesspal.com/topics/show/1098806-newbie-loss-plateaus-and-weight-loss-math-with-graphs

Lately I've been trying to avoid work, so I turned to my weight loss data again, and produced a lot of very nerdy plots related to TDEE estimation from actual data. Hopefully it may give some of you ideas on how to kill your time, or help you figure out what's wrong if things don't work as well as planned.

So here we go. I have this excel file that looks like this:
24b4zro.png
Stuff in boldface is entered manually (daily weigh-ins, calories in, calories out, workout duration), while the rest is automatically calculated as follows:

1. Net calories = calories in - calories out

2. BMR (I used Mifflin St Jeor formula, you're free to put whichever you like) = 10*(weight in kg) + 6.25*(height in cm)-5*age+s, where s=-161 for women and +5 for men. The weight there is actually the "Expected Real weight" column defined lower. This is to compensate for the fact that BMR drops in time, as we lose weight.

3. Net Corrected = Net calories + [BMR column]/1440*[Workout duration column], where 1440 is the minutes in a day.
(This is basically to subtract the equivalent of BMR for the time of your workouts, as HMRs / MFP estimates do not do so, and you're calculating your BMR calories during workout twice)

4. TDEE sedentary (without workout) = [BMR column] * TDEE coefficient cell (which is what we're trying to calculate, I started with the default of 120%, corresponding to "sedentary")

5. Deficit = TDEE sedentary - Net Corrected

6. Expected weight loss = Deficit/7700, where 7700 is the amount of calories needed to lose 1 kg of fat

7. Expected "real" weight = (expected "real" weight of the previous day) - (expected weight loss of the previous day). The first value in this column is set manually, and as a default I took the initial weight the normal linear trend (right click -> add trendline) indicates (another small thing we can try to estimate!)

8. Expected "scale" weight = Expected "real" weight + c, where c is a constant estimating average amount of weight in your stomach. This one is really just for crazy nerds like me:P

With this setup, we can already try to see if our expected loss matches our real loss:
2l95wlg.png
By varying the TDEE coefficient we can obtain several expected weight estimates. Once you hit a line that sort of fits - that's about it! :)

But if you're nitpicky like me, or you haven't been very consistent with your net calories (you can "identify" that by looking at how "straight" the estimated "real" weight line is - mine for example is straight enough), then you can go further and get the ACTUAL relationship between expected weight and real weight, by generating an XY scatterplot:
2db4iyv.png
Add a trendline, go to "Format trendline" and tick "display equation" and "R value".
Now what you want is to get as close as possible to y(actual weight)=x(expected weight). If y > 1x+…, decrease the TDEE coeff, if y<1x+…, increase it. Play around until it hits y=1x+… If the coefficients get close but the "real" weight starts being consistently too high (or too low), readjust the initial "real" weight, to line it up as nicely as possible.
Finally, if you're really bored, you can calculate the expected "Scale" weight (what you're likely to see on the scales, not the weight of your empty body) by playing with the coefficient in column 8 until you hit y=1x+0, like this:
d49p0.png

And here's how they look on the initial graph:
2i25fp.png

There. Now I need to get back to do some real work!
«13456

Replies

  • lcfairbairn74
    lcfairbairn74 Posts: 412 Member
    Options
    The geek in me is overjoyed!! :happy: Thanks for sharing this!! :drinker:
  • hannah_ryann
    hannah_ryann Posts: 259 Member
    Options
    BUMP!! You're seriously the best.
  • AnotherOrangeCat
    Options
    Ohhhh, data! :love: :love: :love:

    OK, I think I'm now ready to go figure out my own BMR and TDEE. Thank you!
  • QuietBloom
    QuietBloom Posts: 5,413 Member
    Options
    Yes! More of this! I have bookmarked your previous post and use it frequently for people experiencing 'plateaus'. :drinker:
  • Chevy_Quest
    Chevy_Quest Posts: 2,012 Member
    Options
    This is just so awesome! I love numbers!!! :drinker:
  • nelinelineli
    nelinelineli Posts: 330 Member
    Options
    I've uploaded my excel file, if anyone is interested in giving it a try. In order to see the graphs, you need to download the file and open it with MS Excel / LibraOffice.

    https://docs.google.com/file/d/0BzJL1pqFDyG4cnRiRGduQWM5Y3M/edit?usp=sharing
  • xDawnsgrace
    Options
    i don't understand half of this, but this is awesome.

    Go you! :smile:
  • joshdann
    joshdann Posts: 618 Member
    Options
    oh noes! you're addicted to the scale!

    *chuckle*

    good stuff! I loves me some data.
  • BreakinTheChains
    BreakinTheChains Posts: 381 Member
    Options
    this is awesome.. love me some data :)
  • nelinelineli
    nelinelineli Posts: 330 Member
    Options
    oh noes! you're addicted to the scale!

    *chuckle*

    good stuff! I loves me some data.

    Haha, oh I'm a true MFP heretic! I also eat below my BMR and net below 1200.
    Should I hide from the crowds that cry "burn the witch" ?
  • rlotze
    rlotze Posts: 29 Member
    Options
    Love it!
  • dylanafghjkl
    dylanafghjkl Posts: 76 Member
    Options
    This is beautiful!
    Thank you!



    Edit:
    Uh, I'm not very well versed in Excel, if I wanted to use your document thing as a template, I figure it'd be pretty easy to get rid of your data in the columns with bold type, but would it be possible to use an earlier starting date/later ending date and stuff???
  • livedb
    livedb Posts: 45 Member
    Options
    Great posts!! Last one lead me here. Love em all! I will download it and try to put in my info If I can.

    I go a week with just a little movement, and am told I need to eat more. I think a Plato needs to be longer than a week. :ohwell:

    In the end, I'm still kickin butt!! :wink: I only started in May.
  • XimeTheFirst
    XimeTheFirst Posts: 38 Member
    Options
    I think I just fell in love with your brain.
  • amflautist
    amflautist Posts: 941 Member
    Options
    You are seriously my type of woman. Going to fire up excel and start measuring as soon as the sun comes up. Thank you for an inspiring post!
  • amflautist
    amflautist Posts: 941 Member
    Options


    Haha, oh I'm a true MFP heretic! I also eat below my BMR and net below 1200.
    Should I hide from the crowds that cry "burn the witch" ?

    Lol, yeah! Burn me too!

    Seriously, nowadays I just flush any friends who start questioning my plan. Got tired of trying to 'splain. At 72, shouldn't have to explain anything!
  • nelinelineli
    nelinelineli Posts: 330 Member
    Options
    This is beautiful!
    Thank you!



    Edit:
    Uh, I'm not very well versed in Excel, if I wanted to use your document thing as a template, I figure it'd be pretty easy to get rid of your data in the columns with bold type, but would it be possible to use an earlier starting date/later ending date and stuff???

    Yes you can change the date as well, just insert your initial date in the first row and then drag the column down. Excel will automatically complete it :D
    If you have any issues feel free to ask me I can help you set it up.
  • gigglesinthesun
    gigglesinthesun Posts: 860 Member
    Options
    I am overjoyed, there is never enough data, however I still refuse to get on the scales the day after I had pizza :-)
  • nelinelineli
    nelinelineli Posts: 330 Member
    Options
    Bump. You made the nerd in me happy with your charts and calculations. :smile: May have to try and set up my own spreadsheet.

    You can download mine to get you started. Link just few posts up:)
  • nelinelineli
    nelinelineli Posts: 330 Member
    Options
    I am overjoyed, there is never enough data, however I still refuse to get on the scales the day after I had pizza :-)

    Haha, Well, I had 5 pizzas over that time, and only one bumped my weight up. :D