Calculate cumulant function and up to three derivatives for
families known to the package.
Usage
cumulant(theta, fam, deriv = 0, delta)
Arguments
Value
a list containing some of the following components:zeroththe value of the cumulant function at $\theta$.firstthe value of the first derivative at $\theta$, a
vector having the same dimension as $\theta$.secondthe value of the second derivative at $\theta$, a
$d \times d$ matrix if $d$ is the dimension
of $\theta$ or a scalar if $\theta$ is scalar.thirdthe value of the third derivative at $\theta$, a
$d \times d \times d$ array if $d$ is the dimension
of $\theta$ or a scalar if $\theta$ is scalar.
Note
Not intended for use by ordinary users. Provides R interface for testing
to C code called by many other functions in the package.