Enumerates the possible actions to be taken when a calculation encounters
a missing value.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Enumeration MissingValueAction |
| C# |
|---|
public enum MissingValueAction |
| C++ |
|---|
public enum class MissingValueAction |
Members
| Member | Description |
|---|---|
| Default |
Use the default action, Discard.
|
| Discard |
The value or row containing the missing value is discarded. This is the default.
|
| Ignore |
The value is ignored. Most operations on numerical variables will give NaN
as a result.
|
| ReplaceWithPrevious |
Any missing values are replaced with the value of the previous observation. If the first observation is missing,
it is replaced with 0.
|
| ReplaceWithNext |
Any missing values are replaced with the value of the next observation. If the last observation is missing,
it is replaced with 0.
|
| ReplaceWithValue |
Any missing values are replaced with the user-specified value.
|
| Fail |
A MissingValueException is thrown.
|