dist_ll | R Documentation |
This is generic function for distribution objects. This function calculates the log-likelihood for the current parameters and xmin value.
dist_ll(m)
## S4 method for signature 'conlnorm'
dist_ll(m)
## S4 method for signature 'conexp'
dist_ll(m)
## S4 method for signature 'conpl'
dist_ll(m)
## S4 method for signature 'conweibull'
dist_ll(m)
## S4 method for signature 'disexp'
dist_ll(m)
## S4 method for signature 'dislnorm'
dist_ll(m)
## S4 method for signature 'displ'
dist_ll(m)
## S4 method for signature 'dispois'
dist_ll(m)
m |
a distribution object. |
The log-likelihood
This method does not alter the internal state of the distribution objects.
dist_cdf()
, dist_pdf()
and dist_rand()
##########################################
#Load data and create distribution object#
##########################################
data(moby_sample)
m = displ$new(moby_sample)
m$setXmin(7); m$setPars(2)
##########################################
#Calculate the log-likelihood #
##########################################
dist_ll(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.