+ Reply to Thread
Results 1 to 3 of 3

Interpolation and Extrapolation of data without using Trend line.

  1. #1
    Registered User
    Join Date
    10-20-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    1

    Interpolation and Extrapolation of data without using Trend line.

    Hello all,

    I have attached a sheet below, which contains a table of values ( time v/s reduced water level) from this table I want to extract the data or extrapolate the data which should be logical and should match with the trend of the taken values.I have tried trend line in this table but trend line does not always work because sometimes the trend goes like a sin curve over the whole period of time and there is no such trend line equation which I can use to write a sin or cos equation to logically represent these values over a whole range of time abscissa.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Interpolation and Extrapolation of data without using Trend line.

    Since you will ultimately be deciding what is "logical", this sounds like a problem the Solver may be useful for. See here: http://www.excelforum.com/excel-gene...trendline.html
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

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

    Re: Interpolation and Extrapolation of data without using Trend line.

    When the desired trendline is not available in the chart trendline feature, then you need to build your own trendline in the spreadsheet. I envision a process something like this:

    1) Select the desired function. This is not really an Excel specific question. Another complication. If I follow your example spreadsheet, the two examples you give are so different, that I am not sure they will both be represented by the same function (unless you want to get mathematically intense and do something like Fourier transforms).

    2a) If the function is "linear" (in a linear algebra sense, so it is much more than straight lines), then you can use a linear regression algorithm via Excel's LINEST() function. These same linear regression algorithms are used by the chart trendline, so the LINEST() function should give the same result as the chart trendline if you choose the same function type. Using the LINEST() function in the spreadsheet can be much more flexible than the chart trendlines.
    2b) If the function is non-linear, then you will need to use non-linear regression techniques. Excel does not have any of these pre-programmed in, so you will need to program Excel to perform the non-linear regression. This usually involves entering reasonable first guesses for the parameters of your chosen function, computing estimated y values for each point, computing an "objective function" (SUMXMY2() or other "goodness of fit" measure), then using Excel's Solver utility to optimize the objective function by changing the function's parameters. For example, you can use a general sine function with amplitude, period, and phase shift as the parameters (can I assume you remember these from trigonometry?) then regress a best fit sine curve by adjusting these three parameters using Solver.
    3) Evaluate the regression to see if it is adequate for what you are doing.
    4) Perform interpolation and extrapolation as desired.
    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. Exponential Interpolation - Growth/Logest/Trend?
    By ExcelNewbie4 in forum Excel General
    Replies: 15
    Last Post: 04-16-2014, 04:25 AM
  2. [SOLVED] Trend Line among multiple data sets
    By RageWithBears in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-21-2014, 10:52 AM
  3. Exponential Trend Line Is Off From Input Data
    By Ryepod in forum Excel General
    Replies: 1
    Last Post: 12-06-2013, 01:56 PM
  4. Replies: 2
    Last Post: 11-18-2012, 11:20 AM
  5. Extrapolation and Interpolation Questions
    By wenlianglo in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-08-2010, 04:05 PM
  6. Extrapolation and Interpolation questions
    By wenlianglo in forum Excel General
    Replies: 2
    Last Post: 03-04-2009, 12:57 PM
  7. Replies: 0
    Last Post: 07-24-2008, 02:27 PM
  8. Linear interpolation/extrapolation module - input?
    By DocM in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-27-2008, 09:43 PM

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