apaOLS.SST(Y)
Excel
=apaOLS.SST(Y)Result
Calculates the sum of squares total (SST), i.e. the sum of squared deviations of the Y values from the mean of Y.
Syntax
Y: nRows x nCols matrix of the Y variables. If there is more than one Y variable, gives results for all Y_i with the same X.
Related functions
apaOLS.FittedReturns the fitted Y values of an OLS regression.apaOLS.BetasReturns the ordinary least squares (OLS) regression coefficients (betas).apaOLS.Betas.ConfidenceIntervalsReturns confidence intervals for the OLS regression coefficients (betas) based on resampling.apaOLS.ForwardStagewisePerforms an incremental forward stagewise linear regression for nSteps steps and returns the coefficient path: a matrix of nSteps rows and 2 + columns(X) columns.apaOLS.kFoldPerforms a k-fold OLS estimation.apaOLS.Betas.EvaluationReturns the standard errors, t-values, two-sided critical t-values and two-sided p-values of the OLS regression coefficients.apaOLS.Betas.CriticalValueReturns the two-sided critical t-values of the OLS regression coefficients.apaOLS.Betas.tValueReturns the t-values of the OLS regression coefficients.apaOLS.Betas.pValueReturns the two-sided p-values of the OLS regression coefficients (null hypothesis: coefficient = 0).apaOLS.Betas.StandardErrorReturns the standard errors of the OLS regression coefficients.apaOLS.FtestPerforms an F-test of the regression model.apaOLS.R2Returns the R-squared of an OLS regression.apaOLS.R2.ConfidenceIntervalsReturns resampled confidence intervals for the R-squared of an OLS regression.apaOLS.R2.AdjustedReturns the R-squared of an OLS regression, adjusted for the number of variables.apaOLS.Ridge.BetasEstimates the betas of a linear ridge regression.apaOLS.Ridge.kFoldPerforms a k-fold linear ridge regression estimation.apaOLS.ResidualsReturns the residuals of an OLS regression.apaOLS.SSECalculates the sum of squares error (SSE), i.e. the sum of squared deviations of the fitted Y values from the observed Y values.apaOLS.SSRCalculates the sum of squares regression (SSR), i.e. the sum of squared deviations of the fitted Y values from the mean of Y.apaOLS.StepwisePerforms a forward stepwise linear regression with an intercept and returns the full selection path: a matrix with columns(X) rows and 2 x columns(X) + 4 columns, one row per step.
