[
https://issues.apache.org/jira/browse/MATH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034917#comment-17034917
]
Phil Steitz commented on MATH-1513:
-----------------------------------
Yes, sorry I left out the "Multiple". The coefficient of determination usually
means RSquare, which is available in the main class. Total sum of squares and
residual sum of squares are available in the OLS class itself. df is a simple
computation from the dimensions of the design matrix (X) and whether or not an
intercept is estimated. That would be a nice add. F would also be a nice add.
The data to do the test is available in the OLS class, but the test itself
would require using the F distribution from the distributions package.
> Additional Statistics To be toggled to Display with Linear Regression
> ---------------------------------------------------------------------
>
> Key: MATH-1513
> URL: https://issues.apache.org/jira/browse/MATH-1513
> Project: Commons Math
> Issue Type: Improvement
> Affects Versions: 3.6.1
> Reporter: Fawaz Alhenaki
> Priority: Major
>
> As part of apache.commons.math3.stat.regression does not provide some
> important statistics that are typically associated with linear regression
> calculations (i.e. should be a possible addition to
> OLSMultipleLinearRegression to view these stats).
> I propose adding the following statistics:
> * The standard error values for the coefficients m1,m2,...,mn.
> * The standard error value for the constant b
> * The coefficient of determination
> * The standard error for the y estimate.
> * The F statistic, or the F-observed value.
> * The degrees of freedom
> * The regression sum of squares.
> * The residual sum of squares
>
> Further information about these stats can be found here:
> [https://support.office.com/en-us/article/linest-function-84d7d0d9-6e50-4101-977a-fa7abf772b6d]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)