【LinRegIntercept_a】
[code]Inputs: IndArray[Xsize](NumericArrayRef), DepArray[Ysize](NumericArrayRef), VArraySize(Numeric);Variables: var0(0);
var0 = LinRegSlope_a(IndArray, DepArray, VArraySize);
If var0 <> 0 Then
LinRegIntercept_a = Average_a(DepArray, VArraySize) - (var0 * Average_a(IndArray, VArraySize))
Else
LinRegIntercept_a = 0;
[/code]
页:
[1]