cumulant {aster2} | R Documentation |
Cumulant Functions for Aster Models
Description
Calculate cumulant function and up to three derivatives for families known to the package.
Usage
cumulant(theta, fam, deriv = 0, delta)
Arguments
theta |
canonical parameter value. |
fam |
an object of class |
deriv |
the number of derivatives wanted. Must be nonnegative integer less than or equal to three. |
delta |
direction in which limit is taken. Cumulant
function is for family that is limit of family specified, limit
being for distributions with parameter
|
Value
a list containing some of the following components:
zeroth |
the value of the cumulant function at |
first |
the value of the first derivative at |
second |
the value of the second derivative at |
third |
the value of the third derivative at |
Note
Not intended for use by ordinary users. Provides R interface for testing to C code called by many other functions in the package.
See Also
Examples
cumulant(-0.5, fam.bernoulli(), deriv = 3)
cumulant(-0.5, fam.bernoulli(), deriv = 3, delta = 1)