MathPHP\Statistics\Regression\Methods\LeastSquares::tValues PHP Метод

tValues() публичный Метод

β t = ----- se(β) where: β = regression parameter (coefficient) se(β) = standard error of the regression parameter (coefficient)
public tValues ( ) : array
Результат array [m => t, b => t]
    public function tValues() : array
    {
        $se = $this->standardErrors();
        $m = $this->parameters[1];
        $b = $this->parameters[0];
        return ['m' => $m / $se['m'], 'b' => $b / $se['b']];
    }