jbrezniczky - 2015-02-17

Hello,

I hope I'm posting at the right location.

This is from the LinReg16 routine (StStat.pas):

{check for zero variance}
if (sxx <= 0.0) or (syy <= 0.0) then
RaiseStatError(stscStatBadData);

It seems the second check with regard to syy is too strict, equality should not be a problem as the samples can be simply estimated in that case as a constant function (horizontal line).

Thanks,

Janos

 

Last edit: jbrezniczky 2015-02-17