Assembly: Ms;
Namespace: Prognoz.Platform.Interop.Ms;
The IMsCustomTerm interface is used to work with time and dummy variables.
IMsCustomTerm
A time variable is a variable, which values increase by one with each subsequent observation: 1, 2, 3, 4, and so on.
A dummy is a variable, each observation of which takes the values 0 or 1.
Dummy variables can be used in series and pointwise calculation modes. In pointwise mode, a dummy variable returns value at the current calculation point; in series mode it returns the ITimeSeries object containing values for the entire period.
Dummy variables can be used both in modeling method expressions, and in expressions IMsCompositeFormulaTerm.
Method name | Brief description | |
The IsPeriod method returns dummy variable that determines whether the observation hits the specified period. | ||
The NoDate method is used to mark start or end date of model sample period. | ||
The SameDate method returns start period date for the IsPeriod dummy variable. | ||
The Seas method returns a dummy variable, each element of which determines whether the observation belongs to the specified period in the current year. The year is divided in accordance with series calendar frequency. | ||
The Time method returns a time series, which value increases by 1 for each successive observation. |
See also: