make_Q: Make the full SPDE precision based on theta, the spde, and...

View source: R/EM_utils.R

make_QR Documentation

Make the full SPDE precision based on theta, the spde, and the number of sessions

Description

Make the full SPDE precision based on theta, the spde, and the number of sessions

Usage

make_Q(theta, spde, n_sess)

Arguments

theta

the hyperparameter theta vector of length K * 2 + 1, where the first K elements are the kappas, the next K elements are the phis, and the last element (unused here) corresponds to sigma2

spde

a list containing three spde elements: Cmat, Gmat, and GtCinvG

n_sess

The integer number of sessions

Value

An SPDE prior matrix


BayesfMRI documentation built on April 4, 2025, 1:58 a.m.