F.logwt: F logwt

F.logwtR Documentation

F logwt

Description

Internal function used in joint approach to group-analysis for combining across models

Usage

F.logwt(theta, spde, mu_theta, Q_theta, nN)

Arguments

theta

A vector of hyperparameter values at which to compute the posterior log density

spde

A SPDE object from inla.spde2.matern() function, determines prior precision matrix

mu_theta

Posterior mean from combined subject-level models.

Q_theta

Posterior precision matrix from combined subject-level models.

nN

Number of subjects

Value

The prior density

INLA Requirement

This function requires the INLA package, which is not a CRAN package. See https://www.r-inla.org/download-install for easy installation instructions.


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