pw_smooth: Smooth AR coefficients and white noise variance

View source: R/prewhitening.R

pw_smoothR Documentation

Smooth AR coefficients and white noise variance

Description

Smooth AR coefficients and white noise variance

Usage

pw_smooth(spatial, AR, var, FWHM = 5)

Arguments

spatial

See fit_bayesglm internal code.

AR

A Vxp matrix of estimated AR coefficients, where V is the number of vertices and p is the AR model order

var

A vector length V containing the white noise variance estimates from the AR model

FWHM

FWHM parameter for smoothing. Remember that \sigma = \frac{FWHM}{2*sqrt(2*log(2)}. Set to 0 or NULL to not do any smoothing. Default: 5.

Value

Smoothed AR coefficients and residual variance at every vertex


mandymejia/BayesGLMfMRI documentation built on April 12, 2025, 3:41 p.m.