Returns a Filter that selects all observations that do not lie between the corresponding observations in
two other variables.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function NotBetween ( _ lowerBound As CategoricalVariable, _ upperBound As CategoricalVariable _ ) As Filter |
| C# |
|---|
public Filter NotBetween ( CategoricalVariable lowerBound, CategoricalVariable upperBound ) |
| C++ |
|---|
public: Filter^ NotBetween ( CategoricalVariable^ lowerBound, CategoricalVariable^ upperBound ) |
Parameters
- lowerBound (Extreme.Statistics.CategoricalVariable)
- A CategoricalVariable of the same length as the current variable.
- upperBound (Extreme.Statistics.CategoricalVariable)
- A CategoricalVariable of the same length as the current variable.
Return Value
A Filter that selects all observations that do not lie between the corresponding observations of lowerBound and upperBound.
Exceptions
| Exception | Condition |
|---|---|
| DimensionMismatchException |
The length of lowerBound is not equal to the length of this instance.
-or- The length of upperBound is not equal to the length of this instance. |
| ArgumentNullException | lowerBound is nullNothingnullptr.
-or- upperBound is nullNothingnullptr. |
| InvalidOperationException | The variable's Scale is not ordered. |