logLik.riley | R Documentation |
This function provides the (restricted) log-likelihood of a fitted model.
## S3 method for class 'riley' logLik(object, ...)
object |
A |
... |
Additional arguments to be passed on to other functions, currently ignored. |
Returns an object of class logLik
. This is the (restricted) log-likelihood of the model represented
by object
evaluated at the estimated coefficients. It contains at least one attribute,
"df
" (degrees of freedom), giving the number of (estimated) parameters in the model.
Thomas Debray <thomas.debray@gmail.com>
Riley RD, Thompson JR, Abrams KR. An alternative model for bivariate random-effects meta-analysis when the within-study correlations are unknown. Biostatistics 2008; 9: 172–186.
data(Daniels) fit <- riley(Daniels,control=list(maxit=10000)) logLik(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.