natural2parameters {TruncExpFam} | R Documentation |
Convert natural parameters to distribution parameters
Description
Convert natural parameters to distribution parameters
Usage
natural2parameters(eta, ...)
Arguments
eta |
vector of natural parameters |
... |
other arguments passed to methods |
Value
A vector of the original distribution parameters
See Also
Examples
samp <- rtrunc(n = 100, lambda = 2, family = "Poisson")
lambda_hat <- empiricalParameters(samp)
eta_hat <- parameters2natural(lambda_hat)
natural2parameters(eta_hat) # yields back lambda
[Package TruncExpFam version 1.1.1 Index]