public final class ExtraRegressionComponent extends RegressionComponent
Instances of this class are immutable. You can safely reuse them and call them from multiple threads at once.
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtraRegressionComponent.Builder
A builder class for creating immutable
ExtraRegressionComponent
objects e.g. for testing purposes. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
multiplyByNumberOfDays()
Returns
true if the coefficient() is
a per-day value that should be multiplied by the number of days covered
by the period in question; false otherwise. |
java.lang.String |
toString()
Returns a non-null, non-empty string representation of this object for logging and debugging purposes.
|
coefficient, coefficientPValue, coefficientStandardError, equals, hashCodepublic boolean multiplyByNumberOfDays()
true if the coefficient() is
a per-day value that should be multiplied by the number of days covered
by the period in question; false otherwise.
This will return true for extra predictors with
PredictorType.AVERAGE, and false for extra
predictors with PredictorType.CUMULATIVE.
public java.lang.String toString()
The exact details of the representation are unspecified and subject to change.
toString in class java.lang.Object
See www.degreedays.net/api/ for more about the Degree Days.net API.
You can sign up for a Degree Days.net API account and read the integration guide that is useful and applicable whether you are using Java or not.