+ Reply to Thread
Results 1 to 4 of 4

Match data series

  1. #1
    Registered User
    Join Date
    07-06-2012
    Location
    Trondheim, Norway, Norway
    MS-Off Ver
    Excel 2010
    Posts
    7

    Post Match data series

    Hi,

    I want to use least squares method to compared some results with measured data. The only problem is that the points in the data series does not match. So my question is how can I do this?
    I though maybe it would be possible to plot the lines and then use least squares on the lines themselves. However I have not been able to get this to work. Next I though about editing the data series to make the points match. As the resolution of the series are quite good, I don't think it will make "too much of a difference". So, does anyone know how to manipulate two data series to match the points on the x-axis by linear interpolation in Excel?

    Very greatful for any help I can get

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Match data series

    I think this has had no real activity since there are so many questions...

    Generally, least squares is used for a single data series. You get a linear equation that best fits the data. Are you planning on getting a linear equation for the first series and then another equation for the second series? Or, are you trying to get some linear equation using both data series (which I'm not sure how you would do that unless the data can easily be merged)?

    If you just want to look at the two linear equations, use =LINEST().

    But, you have the statement of "the points in the data series does not match." What does that mean?
    One series of data is in seconds and the other is in minutes? If so, then just convert your data to a common measurement.
    Or, did the sampling not occur at the same frequency or timing? If so, then it should not be an issue since your regression will give you an equation for all of the series which you can use to interpolate points where the sampling does not match.

    Pauley

  3. #3
    Registered User
    Join Date
    07-06-2012
    Location
    Trondheim, Norway, Norway
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Match data series

    Hi Pauly,

    I have a set of simulations that I would like to compare against a data serie with measured data. I would like to do this by determining which of the simulations that are closest to the measured by using least squares. The main issue in this context is, like you mentioned, that the sampling does not occur at the same frequency. As the lines are rather complex it will be difficult to find and equation for them, but I though maybe linear interpolation could be used to make the points in time (x-axis) match, and then use the least square method to find which of the simulations that lies closes to the measured data. In addition, the series are of different length, so my question is how to make the points in time match for the simulations and measured values.

    Best regards,
    Eirik

  4. #4
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Match data series

    Not knowing what your data looks like I can't really say the best method to interpolate between points. At the extremes, it could be perfectly linear or it could be completely random. I would recommend looking at your data and determining how well a linear interpolation fits your data. It may work, and it is easy to calculate.

    As for comparing the two data sets, would CORREL be a better function?

    Pauley

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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