fmri.smooth.Rd
Perform the adaptive weights smoothing procedure
fmri.smooth(spm, hmax = 4, adaptation="aws",
lkern="Gaussian", skern="Plateau", weighted=TRUE,...)
spm | object of class |
---|---|
hmax | maximum bandwidth to smooth |
adaptation | character, type of adaptation. If |
lkern |
|
skern |
|
weighted |
|
... | Further internal arguments for the smoothing algorithm usually not
to be set by the user. Allows e.g. for parameter adjustments by
simulation using our propagation condition. Usefull exceptions
can be used for |
This function performs the smoothing on the Statistical Parametric Map spm.
hmax
is the (maximal) bandwidth used in the last iteration. Choose
adaptation
as "none"
for non adaptive
smoothing. lkern
can be used for specifying the
localization kernel. For comparison with non adaptive methods use
"Gaussian" (hmax times the voxelsize in x-direction will give the FWHM bandwidth in mm),
for better adaptation use "Plateau" or "Triangle"
(default, hmax given in voxel). For lkern="Plateau"
and lkern="Triangle"
thresholds may be inaccurate, due to a violation of
the Gaussian random field assumption under homogeneity. lkern="Plateau"
is expected to provide best results with adaptive smoothing.
skern
can be used for specifying the
kernel for the statistical penalty. "Plateau" is expected to provide the best results,
due to a less random weighting scheme.
The function handles zero variances by assigning a large value (1e20)
to these variances. Smoothing is restricted to voxel with spm$mask
.
object with class attributes "fmrispm" and "fmridata", or "fmrisegment" and "fmridata" for segmentation choice
smoothed parameter estimate
variance of the parameter
maximum bandwidth used
smoothness in resel space. all directions
smoothness in resel space as would be achieved by a Gaussian filter with the same bandwidth. all directions
array of spatial correlations with maximal lags 5, 5, 3 in x,y and z-direction.
vector of bandwidths (in FWHM) corresponding to the spatial correlation within the data.
dimension of the data cube and residuals
ratio of voxel dimensions
ratio of estimated variances for the stimuli given by
vvector
Expected BOLD response for the specified effect
Polzehl, J., Voss, H.U., and Tabelow, K. (2010). Structural Adaptive Segmentation for Statistical Parametric Mapping, NeuroImage, 52:515-523.
Tabelow, K., Polzehl, J., Voss, H.U., and Spokoiny, V. (2006). Analysing fMRI experiments with structure adaptive smoothing procedures, NeuroImage, 33:55-62.
Polzehl, J. and Spokoiny, V. (2006). Propagation-Separation Approach for Local Likelihood Estimation, Probab. Theory Relat. Fields 135:335-362.
Polzehl, J. and Tabelow, K. (2007) fmri: A Package for Analyzing fmri Data, R News, 7:13-17 .
Joerg Polzehl polzehl@wias-berlin.de, Karsten Tabelow tabelow@wias-berlin.de
if (FALSE) fmri.smooth(spm, hmax = 4, lkern = "Gaussian")