Description Usage Arguments Value See Also Examples
print, extract loglikelihood or compute confidence interval for an object of class 'mlePT'.
| 1 2 3 4 5 6 | 
| x | object of class 'mlePT'. | 
| object | object of class 'mlePT'. | 
| digits | integer scalar giving the number of digits to be rounded the solution. | 
| parm | a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered. | 
| level | the confidence level required (default is 0.95). | 
| ... | additional arguments. | 
'logLik' returns the loglikelihood of the selected model.
'confint' returns a matrix (or vector) with columns giving lower and upper confidence limits for each parameter.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # Load and aggregate the 'seizure' database
data(seizure)
aggCounts <- aggregate(x = cbind(seizure$count, seizure$trx), by =
list(seizure$id), FUN = sum)
# Estimate the parameters
mleSeizure <- mlePoissonTweedie(x = aggCounts[,2], a.ini = 0, D.ini =
10)
# Print
mleSeizure
# Extract loglikelihood
logLik(mleSeizure)
# Compute confidence inerval
confint(mleSeizure)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.