This work shows an example of the application of Bayesian dynamic linear models in fMRI analysis. Estimating the error variances of such a model, we are able to obtain samples from the posterior distribution of the signal-to-noise ratio for each voxel, which is used as a criterion for the detection of brain activity. The benefits of this approach are: (i) the reduced number of parameters, (ii) the model makes no assumptions about the stimulation paradigm, (iii) an interpretable model based approach, and (iv) flexibility. The performance of the proposed method is shown by simulations and further results are presented on the application of the model for the analysis of a real fMRI data set, in order to illustrate some practical issues and to compare with previously proposed techniques. The results obtained demonstrate the ability of the model to detect brain activity, even when the stimulus paradigm is unknown, constituting an alternative to data driven approaches when dealing with resting-state fMRI. 
Brain activity detection by estimating the signal-to-noise ratio of fMRI time series using dynamic linear models