ftr_log_likelihood: Obtain the log-likelihood for the tensor regression linear...

View source: R/906_ftr_functions.R

ftr_log_likelihoodR Documentation

Obtain the log-likelihood for the tensor regression linear model

Description

Obtain the log-likelihood for the tensor regression linear model

Usage

ftr_log_likelihood(input, B, gam)

Arguments

input

An object of class TR_data that contains (at least) the elements y (a vector of response values) and X (an array of covariate values). Optionally, eta (a matrix of nuisance covariates) can also be included. Other list elements will be ignored.

B

tensor coefficient

gam

vector coefficients

Value

scalar


danieladamspencer/bayestensorreg documentation built on July 23, 2024, 10:14 a.m.