powered by
This function computes the marginal likelihood of a Gaussian regression model under different priors.
gaussian_tcch_log_likelihood( y, x, model, complex, mlpost_params = list(r = exp(-0.5), beta_prior = list(type = "intrinsic")) )
A list with elements:
Log marginal likelihood combined with the log prior.
Posterior mode of the coefficients.
A numeric vector containing the dependent variable.
A matrix containing the independent variables, including an intercept column.
A logical vector indicating which variables to include in the model.
A list containing complexity measures for the features.
A list of parameters for the log likelihood, specifying the tuning parameters of beta priors.
gaussian_tcch_log_likelihood(rnorm(100), matrix(rnorm(100)), c(TRUE), list(oc=1))
Run the code above in your browser using DataLab