gaussian.loglik.alpha {FBMS} | R Documentation |
Log likelihood function for gaussian regression for alpha calculation This function is just the bare likelihood function Note that it only gives a proportional value and is equivalent to least squares
Description
Log likelihood function for gaussian regression for alpha calculation This function is just the bare likelihood function Note that it only gives a proportional value and is equivalent to least squares
Usage
gaussian.loglik.alpha(a, data, mu_func)
Arguments
a |
A vector of the alphas to be used |
data |
The data to be used for calculation |
mu_func |
The function linking the mean to the covariates, as a string with the alphas as a[i]. |
Value
A numeric with the log likelihood.
Examples
gaussian.loglik.alpha(1, matrix(rnorm(100), 50), "a * data[, 2]")
[Package FBMS version 1.0 Index]