gaussian.loglik.g | R Documentation |
Log likelihood function for linear regression using Zellners g-prior
gaussian.loglik.g(y, x, model, complex, mlpost_params = NULL)
y |
A vector containing the dependent variable |
x |
The matrix containing the precalculated features |
model |
The model to estimate as a logical vector |
complex |
A list of complexity measures for the features |
mlpost_params |
A list of parameters for the log likelihood, supplied by the user |
A list with the log marginal likelihood combined with the log prior (crit) and the posterior mode of the coefficients (coefs).
gaussian.loglik.g(rnorm(100), matrix(rnorm(100)), TRUE, list(oc=1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.