Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Excel - problem with trendlines

  • 07-08-2011 12:19pm
    #1
    Registered Users, Registered Users 2 Posts: 3,608 ✭✭✭


    I have a bunch of data points from some software and I need to interpolate between them to find the values at different points.

    The way I'm trying to do this is as follows: I'm plotting the points I have on an XY scatter in Excel, adding a trendline and using the interpolation function for the trendline to calculate the values at the chosen points.

    For some reason, the interpolation functions Excel gives me don't work. See below where I have used the equations on the chart to try to plot the line (to check if it worked). You can see that for the line above the x axis, the plot of the interpolation function quickly deviates and for the line below the x axis, it's slightly better but is still somewhat off. I am *certain* that I have input the correct function.

    excelinterpolation.jpg

    Does anyone know what might be causing this?

    EDIT: I have intentionally only tried to plot the interpolation functions for half of the total length along the x axis.

    Thanks


Comments

  • Moderators, Arts Moderators Posts: 10,520 Mod ✭✭✭✭5uspect


    You have to increase the number of digits in the returned equation a lot. Excel is retarded like that.

    Have you any rational for not using linear interpolation?


Advertisement