+ Reply to Thread
Results 1 to 4 of 4

sliding periodic average?

  1. #1
    Registered User
    Join Date
    03-27-2008
    Posts
    3

    sliding periodic average?

    Excellers,

    I have a set of data from a cycling computer. The computer records my heart rate every second over the course of a given bike ride. So, I have two data columns, one is time and one is heart rate.

    I would like to use excel to find any/all of the 3 minute intervals during the ride when my heart rate averaged 160 beats per minute or greater. How do I accomplish this analysis? Seems like I need a sliding window, 3 minutes wide. The average calculated from each window, then post results of 160 or above. As an added complication, I would also like to identify the time interval that a given average came from.

    Thanks for any help or suggestions.

    James

  2. #2
    Registered User
    Join Date
    01-12-2004
    Location
    NY
    Posts
    92
    If it is not private info, could you post your cycling data set? I want to see how your date column is formatted, and how you are separating the different bike rides or days from one another as well as the duration of each cycle (15mins; 30 mins, et al).
    _________________
    Regards,
    nrage21

  3. #3
    Registered User
    Join Date
    03-27-2008
    Posts
    3

    not private

    I'd be happy to post the data but the files are at home and I am at work.

    I can tell you how the data is formatted though.

    The computer saves the data as a comma separated file. Each column has a name heading in the first row. The time is formatted as a decimal fraction of minutes and recorded every second (so there can be many time points for even a short ride). The heart rate is in another column and is a two or three digit whole number associated with a given time point. The computer also saves a bunch of other data: power, speed, and cadence, that appear in other columns.

  4. #4
    Registered User
    Join Date
    03-27-2008
    Posts
    3

    here is the data

    nrage21,

    Here is a text file in csv format.

    I have figured that I can use 'moving average' from the Data analysis menu and then filter the results to show only those averages above a given heart rate. Its a hack. If you have a more elegant solution that would be great.

    James
    Attached Files Attached Files

+ 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