MathPHP\Statistics\Regression\Regression::yHat PHP Method

yHat() public method

Ŷ (yhat) A list of the predicted values of Y given the regression.
public yHat ( ) : array
return array
    public function yHat()
    {
        return array_map([$this, 'evaluate'], $this->xs);
    }