MAModel Class |
Namespace: FinMath.Statistics.Forecast
[SerializableAttribute] public class MAModel
The MAModel type exposes the following members.
| Name | Description | |
|---|---|---|
| MAModel |
Creates an MAModel object with specified order,
infinite autoupdate period and infinite maximum observations number.
|
| Name | Description | |
|---|---|---|
| Coefficients |
Estimated coefficients of MA model.
| |
| Forecast |
Expectation of the next value.
| |
| MaximumObservationsNumber |
Maximum number of values to be considered for estimation of model coefficients.
Exceeding this limit implies forgetting corresponding number of the oldest values.
| |
| MeanSquaredError |
The prediction variance: an estimate of the portion of the variance of the time series
that is not explained by the autoregressive model.
| |
| ObservationsNumber |
Actual number of observations contained in the object.
| |
| Status |
The result of the last estimation.
|
| Name | Description | |
|---|---|---|
| AddObservation |
Adds new value to be considered.
| |
| AddObservations(Double) |
Adds new values to be considered.
| |
| AddObservations(Vector) |
Adds new values to be considered.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Estimate |
Enforces estimation of coefficients.
| |
| ForecastMultiple(Int32) |
Computes expectations of several following values.
| |
| ForecastMultiple(Vector) |
Computes expectations of several following values.
| |
| ForgetObservations |
Excludes specified number of the oldest values from consideration.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetObservation |
Gives the provided observation.
| |
| GetObservations(Int32) |
Gives specified number of the latest provided observations.
Observations are 0-based where the latest has index 0.
| |
| GetObservations(Vector) |
Fills specified vector by the latest provided observations.
Observations are 0-based where the latest has index 0.
| |
| GetResidual |
Gives the difference between the observed value and the estimated function value.
http://en.wikipedia.org/wiki/Errors_and_residuals_in_statistics
| |
| GetResiduals(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
| |
| GetResiduals(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
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |