powered by
Log likelihood function for gaussian regression with a prior p(m)=r*sum(total_width).
gaussian.loglik(y, x, model, complex, params)
A list with the log marginal likelihood combined with the log prior (crit) and the posterior mode of the coefficients (coefs).
A vector containing the dependent variable
The matrix containing the precalculated features
The model to estimate as a logical vector
A list of complexity measures for the features
A list of parameters for the log likelihood, supplied by the user
gaussian.loglik(rnorm(100), matrix(rnorm(100)), TRUE, list(oc = 1), NULL)
Run the code above in your browser using DataLab