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
gaussian.loglik.alpha(a, data, mu_func)
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]. |
A numeric with the log likelihood.
gaussian.loglik.alpha(1, matrix(rnorm(100), 50), "a * data[, 2]")