Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
MathPHP
Statistics
Regression
Methods
LeastSquares
getProjectionMatrix
MathPHP\Statistics\Regression\Methods\LeastSquares::getProjectionMatrix PHP Method
LeastSquares Trait Documentation
Mostrar archivo
Open project: markrogoyski/math-php
getProjectionMatrix()
public
method
The diagonal elements of the projection matrix are the leverages. https://en.wikipedia.org/wiki/Projection_matrix H = X⟮XᵀX⟯⁻¹Xᵀ where X is the design matrix
public
getProjectionMatrix
( ) :
Matrix
return
MathPHP\LinearAlgebra\Matrix
public function getProjectionMatrix() : Matrix { return $this->reg_P; }
LeastSquares
CI
DFFITS
FProbability
FStatistic
PI
coefficientOfDetermination
cooksD
correlationCoefficient
createDesignMatrix
degreesOfFreedom
errorSD
getProjectionMatrix
leastSquares
leverages
meanSquareRegression
meanSquareResidual
meanSquareTotal
r
r2
regressionVariance
residuals
standardErrors
sumOfSquaresRegression
sumOfSquaresResidual
sumOfSquaresTotal
tProbability
tValues