GLM_classical {BayesfMRI}R Documentation

Classical GLM

Description

Classical GLM for fit_bayesglm (internal function)

Usage

GLM_classical(
  BOLD,
  design,
  nK2,
  nV_input,
  field_names,
  design_type,
  valid_cols,
  nT,
  do_pw,
  compute_SE = TRUE
)

Arguments

BOLD

BOLD timeseries in vector form (TVx1), result of sparse_and_PW

design

List of large sparse design matrices (each TVxV), one per regressor, result of sparse_and_PW

nK2, nV_input, field_names, design_type

See fit_bayesglm.

valid_cols, nT

See fit_bayesglm.

do_pw

Has prewhitening been performed on the data and design?

compute_SE

Compute SE of model coefficients?

Value

A list of results


[Package BayesfMRI version 0.10.1 Index]