Click or drag to resize

ExpectedCorrelation Structure

Defines how an extra predictor's figures are expected to correlate with energy usage (whether larger predictor numbers lead to larger or smaller energy usage).
Inheritance Hierarchy
SystemObject
  SystemValueType
    DegreeDays.Api.RegressionsExpectedCorrelation

Namespace: DegreeDays.Api.Regressions
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public struct ExpectedCorrelation : IEquatable<ExpectedCorrelation>

The ExpectedCorrelation type exposes the following members.

Methods
 NameDescription
Public methodEquals(ExpectedCorrelation) Returns true if other represents the same expected correlation; false otherwise.
Public methodEquals(Object) Returns true if obj is the same ExpectedCorrelation as this; false otherwise.
(Overrides ValueTypeEquals(Object))
Public methodGetHashCode Overridden to ensure consistency with Equals.
(Overrides ValueTypeGetHashCode)
Public methodStatic memberGetValues Returns an array of the available ExpectedCorrelation values.
Public methodToString Returns a non-null, non-empty string representation of this item in the format required to specify an ExpectedCorrelation in the request XML ("Positive", "Negative", or "PositiveOrNegative").
(Overrides ValueTypeToString)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(ExpectedCorrelation, ExpectedCorrelation) Determines whether two specified ExpectedCorrelation instances are equal.
Public operatorStatic memberInequality(ExpectedCorrelation, ExpectedCorrelation) Determines whether two specified ExpectedCorrelation instances are not equal.
Top
Fields
 NameDescription
Public fieldStatic memberNegative For an extra predictor expected to have a negative correlation with energy usage i.e. larger extra-predictor figures lead to smaller energy usage.
Public fieldStatic memberPositive For an extra predictor expected to have a positive correlation with energy usage i.e. larger extra-predictor figures lead to larger energy usage.
Public fieldStatic memberPositiveOrNegative For an extra predictor that could be expected to have either a positive or negative correlation with energy usage.
Top
Remarks
This helps the API rank the various regressions it tests, as it will downrank the regressions with extra predictors that correlate with energy usage in an unexpected way.
Thread Safety
Instances of this struct are immutable and safe for use from multiple threads at once. The only values that can exist are those declared here as static readonly fields.
Version History
VersionDescription
1.4 This was added in version 1.4.
See Also