+ Reply to Thread
Results 1 to 9 of 9

Extrapolate Data

  1. #1
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299

    Extrapolate Data

    Can someone show me how to extrapolate data to the end of the month. I have supplied a file with actual data, I plotted the data and created a trendline. I think I need to use the LINEST function, but can't figure it out.
    Thankyou.
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Extrapolate Data

    You can write formula y = -2E-05x4 + 0,0013x3 - 0,0248x2 + 0,1341x + 3,9907 as =power(F4;4)*2*exp(-5)... etc

  3. #3
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299

    Re: Extrapolate Data

    Could you give me an in cell example? I'm looking to forecast days 28,29,30,31.

    Thank you.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Extrapolate Data

    =-2*power(10;-5)*power(day(e2);4)+0,0013*power(day(e2);3)-0,0248*power(day(e2);2)+0,1341*day(e2)+3,9907

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Extrapolate Data

    1. Select H1:H5 and array-enter =TRANSPOSE(LINEST(F2:F28, D2:D28 ^ {1,2,3,4} ) ) to see the parameters of the trendline (i.e., confirm with Ctrl+Shift+Enter)

    2. Continue columns D and E down four more rows (to the 31st)

    3. In F29 and copy down, =SERIESSUM(D29, 4, -1, $H$1:$H$4) + $H$5
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299

    Re: Extrapolate Data

    Thankyou all for the replies.

    Shg,
    If I were to change the order of the polynomial, say to 5. Am I correct in assuming that I would need to adjust:
    1. Select H1:H6 and array-enter =TRANSPOSE(LINEST(F2:F28, D2:D28 ^ {1,2,3,4,5} ) )

    3. In F29 and copy down, =SERIESSUM(D29, 5, -1, $H$1:$H$5) + $H$6.


    Thankyou.

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Extrapolate Data

    You are correct.

    That said, I think most garden-variety data isn't polynomial in behavior, and especially odd-order polynomial. Sure you're using the right type of function?

  8. #8
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299

    Re: Extrapolate Data

    Well, to be honest, no..but I'm working on that. Would you know of any links that could provide some info on the different types of functions? I'm also trying to lean the different types of forecasting one can do in excel. Would you know how to apply an exponential moving average to my data set to forecast the other days?

    Thank you for your time and help.

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Extrapolate Data

    An exponential moving average (EMA) over N periods is, I believe, computed as follows:

    1. The first EMA appears in period N, and is the average price over the N periods.

    2. For all subsequent EMAs (starting with period N+1)

    EMA(k+1) = P * price + (1-P) * EMA(k)

    where P = 2 / (N+1)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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