Log-likelihood Given Deep Parameters
ll_theta.Rd
See
ll_FUN().
The template template is filled with the deep parameters in th.
Subsequently, the S3 method ll() is called for the class provided in the template
and the value of the scaled log-likelihood function is returned, see ll().
Arguments
- th
Vector of deep parameter
- template
A model template, see model structures.
- y
Data sample given as \((N,m)\) dimensional matrix, or a "time series" object (in the sense that
as.matrix(y)should return an \((N,m)\)-dimensional numeric matrix). Missing values (NA,NaNandInf) are not supported.- which
(character) which likelihood to compute.
- ...
Not used.