evalll {scorematchingad} | R Documentation |
Evaluate a custom log-likelihood function
Description
Evaluates a custom log-likelihood function from customll()
without taping. This is useful to check that the custom log-likelihood is behaving.
To check a tape of the custom log-likelihood use buildsmdtape()
then evaltape()
.
Usage
evalll(ll, u, theta)
Arguments
ll |
A compiled log-likelihood function created by |
u |
A vector of measurements for an individual |
theta |
A vector of parameters |
Value
The value of the log-likelihood at u
with parameters theta
.
[Package scorematchingad version 0.0.67 Index]