ocmath_para_exp_fixed


Description

Estimate parameters for Exponential Distribution’s fixed cases

Syntax

int ocmath_para_exp_fixed( int iSize, const double * pData, double alpha, double theta, double * pReserved = NULL, double * pSE = NULL, double * pCI = NULL, double * pAD = NULL, double * pPval = NULL, int nPercents = 0, const double * pPercents = NULL, double * pPercentiles = NULL, double * pLower = NULL, double * pUpper = NULL )

Parameters

iSize
[input]input data size
pData
[input]input data
alpha
[input]alpha
theta
[input]theta
pReserved
[input]not in use, reserved
pSE
[output]Standard error of mean
pCI
[output]confidence interval
pAD
[output]Anderson-Darling statistic
pPval
[output]P-value
nPercents
[input]number of Percents
pPercents
[input] Percents
pPercentiles
[output] Percentiles
pLower
[output] lower confidence
pUpper
[output] upper confidence

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