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
leverages
MathPHP\Statistics\Regression\Methods\LeastSquares::leverages PHP Method
LeastSquares Trait Documentation
Mostrar archivo
Open project: markrogoyski/math-php
leverages()
public
method
https://en.wikipedia.org/wiki/Leverage_(statistics) Leverage score for the i-th data unit is defined as: hᵢᵢ = [H]ᵢᵢ which is the i-th diagonal element of the project matrix H, where H = X⟮XᵀX⟯⁻¹Xᵀ where X is the design matrix.
public
leverages
( ) :
array
return
array
public function leverages() : array { return $this->reg_P->getDiagonalElements(); }
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