Click or drag to resize

MAModel Class

Implementation of autoregressive (MA) model. http://en.wikipedia.org/wiki/Autoregression
Inheritance Hierarchy
SystemObject
  FinMath.Statistics.ForecastMAModel

Namespace:  FinMath.Statistics.Forecast
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
[SerializableAttribute]
public class MAModel

The MAModel type exposes the following members.

Constructors
  NameDescription
Public methodMAModel
Creates an MAModel object with specified order, infinite autoupdate period and infinite maximum observations number.
Top
Properties
  NameDescription
Public propertyCoefficients
Estimated coefficients of MA model.
Public propertyForecast
Expectation of the next value.
Public propertyMaximumObservationsNumber
Maximum number of values to be considered for estimation of model coefficients. Exceeding this limit implies forgetting corresponding number of the oldest values.
Public propertyMeanSquaredError
The prediction variance: an estimate of the portion of the variance of the time series that is not explained by the autoregressive model.
Public propertyObservationsNumber
Actual number of observations contained in the object.
Public propertyStatus
The result of the last estimation.
Top
Methods
  NameDescription
Public methodAddObservation
Adds new value to be considered.
Public methodAddObservations(Double)
Adds new values to be considered.
Public methodAddObservations(Vector)
Adds new values to be considered.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEstimate
Enforces estimation of coefficients.
Public methodForecastMultiple(Int32)
Computes expectations of several following values.
Public methodForecastMultiple(Vector)
Computes expectations of several following values.
Public methodForgetObservations
Excludes specified number of the oldest values from consideration.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObservation
Gives the provided observation.
Public methodGetObservations(Int32)
Gives specified number of the latest provided observations. Observations are 0-based where the latest has index 0.
Public methodGetObservations(Vector)
Fills specified vector by the latest provided observations. Observations are 0-based where the latest has index 0.
Public methodGetResidual
Gives the difference between the observed value and the estimated function value. http://en.wikipedia.org/wiki/Errors_and_residuals_in_statistics
Public methodGetResiduals(Int32)
Gives differences between the observed values and the estimated function values for specified number of the latest observations. http://en.wikipedia.org/wiki/Errors_and_residuals_in_statistics
Public methodGetResiduals(Vector)
Fills specified vector by differences between the observed values and the estimated function values for latest observations. http://en.wikipedia.org/wiki/Errors_and_residuals_in_statistics
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also