Returns a Filter that selects all observations greater than the corresponding observation in another variable.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function GreaterThan ( _ variable As CategoricalVariable _ ) As Filter |
| C# |
|---|
public Filter GreaterThan ( CategoricalVariable variable ) |
| C++ |
|---|
public: Filter^ GreaterThan ( CategoricalVariable^ variable ) |
Parameters
- variable (Extreme.Statistics.CategoricalVariable)
- A CategoricalVariable of the same length as the current variable.
Return Value
A Filter that selects all observations greater than the corresponding observation of variable.
Exceptions
| Exception | Condition |
|---|---|
| DimensionMismatchException | The length of variable is not equal to the length of this instance. |
| ArgumentNullException | variable is nullNothingnullptr. |
| InvalidOperationException | The variable's Scale is not ordered. |