loglik_gda | R Documentation |
loglik = new(loglik_gda, om, terms, y, x)
This is a standard model which has the form
y = \langle φ(x), θ \rangle + δ(x) + \varepsilon, δ(x) \sim N(0, λ g(x)), \varepsilon \sim N(0,σ^2)
where φ(x) is the basis, θ is the coefficient vector,
δ(x) is unseen vector corresponding to unmodeled
variance λ g(x), \varepsilon is an unseen noise vector.
The parameter vector is of length 2 where
σ= exp(para[0])
and λ=exp(2*para[1])
.
om |
an |
terms |
a matrix of |
y |
a vector of observations |
x |
a matrix of predictors, must have as many columns as dims in
|
no returns, this is a class which contains methods
base class: lpdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.