Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Average of Multiple Graphs

  1. Aug 13, 2012 #1
    I have 10 sets of data which I have to analyze. The data represents a change in voltage over time and I want to come up with an "average" curve to represent the 10 sets of data. The problem is that the time index for each data is different so I can't simply average the voltage. Is there any method which I can use to solve this problem? I've attached an image of the graph with 3 sets of the data so you understand what I'm dealing with. Thanks in advance.
     

    Attached Files:

  2. jcsd
  3. Aug 14, 2012 #2

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    I take it you have reason to believe that the three plots are for the same physics?

    The time index does not matter - just combine the three plots as a single set of ordered pairs (v,t). The time step ti-ti-1 need not be constant.
     
  4. Aug 14, 2012 #3
    Thanks for the reply. However I'm not just thinking of combining the graphs. I want a curve which is an average of all the data, for example a single spline curve which represents the data.
     
  5. Aug 14, 2012 #4
    That sounds suspiciously like a regression problem, but approaching it that way is going to be a little complicated (e.g. the errors are clearly not normally distributed).
     
  6. Aug 15, 2012 #5

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    Yeah - it's very skewed.
    ... and what problem was that?
    ... that's right, you need to use a weighted average.

    As Number-Nine says, this is a regression problem with non-normal statistics.
    You can, however, use the physics of the situation to guide the shape of the regressed curve - and then you have to decide what sort of regression you will be happy with.

    Of course, you can just make a guess to the curve and adjust the parameters by eye until you get something reasonable. The human visual system is quite good at this sort of thing but you may have to be more rigorous than that.
     
  7. Aug 15, 2012 #6

    haruspex

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    It's a bit hard to tell from the fog of datapoints, but it looks to me that the time axis problem is worse than merely having different sample instants; some of the datasets look stretched in time relative to others. Is that what you meant when you said the time index was different?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Average of Multiple Graphs
  1. Average deviations (Replies: 2)

  2. Average of function (Replies: 2)

  3. Statistical Average (Replies: 2)

Loading...