Skip to main content
edited tags
Link
added 150 characters in body
Source Link

Suppose I have a list of times corresponding to event onset over the course of about an hour (in my case, skin conductance responses from electrodermal activity measurements). The amplitude of the spikes is arbitrary.

I would like to see when these events are most frequent as a measure of spikes per minute. I am thinking I'd like to do this using a moving average of the sum of spikes per minute.

I am thinking I can assign a value of 1 at each time point of event onset and then sum them up over the preceding minute, but don't know how to do this with a moving average.

edit: I suppose I can also calculate the frequency of points via Fourier, but not sure how to plot the change in frequency as a function of time.

Suppose I have a list of times corresponding to event onset over the course of about an hour (in my case, skin conductance responses from electrodermal activity measurements). The amplitude of the spikes is arbitrary.

I would like to see when these events are most frequent as a measure of spikes per minute. I am thinking I'd like to do this using a moving average of the sum of spikes per minute.

I am thinking I can assign a value of 1 at each time point of event onset and then sum them up over the preceding minute, but don't know how to do this with a moving average.

Suppose I have a list of times corresponding to event onset over the course of about an hour (in my case, skin conductance responses from electrodermal activity measurements). The amplitude of the spikes is arbitrary.

I would like to see when these events are most frequent as a measure of spikes per minute. I am thinking I'd like to do this using a moving average of the sum of spikes per minute.

I am thinking I can assign a value of 1 at each time point of event onset and then sum them up over the preceding minute, but don't know how to do this with a moving average.

edit: I suppose I can also calculate the frequency of points via Fourier, but not sure how to plot the change in frequency as a function of time.

Source Link

Moving average of events per minute

Suppose I have a list of times corresponding to event onset over the course of about an hour (in my case, skin conductance responses from electrodermal activity measurements). The amplitude of the spikes is arbitrary.

I would like to see when these events are most frequent as a measure of spikes per minute. I am thinking I'd like to do this using a moving average of the sum of spikes per minute.

I am thinking I can assign a value of 1 at each time point of event onset and then sum them up over the preceding minute, but don't know how to do this with a moving average.