Description Usage Arguments Value Examples
View source: R/mle_gamma_lnorm.R
Each observation is assumed to be the product of a Gamma(alpha, beta) and 
Lognormal(mu, sigsq) random variable. Performs maximization via 
nlminb. alpha and beta correspond to the shape and scale 
(not shape and rate) parameters described in GammaDist, 
and mu and sigsq correspond to meanlog and sdlog^2 in 
Lognormal.
| 1 2 | mle_gamma_lnorm(x, gamma_mean1 = FALSE, lnorm_mean1 = TRUE,
  integrate_tol = 1e-08, estimate_var = FALSE, ...)
 | 
| x | Numeric vector. | 
| gamma_mean1 | Whether to use restriction that the Gamma variable is mean-1. | 
| lnorm_mean1 | Whether to use restriction that the lognormal variable is mean-1. | 
| integrate_tol | Numeric value specifying the  | 
| estimate_var | Logical value for whether to return Hessian-based variance-covariance matrix. | 
| ... | Additional arguments to pass to  | 
List containing:
Numeric vector of parameter estimates.
 Variance-covariance matrix (if estimate_var = TRUE).
 Returned nlminb object from maximizing the
log-likelihood function.
Akaike information criterion (AIC).
| 1 2 3 4 5 6 7 8 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.