MathPHP\Statistics\EffectSize::partialEtaSquared PHP Method

partialEtaSquared() public static method

https://en.wikipedia.org/wiki/Effect_size#Eta-squared_.28.CE.B72.29 SSt η²p = --------- SSt + SSE where: SSt = sum of squares treatment SSE = sum of squares error
public static partialEtaSquared ( $SSt, number $SSE ) : number
$SSE number Sum of squares error
return number
    public static function partialEtaSquared($SSt, $SSE)
    {
        return $SSt / ($SSt + $SSE);
    }