+ Reply to Thread
Results 1 to 2 of 2

Math Geeks Wanted - Model charts a Discontinuous Function - Trendline Formula Needed

  1. #1
    Registered User
    Join Date
    06-19-2008
    Posts
    63

    Lightbulb Math Geeks Wanted - Model charts a Discontinuous Function - Trendline Formula Needed

    Hello,

    I am looking at the effects that diesel gas prices had on what we paid in fuel surcharges to our various carriers 2014. I am comparing this to what we would have paid if our diesel budget $ for 2014 was on target. Each carrier or type of carrier has a different fuel surcharge matrix and this is incorporated into the model.

    I found that keeping a Canadian Dollar (CAD) exchange rate constant at what we budgeted (affects some lanes), we saved $235k on fuel surcharges. $3.95/gal budget vs $3.824/gal average of National No. 2 Diesel.

    So for this year, I wanted to be able to track and explain variances on our logistics costs based on what we budgeted this year ($4.14/gal) and what the actual diesel prices turn out to be. So I was trying to do a sensitivity analysis and try to come up with a formula, which I've done many times in the past for other things.

    Usually, when trying to find a trend line I would input various values into the model I was working with, take the outputs which the model spits out, and put them in a scatter plot to see the relationship via a linear trend line and displaying the formula and R-value.

    In the attached model, cell E1 of the "Model" tab would be input and the "$/Unit of Measure effect" (cell AA10) is the output.

    However, as you can see in the "Charts and Formula" tab, I plotted the inputs/outputs and it doesn't seems to be a linear function at all. When I add a Moving Average Trendline, I get a graph of what I believe is a Discontinuous Function.


    I do have limited experience with data graphs and trend lines, so I am wondering if I am doing something wrong and if someone is able to help me figure out a good formula to use going forward?

    I've removed some sensitive information from the model before uploading, but nothing that affects calculations.


    Thank you for any help and insight you can provide!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,813

    Re: Math Geeks Wanted - Model charts a Discontinuous Function - Trendline Formula Needed

    Off the top of my head, I would say a hyperbolic y=1/x type function. Or, in a more generic form. We assume the vertical asymptote is at x=0 and a horizontal asymptote at some y=b, and you can come up with y-b=a/x where you regress a and b based on the data.
    Last edited by MrShorty; 01-20-2015 at 12:49 AM.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Math function to excel formula
    By martix in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-20-2013, 08:21 PM
  2. Replies: 1
    Last Post: 06-17-2012, 03:26 PM
  3. hew model formula needed....but the spec is in word
    By StuckonExcel123 in forum Excel General
    Replies: 0
    Last Post: 02-20-2012, 04:12 PM
  4. Model for Calculating the best insurance wanted!!
    By coldplay4155 in forum Excel General
    Replies: 1
    Last Post: 06-11-2008, 08:11 PM
  5. Replies: 3
    Last Post: 02-16-2006, 07:00 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1