public class LinearRegression.CoefficientTTests extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
double |
getCoefficient(int i)
Returns the estimate for a coefficient.
|
double |
getPValue(int i)
Returns the p-value for the two-sided test.
|
double |
getStandardError(int i)
Returns the estimated standard error for a coefficient estimate.
|
double |
getTStatistic(int i)
Returns the t-statistic for the test that the i-th coefficient
is zero.
|
public double getCoefficient(int i)
i
- an int
which specifies the index of the
coefficient whose estimate is to be returned.double
which contains the estimate for the
i-th coefficient.public double getStandardError(int i)
i
- an int
which specifies the index of the
coefficient whose standard error estimate is to be returned.double
which contains the estimated standard
error for the i-th coefficient estimate.public double getTStatistic(int i)
i
- an int
specifying the index of the coefficient
whose standard error estimate is to be returned.double
which contains the estimated standard
error for the i-th coefficient estimate.public double getPValue(int i)
i
- an int
which specifies the index of the
coefficient whose p-value is to be returned.double
which contains the p-value for
the i-th coefficient estimate.Copyright © 2020 Rogue Wave Software. All rights reserved.