objective | R Documentation |
Calculate the log likelihood for the full dataset given a set of parameters.
objective(beta, x, y, ID, inner, outer, likelihood_function, weights)
beta |
The parameter vector |
x |
covariate matrix |
y |
observation vector. |
ID |
The column to use as the group ID column. Unquoted value. |
inner |
A character defining the inner link function. |
outer |
A character defining the outer link function. |
likelihood_function |
The likelihood (error) function given as a function such as dnorm. |
weights |
Which column to use as within group weights such as population or time. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.