ocmath_para_gamma


Description

Estimate parameters for Gamma distribution

Syntax

int ocmath_para_gamma(int iSize, const double * pData, double alpha, double * pPara, double * pCI = NULL, double * pHessian = NULL, double * pdSE = NULL, const double * pdFixed = NULL)

Parameters

iSize
[input]input data size
pData
[input]input data
alpha
[input]alpha value
pPara
[output] {Alpha, Theta}
pCI
[output]confidence interval
pHessian
[output]Hessian
pdSE
[output]Standard error of mean
pdFixed
[input] Fixed parameter value or missing value if not fixed

Return

return 0 on successful exit; if an error or warning has been detected, then it returns the specific error or warning code.

Examples

Remark

See Also

header to Include

origin.h

Reference