2.1.24.5.2.17 ocmath_para_normal


Description

Estimate parameters for Lognormal distribution

Syntax

int ocmath_para_normal(int iSize, const double * pData, double alpha, double * pPara, double * pCI = NULL, double * pHessian = NULL, bool bLog = false, int nDivise = OCMathVDM_DF, double * pdSE = NULL, const double * pdFixed = NULL, double * pLogLikelihood = NULL)

Parameters

iSize
[input]input data size
pData
[input]input data
alpha
[input]alpha value
pPara
[output] {mu, sig}
pCI
[output]confidence interval
pHessian
[output]Hessian
bLog
[input] true to be Log
nDivise
[input] OCMathVDM_DF or OCMathVDM_N
pdSE
[output]Standard error of mean
pdFixed
[input] Fixed parameter value or missing value if not fixed
pLogLikelihood
[output] logLike value

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