Click or drag to resize

RegressionGetExtraComponent Method

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).

Namespace: DegreeDays.Api.Regressions
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public ExtraRegressionComponent GetExtraComponent(
	string extraPredictorKey
)

Parameters

extraPredictorKey  String
The String key that you used to identify the extra predictor in the InputData of your request. Cannot be null.

Return Value

ExtraRegressionComponent
Exceptions
ExceptionCondition
ArgumentNullExceptionextraPredictorKey is null.
InvalidOperationExceptionThis regression does not have an extra-predictor component with the specified extraPredictorKey.
Remarks

Remember that, in the usual case, if you provide extra-predictor data to the API, it will test regressions both with and without each extra predictor, and this will be reflected in the regressions you get back in the response.

See Also