Learn R Programming

FBMS (version 1.1)

gaussian.loglik.alpha: 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)

Value

A numeric with the log likelihood.

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].

Examples

Run this code
if (FALSE) {
gaussian.loglik.alpha(my_alpha,my_data,my_mu)
}

Run the code above in your browser using DataLab