commons-statistics-regression/src/main/java/org/apache/commons/statistics/regression/stored/AbstractRegression.java
/**
     * Calculates the beta standard errors of multiple linear regression in matrix
     * notation by retrieving the diagonal elements from betaVariance, then
     * multiplying by sigma and square rooting each element.
     *
     * @return betas variance as vector
     */
Calculates the beta standard errors of multiple linear regression in matrix
notation by retrieving the diagonal elements from betaVariance, then
multiplying by sigma and square rooting each element.

@return betas variance as vector
Calculates the beta standard errors of multiple linear regression in matrix notation by retrieving the diagonal elements from betaVariance then multiplying by sigma and square rooting each element . @return betas variance as vector
protected StatisticsMatrix calculateBetaStandardErrors() {
        StatisticsMatrix betaVariance = calculateBetaVariance();
        double sigma = calculateRegressionErrorVariance();
        return betaVariance.diag().scale(sigma).elementPower(0.5);
    }
protected StatisticsMatrix calculateBetaStandardErrors ( ) { StatisticsMatrix betaVariance = calculateBetaVariance ( ) ; double sigma = calculateRegressionErrorVariance ( ) ; return betaVariance . diag ( ) . scale ( sigma ) . elementPower ( 0.5 ) ; }
Calculates the beta standard errors of multiple linear regression in matrix
 notation by retrieving the diagonal elements from betaVariance, then
 multiplying by sigma and square rooting each element.
Calculates the beta standard errors of multiple linear regression in matrix notation by retrieving the diagonal elements from betaVariance then multiplying by sigma and square rooting each element .