loglike: Compute log-likelihood for an object of class 'lcdensity'.

Description Usage Arguments Value Author(s) See Also Examples

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

1
loglike(lcd)

Arguments

lcd

an object of class lcdensity

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

logcon

Examples

1
2
3
  x <- matrix(c(0,0.5,0.5,1,1,2,3,3),4,2)
  res <- logcon(x)
  loglike(res)


Search within the logconcens package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.