7.2 Mean Firing Rate
In the next few sections, we introduce some important concepts commonly used for the statistical description of neuronal spike trains. Central notions will be the interspike interval distribution, (Section 7.3), the noise spectrum (Section 7.4), but most importantly the concept of ‘firing rate’ which we discuss first.
| A |
![]() |
| B |
![]() |
| C |
![]() |
| D |
![]() |
Fig. 7.5: Variability in a deterministic model network of 8000 excitatory and 2000 inhibitory neurons, both modeled as leaky integrate-and-fire neurons. A. Voltage trace as a function of time for a single model neuron. Spikes (vertical lines) are generated whenever the membrane potential (solid line) hits the firing threshold. B. Spike raster of 100 neurons in the network. Spike times (dots) of a single neuron appear along a horizontal line. C. Population activity as a function of time, measured by averaging across the spikes of the subpopulation of 100 neurons shown in B. From time s to s, all neurons in this population receive a nonzero input. D. Input to the subpopulation of 100 neurons. Simulation results courtesy of F. Zenke and T. Vogels (539).
A quick glance at the experimental literature reveals that there is no unique and well-defined concept of ‘mean firing rate’. In fact, there are at least three different notions of rate which are often confused and used simultaneously. The three definitions refer to three different averaging procedures: either an average over time, or an average over several repetitions of the experiment, or an average over a population of neurons. The following three subsections will revisit in detail these three concepts.
7.2.1 Rate as a Spike Count and Fano Factor
The first and most commonly used definition of a firing rate refers to a temporal average. An experimentalist observes in trial the spikes of a given neuron (see Fig. 7.6). The firing rate in trial is the spike count in an interval of duration divided by .
| (7.1) |
The length of the time window is set by the experimenter and depends on the type of neuron and the stimulus. In practice, to get sensible averages, several spikes should occur within the time window. Typical values are ms or ms, but the duration may also be longer or shorter.
This definition of rate has been successfully used in many preparations, particularly in experiments on sensory or motor systems. A classical example is the stretch receptor in a muscle spindle (9). The number of spikes emitted by the receptor neuron increases with the force applied to the muscle.
Fig. 7.6: The spike count measure: Definition of the mean firing rate by temporal average.
If the same experiment is repeated several times, the measured spike count varies between one trial and the next. Let us denote the spike count in trial by the variable , its mean by and deviations from the mean as . Variability of the spike count measure is characterized by the Fano Factor, defined as the variance of the spike count divided by its mean
| (7.2) |
In experiments, the mean and variance are estimated by averaging over trials and $\langle(\Delta n^{\rm sp})^{2}\rangle=(1/K)\sum_{k=1}^{K},(\Delta n^{\rm sp}_% {k})^{2}$.
If we find on average spikes in a long temporal window of duration , the mean interval between two subsequent spikes is . Indeed, using the notion of interspike-interval distribution to be introduced below (Section 7.3), we can make the following statement: the firing rate defined here as spike count divided by the measurement time is identical to the inverse of the mean interspike interval. We will come back to interspike intervals in Section 7.3.
It is tempting, but misleading, to consider the inverse interspike interval as a ’momentary firing rate’: if a first spike occurs at time and the next one at time , we could artificially assign a variable for all times . However, the temporal average of over a much longer time is not the same as a the mean rate defined here as spike count divided by , simply because $1/\langle x\rangle\neq\langle(1/x)\rangle$. A practical definition of ’instantaneous firing rate’ will be given below in Section 7.2.2.
Example: Homogeneous Poisson Process
If the rate is defined via a spike count over a time window of duration , the exact firing time of a spike does not matter. It is therefore tempting to describe spiking as a Poisson process where spikes occur independently and stochastically with a constant rate .
Let us divide the duration (say 500ms) into a large number of short segments (say ms). In a homogeneous Poisson process, the probability to find a spike in a short segment of duration is
| (7.3) |
In other words, spike events are independent of each other and occur with a constant rate (also called stochastic intensity) defined as
| (7.4) |
The expected number of spikes to occur in the measurement interval is therefore
| (7.5) |
so that the experimental procedure of (i) counting spikes over a time and (ii) dividing by gives an empirical estimate of the rate of the Poisson process.
For a Poisson process, the Fano factor is exactly one. Therefore, measuring the Fano factor is a powerful test so as to find out whether neuronal firing is Poisson-like; see the discussion in Rieke et al. (436).
7.2.2 Rate as a Spike Density and the Peri-Stimulus-Time Histogram
An experimenter records from a neuron while stimulating with some input sequence. The same stimulation sequence is repeated several times and the neuronal response is reported in a Peri-Stimulus-Time Histogram (PSTH) with bin width ; see Fig. 7.7. The time is measured with respect to the start of the stimulation sequence and defines the time bin for generating the histogram, it is typically on the order of milliseconds.
The number of occurrences of spikes summed over all repetitions of the experiment divided by the number of repetitions is a measure of the typical activity of the neuron between time and . A further division by the interval length yields the spike density
| (7.6) |
Sometimes the result is smoothed to get a continuous (time-dependent) rate variable, usually reported in units of Hz. As an experimental procedure, the PSTH measure is a useful method to evaluate neuronal activity, in particular in the case of time-dependent stimuli; see Fig. 7.4. We call it the time-dependent firing rate.
Fig. 7.7: The Peri-Stimulus-Time Histogram (PSTH) and the time-dependent firing rate as an average over several runs of the experiment.
In order to see the relation of Eq. 7.6 to a time-dependent firing rate, we recall that spikes are formal events characterized by their firing time where counts the spikes. In Chapter 1 we have defined (Eq. (1.14)) the spike train as a sum of -functions:
| (7.7) |
If each stimulation can be considered as an independent sample from the identical stochastic process, we can define an instantaneous firing rate as an expectation over trials
| (7.8) |
An expectation value over -functions may look weird to the reader not used to seeing such mathematical objects. Let us therefore consider the experimental procedure to estimate the expectation value. First, in each trial , we count the number of spikes that occur in a short time interval by integrating the spike train over time, where the lower index denotes the trial number. Note that integration removes the -function. Obviously, if the time bin is small enough we will find at most one spike so that is either zero or one. Second, we average over the trials and divide by in order to have the empirical estimate
| (7.9) |
The PSTH, defined as spike count per time bin averaged over several trials and divided by the bin length (the right-hand side of Eq. (7.9)), provides therefore an empirical estimate of the instantaneous firing rate (the left-hand side).
| A | B |
|---|---|
![]() | ![]() |
Fig. 7.8: A. A postsynaptic neuron receives spike input from the population with activity . B. The population activity is defined as the fraction of neurons that are active in a short interval divided by .
Example: Inhomogeneous Poisson process
An inhomogeneous Poisson process can be used to describe the spike density measured in a PSTH. In an inhomogeneous Poisson process, spike events are independent of each other and occur with an instantaneous firing rate
| (7.10) |
Therefore, the probability to find a spike in a short segment of duration , say, a time bin of 1ms, is . More generally, the expected number of spikes in an interval of finite duration is and the Fano factor is one, as was the case for the homogeneous Poisson process.
Once we have measured a PSTH, we can always find an inhomogeneous Poisson process which reproduces the PSTH. However, this does not imply that neuronal firing is Poisson-like. A Poisson process has, for example, the tendency to generate spikes with very short interspike intervals, which cannot occur for real neurons because of refractoriness.
7.2.3 Rate as a Population Activity (Average over Several Neurons)
The number of neurons in the brain is huge. Often many neurons have similar properties and respond to the same stimuli. For example, neurons in the primary visual cortex of cats and monkeys are arranged in columns of cells with similar properties (230). Let us idealize the situation and consider a population of neurons with identical properties. In particular, all neurons in the population should have the same pattern of input and output connections. The spikes of the neurons in a population are sent off to another population . In our idealized picture, each neuron in population receives input from all neurons in population . The relevant quantity, from the point of view of the receiving neuron, is the proportion of active neurons in the presynaptic population ; see Fig. 7.8A. Formally, we define the population activity
| $A(t)={1\over\Delta t}{n_{\rm act}(t;t+\Delta t)\over N}={1\over\Delta t}{\int_% | |||
| {t}^{t+\Delta t}\sum_{j}\sum_{f},\delta(t-t_{j}^{(f)}),{\text{d}}t\over N}$ | (7.11) |
where is the size of the population, is the number of spikes (summed over all neurons in the population) that occur between and where is a small time interval; see Fig. 7.8. Eq. (7.11) defines a variable with units inverse time – in other words, a rate.
As we can see from Fig. 7.5C, the population activity may vary rapidly and can reflect changes in the stimulus conditions nearly instantaneously. Before we discuss the problem of neural coding (Section 7.6), let us first study further statistical measures of spike train statistics.







