public class StepwiseRegression.CoefficientTTests extends Object implements Serializable
CoefficientTTests()
contains statistics related to the
student-t test, for each regression coefficient.Modifier and Type | Method and Description |
---|---|
double |
getCoefficient(int index)
Returns the estimate for a coefficient of the independent variable.
|
double |
getPValue(int index)
Returns the p-value for the two-sided test \(H_0 : {
\beta} = 0\) vs.
|
double |
getStandardError(int index)
Returns the estimated standard error for a coefficient estimate.
|
double |
getTStatistic(int index)
Returns the student-t test statistic for testing the
i-th coefficient equal to zero (\({\beta}_{index} = 0
\)).
|
public double getCoefficient(int index)
index
- an int
which specifies the index of the
coefficient whose estimate is to be returned.
index
must be between 1 and the number of
independent variables.double
which contains the estimate for the
coefficient.public double getStandardError(int index)
index
- an int
which specifies the index of the
coefficient whose standard error estimate is to be
returned. index
must be between 1 and
the number of independent variables.double
which contains the estimated standard
error for the coefficient.public double getTStatistic(int index)
index
- an int
which specifies the index of the
coefficient whose t-test statistic is to be
returned. index
must be between 1 and
the number of independent variables.double
which contains the estimated
t-test statistic for the coefficient.public double getPValue(int index)
index
- an int
which specifies the index of the
coefficient whose p-value is to be returned index
must be between 1 and the number of independent variablesdouble
which contains the estimated
p-value for the coefficientCopyright © 2020 Rogue Wave Software. All rights reserved.