Thus, the DoG pRF model (
g(
x,
y)) is defined as a combination of two Gaussians (
g +(
x,
y) and (
g −(
x,
y)):
The next step is to define the stimulus. Assuming that all parts of the stimulus contribute equally to the fMRI response (Engel, Glover, & Wandell,
1997), the stimulus is defined as a binary indicator that marks over time each position of the stimulus in the visual field,
s(
x,
y,
t). Combining the position of the pRF in the visual field with the stimulus positions over time, the response of the pRF,
r(
t), is obtained by calculating the overlap for each Gaussian. We obtain two values of
r(
t),
r +(
t) for the positive Gaussian and
r −(
t) for the negative Gaussian:
The prediction of the time series,
p(
t), is then calculated by convolution of the response of the pRF,
r(
t), with the HRF,
h(
t). Two different predictions of the time series are made: one for the positive Gaussian and one for the negative Gaussian of the pRF. Since the negative BOLD responses exhibit a similar HRF as the positive BOLD response (Shmuel et al.,
2006), the same HRF (
h(
t)) is used for both parts of the pRF:
where * denotes convolution. Assuming there is a linear relationship between the blood oxygenation levels and the MR signal (Birn, Saad, & Bandettini,
2001; Boynton, Engel, Glover, & Heeger,
1996; Hansen, David, & Gallant,
2004), a scaling factor
β (no 1) is used on
p(
t). This scaling factor accounts for the unknown units of the fMRI signal, which in turn represents the amplitude of the pRF.
β 1 is calculated by using a
general linear model (GLM) in which measurement noise,
e, is taken into account as well. The two values for the amplitudes of the Gaussians are calculated using a GLM with two unknown values for
β,
β 1 for the positive amplitude and
β 2 for the negative amplitude:
The optimal parameters of the pRF are estimated by minimizing the RSS:
To compare the performance of the two different models in predicting the fMRI time series, we computed the percentage of variance in the measured fMRI time series that was explained by the prediction (variance explained).