MathPHP\Statistics\Regression\Methods\LeastSquares::sumOfSquaresTotal PHP 메소드

sumOfSquaresTotal() 공개 메소드

the sum, over all observations, of the squared differences of each observation from the overall mean. https://en.wikipedia.org/wiki/Total_sum_of_squares For Simple Linear Regression SStot = ∑(yᵢ - ȳ)² For Regression through a point SStot = ∑yᵢ²
public sumOfSquaresTotal ( ) : number
리턴 number
    public function sumOfSquaresTotal()
    {
        return $this->sumOfSquaresResidual() + $this->sumOfSquaresRegression();
    }