ocmath_logistic_AD_test


Description

Log-Logistic AD test

Syntax

int ocmath_logistic_AD_test( int iSize, const double * pData, const double * pPara, double * pAD, double * pPval, BOOL * pbFromTable, const double * pFixedPara = NULL)

Parameters

iSize
[input]input data size
pData
[input]input data
pPara
[input]{mu(location), s(scale)}
pAD
[output] Anderson-Darling statistic
pPval
[output] P value
pbFromTable
[input] if bFromTable is true,dPval is calculated by interpolating the table. The table has p values in the range [0.005, 0.25]. In this case, dPval in the range [0.005, 0.25] is valid. But dPval >0.25 or <0.005 is computed by extrapolation, which doesn't have any meanning. Minitab only shows "P >0.25" or "P<0.005". If bFromTable is false, dPval is valid.
pFixedPara
[input] if NULL, no parameters fixed. Otherwise, vFixedPara has size equal to the number parameters. vPara[i] is fixed at vFixedPara[i] if vFixedPara[i] is not a missing value. Fixing mu only is NOT allowed.

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