loglike {logconcens} | R Documentation |
Compute Log-Likelihood for an Object of Class lcdensity
Description
Compute the (normalized) log-likelihood for an object of class lcdensity
as described in the details section for the function logcon
. The main use of this function is for comparing different results from logcon
based on different (starting) domains.
Usage
loglike(lcd)
Arguments
lcd |
an object of class |
Value
A single numeric value, the (normalized) log-likelihood.
Author(s)
Dominic Schuhmacher dominic.schuhmacher@mathematik.uni-goettingen.de
Kaspar Rufibach kaspar.rufibach@gmail.com
Lutz Duembgen duembgen@stat.unibe.ch
See Also
Examples
x <- matrix(c(0,0.5,0.5,1,1,2,3,3),4,2)
res <- logcon(x)
loglike(res)
[Package logconcens version 0.17-3 Index]