marginalLikelihood.GaussianNIG: Marginal likelihood of a "GaussianNIG" object
Description
Generate the marginal likelihood of the following model structure:
beta,sigma^2|gamma ~ NIG(gamma)
x|beta,sigma^2,X ~ Gaussian(X
where gamma = (m,V,a,b) is the Normal-Inverse-Gamma(NIG) parameter, "m" is a numeric "location" parameter; "V" is a symmetric positive definite matrix representing the "scale" parameters; "a" and "b" are the "shape" and "rate" parameter of the Inverse Gamma distribution.
The model structure and prior parameters are stored in a "GaussianNIG" object.
Marginal likelihood is the likelihood of x|gamma,X.