public final class BaseloadRegressionComponent 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 |
BaseloadRegressionComponent.Builder
A builder class for creating immutable
BaseloadRegressionComponent objects e.g. for testing
purposes. |
Modifier and Type | Method and Description |
---|---|
boolean |
multiplyByNumberOfDays()
Returns
true if the baseload coefficient() is a per-day value that should be multiplied by the number
of days covered by the period in question; or false if the
coefficient is such that it will only work for periods of the same length
used in the InputData . |
java.lang.String |
toString()
Returns a non-null, non-empty string representation of this object for logging and debugging purposes.
|
coefficient, coefficientPValue, coefficientStandardError, equals, hashCode
public boolean multiplyByNumberOfDays()
true
if the baseload coefficient()
is a per-day value that should be multiplied by the number
of days covered by the period in question; or false
if the
coefficient is such that it will only work for periods of the same length
used in the InputData
.
For the baseload component this will always return true
unless you ran regressions with DayNormalization.NONE
.
The notes on day normalization for our online regression tool have example regression equations that should help make this clearer.
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.