+ Reply to Thread
Results 1 to 5 of 5

[SOLVED] Maximum value for interpolation

  1. #1
    ile
    Guest

    [SOLVED] Maximum value for interpolation

    Hi
    I have a curious problem with interpolated data. My data is particle size
    distribution (0-100%), where the last proportion is added to next. The last
    values are about 97% and after that are 2-3 blank cells before the maximum
    value 100%.

    I have plotted the data into XY-scatter chart and interpolated the empty
    cells with smoothed lines. The interpolation gives curves that go above 100%
    after the said 97% value and return to the maximum 100% in the end. The
    interpolation is ok with straight lines, but this way the presentation is not
    quite accurate.

    My question is that is it possible to set maximum value for interpolated
    values i.e. 100%? Please advise.

  2. #2
    Bernard Liengme
    Guest

    Re: Maximum value for interpolation

    It is not clear what you mean by "and interpolated the empty cells with
    smoothed lines".
    May I suggest you fill the empty cells with =NA(). This will display as #N/A
    Excel will ignore these when making the chart.
    Please return with further details
    best wishes
    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "ile" <[email protected]> wrote in message
    news:[email protected]...
    > Hi
    > I have a curious problem with interpolated data. My data is particle size
    > distribution (0-100%), where the last proportion is added to next. The
    > last
    > values are about 97% and after that are 2-3 blank cells before the maximum
    > value 100%.
    >
    > I have plotted the data into XY-scatter chart and interpolated the empty
    > cells with smoothed lines. The interpolation gives curves that go above
    > 100%
    > after the said 97% value and return to the maximum 100% in the end. The
    > interpolation is ok with straight lines, but this way the presentation is
    > not
    > quite accurate.
    >
    > My question is that is it possible to set maximum value for interpolated
    > values i.e. 100%? Please advise.




  3. #3
    Jerry W. Lewis
    Guest

    RE: Maximum value for interpolation

    I agree with Bernad that your question is less than clear.

    You can do nonlinear interpolation among more than 2 points. The chart
    smoother appears to fit Bezier curves

    http://www.xlrotor.com/Smooth_curve_...ample_file.zip

    which in most instances is not greatly different than cubic splines

    http://groups.google.com/group/micro...2966520eccdb1f

    However, neither does a great job with monotonic curves that plateau
    asymptotically (like a cdf or the tail of a pdf). For a monotonic curve that
    plateaus, you may prefer to fit
    y=(a+b*x)/(1+c*x)
    which can be linearized to y = a+b*x-c*x*y in order to solve for the unknown
    coefficients (a,b,c). When c=0, this reduces to linear interpolation.

    Jerry

    "ile" wrote:

    > Hi
    > I have a curious problem with interpolated data. My data is particle size
    > distribution (0-100%), where the last proportion is added to next. The last
    > values are about 97% and after that are 2-3 blank cells before the maximum
    > value 100%.
    >
    > I have plotted the data into XY-scatter chart and interpolated the empty
    > cells with smoothed lines. The interpolation gives curves that go above 100%
    > after the said 97% value and return to the maximum 100% in the end. The
    > interpolation is ok with straight lines, but this way the presentation is not
    > quite accurate.
    >
    > My question is that is it possible to set maximum value for interpolated
    > values i.e. 100%? Please advise.


  4. #4
    ile
    Guest

    RE: Maximum value for interpolation

    Hi
    Thanks Jerry and Bernard for replies. I tried Bernards NA -trick, but it
    didn't do anything for the chart. Jerrys bezier example is somewhat close to
    the answer, but I can't figure out how the function works. The programming
    example is way too difficult for my skills with excel.

    I try to be more clearer with my problem. I attach part of my data in
    question. Maybe this will clarify. The top row is sieving slot size (in mm)
    and the other three results as percentage.

    20 30 40 45 60 78 100
    60,8 85,3 98,3 100,0
    98,0 100,0
    90,5 97,5 100,0

    As you see the data is not comparable unless I put it in same chart. The
    interpolation I did, makes the curve rise above 100%. So I want the
    interpolated curve gradually rise to end at 100% and not going above 100%.

    Hope you can help. Many thanks.

    "Jerry W. Lewis" wrote:

    > I agree with Bernad that your question is less than clear.
    >
    > You can do nonlinear interpolation among more than 2 points. The chart
    > smoother appears to fit Bezier curves
    >
    > http://www.xlrotor.com/Smooth_curve_...ample_file.zip
    >
    > which in most instances is not greatly different than cubic splines
    >
    > http://groups.google.com/group/micro...2966520eccdb1f
    >
    > However, neither does a great job with monotonic curves that plateau
    > asymptotically (like a cdf or the tail of a pdf). For a monotonic curve that
    > plateaus, you may prefer to fit
    > y=(a+b*x)/(1+c*x)
    > which can be linearized to y = a+b*x-c*x*y in order to solve for the unknown
    > coefficients (a,b,c). When c=0, this reduces to linear interpolation.
    >
    > Jerry
    >
    > "ile" wrote:
    >
    > > Hi
    > > I have a curious problem with interpolated data. My data is particle size
    > > distribution (0-100%), where the last proportion is added to next. The last
    > > values are about 97% and after that are 2-3 blank cells before the maximum
    > > value 100%.
    > >
    > > I have plotted the data into XY-scatter chart and interpolated the empty
    > > cells with smoothed lines. The interpolation gives curves that go above 100%
    > > after the said 97% value and return to the maximum 100% in the end. The
    > > interpolation is ok with straight lines, but this way the presentation is not
    > > quite accurate.
    > >
    > > My question is that is it possible to set maximum value for interpolated
    > > values i.e. 100%? Please advise.


  5. #5
    Jon Peltier
    Guest

    Re: Maximum value for interpolation

    Here's my 2¢:

    The only reason Excel put the Smoothed Lines feature into the charts is so
    management slides look nice. Using smoothed lines is potentially misleading,
    particularly if the data points are not indicated with markers. Use straight
    lines connecting the points and avoid misrepresentation of the gaps between
    the actual data.

    - Jon
    -------
    Jon Peltier, Microsoft Excel MVP
    Peltier Technical Services
    Tutorials and Custom Solutions
    http://PeltierTech.com/
    _______

    "ile" <[email protected]> wrote in message
    news:[email protected]...
    > Hi
    > I have a curious problem with interpolated data. My data is particle size
    > distribution (0-100%), where the last proportion is added to next. The
    > last
    > values are about 97% and after that are 2-3 blank cells before the maximum
    > value 100%.
    >
    > I have plotted the data into XY-scatter chart and interpolated the empty
    > cells with smoothed lines. The interpolation gives curves that go above
    > 100%
    > after the said 97% value and return to the maximum 100% in the end. The
    > interpolation is ok with straight lines, but this way the presentation is
    > not
    > quite accurate.
    >
    > My question is that is it possible to set maximum value for interpolated
    > values i.e. 100%? Please advise.




+ 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