Regression Class |
The Regression type exposes the following members.
Name | Description | |
---|---|---|
AdjustedRSquared | Gets the adjusted-R-squared value for this Regression. | |
Baseload | Gets the non-null BaseloadRegressionComponent object representing the baseload component (b*days) of this Regression. | |
CrossValidatedRSquared | Gets the cross-validated-R-squared value for this Regression. | |
Cvrmse | Gets the CVRMSE of this Regression. | |
ExtraPredictorKeys | Gets the non-null, possibly-empty, immutable set of extra-predictor keys that this Regression has extra components for. | |
HasCoolingDegreeDays | Returns true if this Regression has a cooling-degree-days component (c*CDD); false otherwise. | |
HasHeatingDegreeDays | Returns true if this Regression has a heating-degree-days component (h*HDD); false otherwise. | |
RSquared | Gets the the R-squared value for this Regression. | |
SampleDays | Gets the number of days covered by the sample of data used for this Regression, excluding any gaps between input periods. | |
SampleSize | Gets the number of energy-usage figures used for this Regression. | |
SampleSpan | Returns a DayRange representing the full period covered by the sample (including any gaps) that was used for this Regression. | |
SampleSpanDays | Returns the number of days covered by the sample (including any gaps) that was used for this Regression. | |
Spec | Gets the non-null RegressionSpec specifying the components that this Regression contains, such that an equivalent Regression can be requested in another API request. | |
StandardError | Gets the standard error of this Regression. | |
Tags | Gets the non-null immutable set of RegressionTag items that describe how this Regression came to be included in the response from the API. |
Name | Description | |
---|---|---|
Equals |
Returns true if obj is a Regression
object with identical values for everything apart from the
Tags (which are not considered in the equality test).
(Overrides ObjectEquals(Object)) | |
GetCoolingDegreeDays | Returns the non-null DegreeDaysRegressionComponent object representing the cooling-degree-days component (c*CDD) of this Regression, or throws an InvalidOperationException if no such component exists (check HasCoolingDegreeDays before calling this). | |
GetExtraComponent | Returns the non-null ExtraRegressionComponent object with the specified extraPredictorKey, or throws an InvalidOperationException if no such component exists in this Regression (check HasExtraComponent(String) before calling this). | |
GetHashCode |
Overridden to ensure consistency with Equals.
(Overrides ObjectGetHashCode) | |
GetHeatingDegreeDays | Returns the non-null DegreeDaysRegressionComponent object representing the heating-degree-days component (h*HDD) of this Regression, or throws an InvalidOperationException if no such component exists (check HasHeatingDegreeDays before calling this). | |
HasExtraComponent | Returns true if this Regression has an extra-predictor component with the specified extraPredictorKey; false otherwise. | |
HasTag | Returns true if this Regression contains the specified RegressionTag; false otherwise. | |
ToString |
Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ObjectToString) |
Version | Description |
---|---|
1.4 | This was added in version 1.4. |